on

How to Shutdown another PC on a LAN? 


Shutdown your friends PC using Ip address on LAN.

NOTE:
The target PC & server/your PC must be in same Domain/Workgroup to work  this to function correctly.
This’ll only work on Microsoft Windows-based Operating systems. Linux & Mac Operating systems will require different terminal commands.


Step 1:- Open the command prompt. by clicking on the “Start” button, and selecting “Run”. and type “cmd” and then “ok”.

Step 2:- Type  ”shutdown -m \\computername” in cmd.
replace “computername” with  Name of the PC which you want to shutdown OR the computer’s IP address.


Step 3:- Select any of these listed command.


-r for force a restart, it will disable any services/user interaction or interrupts.
-c for comment,it will force a comment to visible on the system being shutdown.
-t xx for force  timeout for “xx” seconds. As an example ” -t 60″ , it would perform a shutdown after 60-seconds timeout.
-a to abort the shutdown.
full command example: shutdown -m \\kitchencomp -r -c “This computer will shutdown in 60 seconds” -t 60



Step 4)
Alternative method :
Type “shutdown -i” in command promt or run window.
Click on “Add” tab and type the “Name of the computer/IP address which you want to shutdown. U can select any option which you want that computer to do.
In this method, it’s compulsory  to add a comment.
then press OK.


Done .! Enjoy .!