You want to restart or shut down a server.
With Windows Server 2003 and Windows 2000 you can obviously shut a machine down by going to Start → Shut Down, but I'll describe the new graphical interface with the shutdown.exe command, which is available in Windows Server 2003.
From the Start menu select Run.
Type cmd.exe and click OK.
In the CMD window, type shutdown /i and hit enter.
Click the Add button, type the names of the server(s) you want to shut down or restart, and click OK.
Select whether you want to restart or shut down the server(s).
Enter the number of seconds to warn logged on users (or uncheck to not warn).
Configure the Shutdown Event Tracker options.
Click OK. In the CMD window, you'll see a status message stating if the operation was successful.
Here is another option that is available from either Windows 2000 or Windows Server 2003:
Open the Computer Management snap-in.
If you want to target a remote system, right-click on the Computer Management icon in the left pane and select Connect to another computer. Enter the computer name beside Another computer and click OK.
Right-click on the Computer Management icon in the left pane and select Properties.
Click the Advanced tab.
Under Startup and recovery, click the Settings button.
Click the Shut Down button.
Select from the list of actions and options under Forced Closed Apps.
The following two commands ...