Windows remote shutdown
May 26, 2008 Windows
Online Tech Tips has an article today about shutting down Windows computers remotely, from the command line. The main use I would have for this is to shutdown or restart computers on which I am logged on using Remote Desktop.
To give you the short of it, open a Command Prompt window (Start -> Run -> “cmd” [Enter]), then type shutdown followed by one of these switches, as required:
-i => GUI interface (see the article for how to use it; it’s not the prompt you get when you click Shutdown in your start menu)
-l => Logoff
-s => Shutdown
-r => Restart
-a => Abort shutdown
-m \\ComputerName => Remote computer shutdown/restart/abort
-t xx => delay xx seconds
Check out the original article for more switches and more information on using remote shutdown. They also show you how to create batch files to automate the process for you.![]()
Tags: command prompt, network, Windows