Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to shutdown remote computer using Java?
Posted
Updated 26-Sep-10 2:37am
v2

 
Share this answer
 
Try shutdown -r -f -m \\xxx.xx.xx.xxx this through the command prompt in Java.
 
Share this answer
 
Comments
Member 12311087 6-Apr-16 13:49pm    
will this work for remote computer connected via LAN
Abhinav S 6-Apr-16 22:44pm    
It worked for me!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900