Reboot a Windows 2003 Server remotely without remote desktop

Most, if not all system administrators with a Windows 2003 server machine under their control has had the unpleasant experience of needing to reboot a server in the middle of the night or while they are hundreds of miles away from the data center. Every once in awhile, remote desktop may not be desirable or available and the server still needs to be rebooted. I present a method to reboot a Windows 2003 Server remotely without Remote Desktop.

Open a command prompt:

click start, navigate to  run > type cmd.exe and press enter

For this example I will assume the IP address of your server is 192.168.0.1

Create a RPC connection to 192.168.0.1:

net use \\192.168.0.1

You will need to authenticate using an administrator account:

The password or user name is invalid for \\192.168.0.1Enter the user name for ‘192.168.0.1’ : administrator

Enter the password for 192.168.0.1: password

The command completed successfully.

Then if you issue the following command, windows will shutdown and the server will restart (note: -f will force a reboot, you may not need it):

shutdown -r -f -m \\192.168.0.1

This method of rebooting has saved me many late night trips to the datacenter when Remote Desktop acts up.

Have fun!

-Drew

Be Sociable, Share!

Tags:

Leave a Reply

You must be logged in to post a comment.