How to schedule a Windows server to reboot at a specified time?
It's about a Windows Server 2003 and Windows Server 2008.
Make a scheduled task that runs:
shutdown -r -t 01
For example, if you want the server to restart tonight at 2AM, it can be as simple as this:
at 2:00 shutdown /r /f
What the "AT" command does is automatically create a scheduled task for a certain command. It has a ton of parameters that you can specify to repeat it, but by default it'll just run whatever command you specify at the next instance of whatever time you specify.
If you need to change anything after you issue it, you can just go into Administrative Tools > Scheduled Tasks and modify the task.
I know this doesn't solve your whole problem but for versions of Windows Server since 2008, and in cases where you only need the server to reboot once, you don't need to bother with scheduled tasks. The built in
shutdown command lets you specify a delay in seconds using the the
Eg, to restart in 12 hrs (or 43200 seconds):
shutdown -r -t 43200
Obviously to get a specific time you'll need some simple maths but it's a lot easier than messing around with scheduled tasks.
Try this guide (XP centric but should get you in the right direction)