Quick Way to Schedule Reboot in Windows

article #467, updated 214 days ago

Run these in an administrative or SYSTEM-level command prompt.

Under 7/2008R2 and before, we can schedule for 4:00 AM tomorrow:

AT 4:00 c:\windows\system32\shutdown.exe -f -r -t 0

and we can schedule for 4:00 AM next Monday:

AT 4:00 /next:Monday c:\windows\system32\shutdown.exe -f -r -t 0

In Windows 8.1/2012R2 and later it’s a bit harder, we have to specify the actual full date in the format below:

schtasks /create /tn "schtasks_REBOOT" /tr "C:\Windows\System32\shutdown.exe -f -r -t 0" /sc once /st 04:00 /sd 01/01/2016 /ru System

8.0 and 2012R1 appear to require a “/Y” on the very end.

Categories:   Tools