Time controlled Autostart of Windows 11, 10, ... etc. programs! In new Windows OS you can use SCHTASK to start programs at a certain time!Start the cmd.exe and use the command "SCHTASK" in the combination of the program path to the program to be started! Here are some examples of the time-controlled start of programs on the Windows computer with Windows 11 / 10 / 8.1 / 7. This command can be used with all other Windows operating systems: Server 2019/2016/2012/2008 etc. Start the cmd.exe as an administrator! Hot tip on the at this point: ... ColorConsole!
![]() EXAMPLE 1:
Starting the program at 22:00 today. Here in the example it is the Internet Explorer, which should be started at 22:00 clock!
Info: if it is after 22 o'clock, the program Start is executed the next day!
SchTasks /Create /SC ONCE /TN "The Task Name" /TR "C:\Program Files\Internet Explorer\iexplore.exe" /ST 22:00
SUCCESS: The scheduled task "The Task Name" has successfully been created.
EXAMPLE 2: If you also want to start Microsoft's WordPad at 22:02 2 minutes later : SchTasks /Create /SC ONCE /TN "The Task Name2" /TR "C:\Program Files\Windows NT\Accessories\wordpad.exe" /ST 22:02
SUCCESS: The scheduled task "The Task Name2" has successfully been created. EXAMPLE 3: The listing of the open commands goes through the simple input of "SchTasks" without arguments! C:\>SchTasks
Folder: \
TaskName Next Run Time Status
======================================== ====================== ===============
The Task Name 9/25/2018 22:00:00 AM Ready
The Task Name2 9/23/2018 22:02:00 PM Ready
EXAMPLE 4: Cancle the program Start:
EXAMPLE 5: List again by simply typing SCHTASKS C:\Windows\System32>SchTasks
Ordner: \
TaskName Next Run Time Status
========================================
The Task Name2 9/23/2018 22:02:00 PM Ready
EXAMPLE 6: You want a particular program to start at 01:01 am 01.01.2019 startet! /SD 01/01/2019 <Date /ST 01:01 <Time SchTasks /Create /SC ONCE /TN "The Task 4" /TR "C:\Program Files\Internet Explorer\iexplore.exe" /SD 01/01/2019 /ST 01:01
EXAMPLE 7: You want a particular program to start every Monday at 9:09 SchTasks /Create /SC WEEKLY /D MO /TN "Task 5" /TR "iexplore.exe" /ST 09:09 EXAMPLE 8: You want a particular program to start at 9:09 every day SchTasks /Create /SC WEEKLY /D MON, TUE, WED, THU, FRI, SAT, SUN /TN "Task6" /TR "iexplore.exe" /ST 09:09 Attention: You may need to be logged in as an administrator or as a member of the Administrators group to start programs automatically with this simple example.
Under Windows, you can start the cmd.exe in administrative mode ... see here , or the ColorConsole , this can also be started in administrative mode.
FAQ 39: Updated on: 26 August 2023 10:25 |