Thursday, April 19, 2012

How to Do a Remote Shutdown for a PC on a LAN



Open the command prompt. This may be done by clicking on the "Start" button, and selecting "Run".

Type in cmd and press Enter.

Type in shutdown -m \\computername, replacing "computername" with the name of the computer you wish to shutdown or the computers ip address.


·  -r will force a restart, disabling any services or user interaction from interrupting it.
·  -c "comment" will force a comment to appear on the system being shutdown.
·  -t xx will force a timeout for "xx" seconds. For example, -t 60 would perform a shutdown after a 60 second timeout.
·  -a will abort the shutdown
·  A full command example: shutdown -m \\myserver -r -c "This system will shutdown in 60 seconds" -t 60


0 comments:

Post a Comment