SBS2011 (Windows Server 2008 r2) Correct way to Schedule reboot

scheduled-taskwindows-sbs-2011windows-server-2008windows-server-2008-r2

I'm after the correct way to schedule a reboot on an SBS2011/WS2008r2 box.

External support company created a reboot.bat file and added a scheduled task to run it at 6am every Monday morning.

reboot.bat contains:

shutdown -r -f

The batch executes correctly and reboots the server cleanly, yet upon reboot the Server is left with the following screen:

enter image description here

What is the best way to schedule this reboot?

This reboot is to solve performance problems due to running database reports on a Sunday afternoon. I am fully aware about the problems we have by running additional databases on an SBS box (if it were my choice we wouldn't be).

Similar questions, but none answer the Event Tracker problem: 1, 2, 3.

Best Answer

You should provide the /d option to give a reason for the shutdown in advance.

You can get a list of the reasons available to you by running shutdown /? in a terminal. However, given your scenario I'd use shutdown /r /f /d p:4:1 for "Application maintenance (Planned)".