How to Shutdown a Remote Computer From the Command Prompt

by Jim Campbell
computer image by Orlando Florin Rosu from

The Windows networking software structure provides several command line statements that allow administrators to quickly execute functions on a desktop. These command line functions are beneficial when the administrator is away from a server and needs to execute commands on a user's desktop, including the "shutdown" command. The shutdown command allows you to power off or reboot a remote computer on the network.

Step 1

Click the Windows "Start" button and enter "cmd" into the text box. Press the "Enter" key. This opens your Windows command line.

Step 2

Enter "shutdown.exe /?" into the command line and press "Enter." This displays the command's syntax and the options you have such as shut down or reboot the remote computer.

Step 3

Type the following command to shut down the remote computer: shutdown.exe -s -m \\computername -f Replace "computername" with the name of the remote computer. The "s" switch instructs the shutdown utility to power off the machine, and the "f" switch forces any open applications to close.

Enter the remote computer's administrator password. Only administrators can shut down a remote computer, so this is required if you are not logged into the network with an administrator account.


Photo Credits

  • computer image by Orlando Florin Rosu from

About the Author

Jim Campbell has been a computer engineer for over five years. He excels in hardware repair, computer programming and troubleshooting, and software design. He is currently attending Florida Atlantic University, pursuing a master's degree in computer and electrical engineering and fine-tuning his technical writing abilities.

More Articles