Tech on Tour header image 2

Schedule a Windows 2003 Server Restart

July 26th, 2007 by · 2 Comments


While doing a Service Pack Update on Symantec Backup Exec on our main Windows Server 2003 file server I was told that I needed to restart the file server to complete the update. Since this is the file server for our entire office shutting it down in the middle of the day isn’t really an option.

The Scheduler application in Windows Server 2003 allows you to easily schedule tasks, including scheduling a system reboot.

To get to the scheduler you go to the Start Menu / Programs / Accessories / System Tools / Scheduled Tasks. You can then create a new task through the “Add Scheduled Task” wizard.

Below is the command line that I put into the “Run” box after running the wizard:

C:\WINDOWS\system32\shutdown.exe /r /c”Symantec Backup ServicePack Install” /f /d p:4:1

Here is what the individual commands do:

  • /r – reboot
  • /c – comment
  • /f – force apps to close no warning
  • /d – lists reason for restart
  • 4:1 – Application:Maintanance

Source: TechRepublic: Rebooting Windows 2003 Server

Technorati Tags: , ,

Tags: OS & Servers

2 responses so far ↓

  • 1 allan // Nov 5, 2008 at 2:06 pm

    *Nice!*

  • 2 mixail // Jul 21, 2011 at 1:19 pm

    Perfect.
    Thanks

Leave a Comment