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

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

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!



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!  
 


FAQ 39: Updated on: 11 July 2022 03: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 The solution is quite simple
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:
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

  + 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
  + CoronaKO
  + MatriX.CoronaKO
  + Find.Same.Images.OK
  + 3D.Benchmark.OK
  + PhotoResizerOK
  + Office.Files.Images
  + Film.Strip.Explorer
  + WinScan2PDF
  + DontSleep
  + PAD-s


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

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.108


► Why a frequency query of the CPUs at all? ◄

► Can the virus 3D game Corona KO also be used in the office? ◄

► TV sleep function with Please Sleep in Don't Sleep? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....