Windows Server 2016 – Schedule a Reboot

KB ID 0001321 Dtd 17/06/17

Problem

Back in the day we just used the ‘At’ command to schedule a reboot, but starting with Server 2012 that was stopped! If you try it now you will see the following;

At Command Depreciated

The AT command has been depreciated. Please use schtasks.exe instead

Solution

Launch Task Scheduler.

Launch-Task-Sheduler

Create Basic Task.

Shedule a Basic Task

Give the task a name, (and optionally a description) > Next > One time > Next > Enter the date and time for the reboot to occur > Next.

Server 2016 Shedule Reboot

Start a program > Next > Program/Script = PowerShell > Add Arguments = Restart-Computer -Force > Next > Finish.

Server 2012 Shedule Reboot

Related Articles, References, Credits, or External Links

NA

Author: PeteLong

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *