Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Command Prompt - Windows 11, 10, etc. ► ««« »»»

Using SCHTASK for Programs Autostart in all Windows OS, how to?


Time controlled Autostart of Windows 11, 10, ... etc. programs! In new Windows OS you can use SCHTASK to start programs at a certain time!


 
Content:

1.) ... Using SCHTASK on Windows 11, 10, ...!
2.) ... Important questions and quick answers about using SCHTASK!

1.) Using SCHTASK on Windows 11, 10, ...!

 

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!

(Image-1) Time controlled Autostart of Windows programs!
Time controlled Autostart of Windows programs!

-
▲ Back to the top ▲


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: 

C:\Windows-7>SchTasks /Delete /TN “The Task Name”

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 


See also: ► Changing  Date / Time Command prompt commands, with examples?   
 
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. 

 
►► .... more about SCHTASKS!  
 


2.) Important questions and quick answers about using SCHTASK!


1. How do I use SCHTASK to automatically start programs?

Use the command `SchTasks /Create /SC [frequency] /TN [task name] /TR [program path] /ST [start time]`.

2. What steps are required to start cmd.exe as an administrator?

Right-click on cmd.exe and select "Run as administrator".

3. How can I automatically start Internet Explorer at 10:00 PM?

Use the command `SchTasks /Create /SC ONCE /TN "MyTask" /TR "C:\Program Files\Internet Explorer\iexplore.exe" /ST 22:00`.

4. What do I need to do to automatically start Microsoft WordPad at 10:02 PM?

Use the command `SchTasks /Create /SC ONCE /TN "MyTask2" /TR "C:\Program Files\Windows NT\Accessories\wordpad.exe" /ST 22:02`.

5. How can I list scheduled tasks with SCHTASK?

Enter the command `SchTasks` without any arguments.

6. How do I delete a scheduled task with SCHTASK?

Use the command `SchTasks /Delete /TN "MyTask2"`.

7. How do I start a program at a specific date and time?

Use the command `SchTasks /Create /SC ONCE /TN "MyTask4" /TR "C:\Program Files\Internet Explorer\iexplore.exe" /SD [date] /ST [time]`.

8. How can I start a program every Monday at 9:09 AM?

Use the command `SchTasks /Create /SC WEEKLY /D MO /TN "Task5" /TR "iexplore.exe" /ST 09:09`.

9. How do I use SCHTASK to start a program daily at 9:09 AM?

Use the command `SchTasks /Create /SC DAILY /TN "Task6" /TR "iexplore.exe" /ST 09:09`.

10. What commands are necessary to automatically start programs on Windows 10?

Use the command `SchTasks /Create /SC [frequency] /TN [task name] /TR [program path] /ST [start time]`.

11. Can I use SCHTASK on Windows Server 2019?

Yes, SCHTASK can be used on Windows Server 2019.

12. What SCHTASK commands are needed to start programs on Windows 11?

Use the same commands as for other Windows versions, e.g., `SchTasks /Create /SC [frequency] /TN [task name] /TR [program path] /ST [start time]`.

13. How can I use SCHTASK to schedule programs on Windows 8.1?

Use the command `SchTasks /Create /SC [frequency] /TN [task name] /TR [program path] /ST [start time]`.

14. What does the status "Ready" mean in the output of SCHTASK?

The status "Ready" means that the scheduled task was successfully created and is waiting to be executed.

15. How can I successfully create the scheduled task "MyTask"?

Use the command `SchTasks /Create /SC ONCE /TN "MyTask" /TR "C:\Program Files\Internet Explorer\iexplore.exe" /ST 22:00`.

16. Is there a way to modify scheduled tasks with SCHTASK?

Yes, use the command `SchTasks /Change /TN [task name] /[parameter] [value]`.

17. What are the benefits of using ColorConsole with SCHTASK?

ColorConsole provides a more user-friendly interface and simplifies the management and input of commands.

18. Can I execute SCHTASK commands without administrative rights?

No, most SCHTASK commands require administrative rights.

19. How do I start cmd.exe in administrative mode?

Right-click on cmd.exe and select "Run as administrator".

20. What happens if the scheduled time for a task has already passed?

The task will run at the next scheduled time or immediately if it was a one-time task and the time has already passed.

21. Can I use SCHTASK commands for programs in custom directories?

Yes, specify the full path of the program in the command `SchTasks /Create /TR [program path]`.

22. How do I check if a scheduled task was successfully created?

Enter the command `SchTasks` and check the list of scheduled tasks.

23. What arguments are needed to create a one-time task with SCHTASK?

Use the arguments `/Create /SC ONCE /TN [task name] /TR [program path] /ST [start time]`.

24. How do I schedule a task to run on specific days of the week?

Use the command `SchTasks /Create /SC WEEKLY /D [days] /TN [task name] /TR [program path] /ST [start time]`.

25. What requirements must be met to successfully execute SCHTASK commands?

You must be logged in as an administrator or a member of the Administrators group and run cmd.exe in administrative mode.

FAQ 39: Updated on: 5 June 2024 13:42 Windows
Windows-Console

Viewing shares, sessions and open files, cmd example?


The command prompt on Windows 11, 10, etc. allows you to view / query shared folders and current sessions / open files   Content: 1. Example: View
Windows-Console

Secure File Removal Using the ERASE Command, Examples?


Please use Eraser to delete sensitive data. It can also clean digital SD memory cards of all recoverable data As with Linux, Appels Mac OS and other systems
Windows-Console

Redirect CMD command output to a file, with an example?


Use redirection operators to redirect or save the results of a command prompt in a file on MS Server OS or Windows 11, 10, As with MAC OS and Linux,
Windows-Console

Create multiple guest accounts on Windows 11, 10, 8.1, MS Server with commands?


It is very easy to create multiple guest accounts for guest users under Windows 11 / 10 / 8.1 / 7, or Windows Server by using command lines It is not only
Windows-Console

Check if there is a file path via PowerShell?


The solution is very simple to use a command in PowerShell to check whether a file path or folder path is available The solution is very simple with the test-path command,
Windows-Console

Use batch file to start multiple programs on Windows 11, 10...!


Start several programs at the same time via a batch file in order to save several clicks, is very popular on MS Windows 11, 10, desktop and server operating
Windows-Console

How do I force a logoff via command line, Windows 11, 10, 8.1, .. and MS Server?


The solution is very simple, to force that the logoff is carried out via the command line under Microsoft Windows 11 / 10 / 8.1 / 7 If some programs have

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. Can I start multiple programs at different times with SCHTASK?
  2. How do I schedule a program to start on January 1, 2019, at 1:01 AM?
  3. Is there a graphical tool for managing SCHTASK tasks in Windows?
  4. How do I delete a scheduled task with SCHTASK?
  5. Can I use SCHTASK to start a program every Monday at 9:09 AM?
  6. Can I use SCHTASK commands in a batch file?
  7. How can I save all scheduled tasks to a text file?
  8. How do I use /ST in SCHTASK to set an exact start time?
  9. How do I check if my scheduled task was created successfully?
  10. How do I start programs at specific times with SCHTASK in Windows Server 2022?
  11. How do I set a scheduled task to a specific time in Windows Server 2016?
  12. How do I schedule a task to run weekly at a specific time?
  13. How can I modify an existing scheduled task in Windows?
  14. How can I use SCHTASK in Windows 10 to start a program at 10:00 PM?
  15. Can I start programs with SCHTASK on a remote computer?
  16. Can I use SCHTASK to start a program only once at a specific time?
  17. How do I run SCHTASK as an administrator in cmd.exe?
  18. How can I ensure that a scheduled task runs after a restart?
  19. How do I run SCHTASK in a Windows PowerShell session?
  20. Is there a way to export and import scheduled tasks in Windows?
  21. What commands do I need to enter in cmd.exe to start Internet Explorer at 10:00 PM?
  22. How do I change the start time of an already scheduled task with SCHTASK?
  23. How do I list all scheduled tasks in Windows using SCHTASK?
  24. Can I use SCHTASK to start programs on a Windows Server 2019?
  25. What happens if my computer is off when a scheduled task is supposed to run?
  26. How do I automatically start WordPad at 10:02 PM in Windows 11?
  27. What is the exact command for scheduling program starts in Windows 8.1?
  28. Can I customize the path to a program in SCHTASK?
  29. What is the difference between /SC ONCE and /SC DAILY in SCHTASK?
  30. What does the SCHTASKS command without arguments do in cmd.exe?
  31. Can I schedule tasks for other user accounts with SCHTASK?
  32. Can I schedule a program to start daily at 9:09 AM?
  33. What does the /SC ONCE parameter mean in SCHTASK?
Keywords: windows, 11, 10, server, eleven, console, using, schtask, programs, autostart, time, controlled, start, certain, command, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + WinScan2PDF
  + DontSleep
  + ExperienceIndexOK
  + QuickTextPaste
  + DesktopNoteOK
  + ShortDoorNote
  + AutoHideDesktopIcons
  + BlankAndSecure
  + AlwaysMouseWheel
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► I want to understand the virtual screen? ◄
► Difference between Python and Ruby? ◄
► USB differences: USB 4, USB 3, USB 2.0, ...? ◄
► How to Paste plain text from the clipboard via placeholder? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....