Tuesday, March 16, 2010
Think of scenario that you are in your bedroom using your computer for about 8 hours and you feel like you want to go to bed and sleep but you still need to go down to shutdown your other computer in the ground floor. One solution is to know this simple trick. But remember that this will only work if you are connected via Local Area Network using Switch or Router Switch to your remote computers.
Here's the flow to follow..
This method below requires you to have an administrator account on the computer that you will perform the shutdown or else you will encounter an error "Access is Denied".
All of the methods below were created using Windows XP. Vista offers the same commands and a few extras, while Windows 2000 has similar commands. If you use 2000, change the “-“ to a “/”.
If you open up a command prompt (Start > Run > Cmd) and type “shutdown” without "", you will see that there are a bundle of arguments you can use with the shutdown command. The -m argument followed by the machine name, and a -r(restart trigger) will shutdown your computer. The best way for me to explain it is through examples.
In the command prompt, try the following:
shutdown -m \\computername -s ---(Using Computer Name)
Lets break it down:
The shutdown command gets the ball rolling
-m \\computername should be the name of the computer you want to shutdown.
-s tells the remote computer to Shutdown.
There are a number of other arguments you can use.
-r tells the remote computer to Restart
-l tells the remote computer to logoff
So now, you can try it! Good Luck!!