WOL also has business uses for example, rousing machines so that they can have update patches applied. Guy Recommends: SolarWinds Free Wake-On-LAN UtilityĮncouraging computers to sleep when they’re not in use is a great idea – until you are away from your desk and need a file on that remote sleeping machine! Note 3: For once the sequence of switches is vital, hence shutdown /m /s \\Laptop does not work.
Shutdown /r /m \\Laptop – Reboots a remote machine called ‘Laptop Shutdown /s /m \\Laptop – Shuts down, or stops a remote machine called ‘Laptop’ Alternatively, to reboot numerous computers try PowerShell’s command Restart-Computer. See More on Remote Restart in Windows Serverįor testing /m on the local machine, try 127.0.0.1įor example, shutdown /s /m \\127.0.0.1 Such a command is useful in batch files. Note 2: If you substitute /r for /s that would mean ‘Reboot’ and not shutdown. Note 1: There is no space between the backslashes and the computername None of these commands are case sensitive so sHUTDOWN /R /m \\ComputerName would work just as well. Shutdwon -s -m \\ComputerName, in this example, ‘ComputerName’ is the hostname of the remote operating system. If the slashes look slightly strange, you could try The default computername is the local machine, for the ‘Remote’ switch you need /m. Remote Shutdown – Select Your ComputerName To recover from this mistake pay close attention to the syntax of the abort command Shutdown /a. Sooner or later everyone makes the mistake of accidentally shutting down the local machine instead of the target computer that they really wished to reboot. Once you launch the DOS box by typing cmd, your first decision is do you want to shutdown (/s), or reboot (/r) the computer? The shutdown executable is available at the command line in Windows 7, Vista, XP and also the Windows Server family.
#WIN7 COMMAND PROMPT COMMANDS FULL#
Administrators love testing the shutdown command because it has such a dramatic effect – it can down a network computer. Shutdown is an interesting command line program found in Windows 7 and earlier operating systems such as XP.