How to Schedule Windows Server reboot automatically
This blog has detailed how to schedule Windows Server Reboot Automatically . You may want to reboot a Windows Server once a week or month as a matter of routine maintenance. It’s particularly useful too. Say if you want to reboot a server because you installed particular software that you didn’t expect needed a restart, or there are some updates. You cannot really do it unless after hours and you don’t need to hang around and then you would just like it to reboot itself a couple of hours after working hours when everyone left.
1.Select search bar and type Task Scheduler, click on it to open. You can find it by clicking on the Windows start button, expand Windows Administrator Tools, open control panel to select Administrative Tools.
2. Create a new basic task using the Create Task action
3. Type a name to the task. I renamed it Restart Server or (Restart This Server). Type a description Schedule Windows Server for Automatically restart. Click next
4. Since this task is to just restart the server one time (select one time) and then click next
5. Provide it a date and time to restart. Click next
6.Select Start A Program action and then click Next
7.Type shutdown into the Program/Script box and then /r into the Add arguments box. Click Next
8.Click Finish
9.We are almost done if you want this to run if you get logged off and you want to set this up so you can use it again later. In the Task Scheduler right-click on your new task and then select Properties.
10.This will show up on the general settings page. The default settings are “Run only when the user is logged on” switch it to “Run whether the user is logged on or not”. Choose configure to select the Server you want to reboot.
11. Select ok, after typing your administrator password
Changing the Schedule for The Automatic Reboot
So now we have a task that will automatically reboot our Windows server (Computer, PC) one time.
12.Go back to the Task Scheduler Window, right-click on the task and then click Properties. Select the Triggers tab.
13. Select the One Time trigger and then click the Edit button. Change the time and date, click ok and your server/PC/computer will now restart at the new time
Good Luck!