Home » Microsoft » Using Task Scheduler to schedule the computer to shut down and restart at a specific time

task-sedqualer-264x300

  1. Click Start, Run and type control schedtasks
  2. Double-click Add Scheduled Task. The Scheduled Task Wizard starts.
  3. Click Next.
  4. Under Click the program you want Windows to run, click Browse.
  5. In the Select Program to Schedule dialog box, locate the %SystemRoot%System32 folder, locate and click the Shutdown.exe file, and then click Open.
  6. Under Perform this task, specify a name for the task and how frequently you want this task to run, and then click Next.
  7. Under Select the time and day you want this task to start, specify a start time and date for the task, and then click Next.
  8. Type the user name and password to run this task under, and then click Next.
  9. Click to select the Open advanced properties for this task when I click Finish check box, and then click Finish.
  10. Click the Task tab. In the Run box, specify any additional parameters that you want to use with Shutdown.exe. Click OK.

Important: In the 10th step, you need to add the parameters for the Shutdown.exe command.

To immediately shutdown the system (0 second timeout), the command-line would be:
shutdown.exe -s -t 00

To reboot the system immediately, this command:
shutdown.exe -r -t 00

For additional help, type Shutdown /? at the Command Prompt. Scheduling the Shutdown.exe without any parameters will not help. It will just execute with a exit code 0 (success)

Comments

comments

Latest

5 Best Android Spy Apps That You Don’t Want To Miss
BLS – Artie Lange Drama
Apple HomePod Apple HomePod Delay Helps Sonos and Invoke
encryption main The Ultimate Guide To Encryption
phone water Key Tips On What To Do If You Drop Your Device In Water

Tech Geek Today

Tech Geek Today

MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031
       
  12345
6789101112
20212223242526
27282930   
       
      1
9101112131415
16171819202122
23242526272829
3031     
    123
45678910
11121314151617
252627282930 
       
 123456
78910111213
14151617181920
21222324252627
28293031   
       

Subscribe To The Technology Geek

Archives