Navigate to Start -> All Programs -> Accessories -> System Tools -> Scheduled Tasks.
You should now see the Add Scheduled Task Wizard on the Right.
Choose run a program when prompted on what to do... click the Browse button.
By default, the browse button will bring you to the root of the C: drive. Navigate to WINDOWS -> system32 and locate the file named ‘shutdown.exe’. Highlight it, and click Open.
Now, we need to enter a specific command to make the server reboot rather than simply shutdown. Add the following line in the Run field after ‘shutdown.exe’ or in the parameters field:
-r -t 00