Schedule a Windows server reboot

Just a quick one today as I’m always forgetting how to do this! I occasionally have to schedule server reboots to happen in the middle of the night. This is easily achieved by using the AT command in a command prompt window. The following example will schedule a server reboot for 3AM as a one-off job.

AT 03:00 shutdown /r

If all goes well you should get a message back like “Added a new job with Job ID = 1.” If you get an “access is denied” error then you need to run the console as Administrator. The jobs created this way can be viewed using the Task Scheduler.

task scheduler

Leave a Reply