View Single Post
  #1  
Old 2nd April 2012, 05:52
hakova hakova is offline
Junior Member
 
Join Date: Apr 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default How To Remotely Shut Down Windows XP Computers From A Linux Server

I followed this Howto step by step, and I am pretty sure I didn't miss anything. Unfortunately, when I issue the command from the linux box I get a message reading "Shutdown of remote machine succeeded" however nothing happens in the Windows box, not even the message is displayed.

Here are the specifications of the boxes:
  • Dell Optiplex 755, Windows XP SP3
  • Fedora 16 x86_64, samba 1:3.6.3-78.fc16

Code:
$ ping 192.168.1.126
PING 192.168.1.126 (192.168.1.126) 56(84) bytes of data.
64 bytes from 192.168.1.126: icmp_req=1 ttl=128 time=0.134 ms
64 bytes from 192.168.1.126: icmp_req=2 ttl=128 time=0.089 ms

64 bytes from 192.168.1.126: icmp_req=3 ttl=128 time=0.088 ms
64 bytes from 192.168.1.126: icmp_req=4 ttl=128 time=0.089 ms
^C
--- 192.168.1.126 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.088/0.100/0.134/0.019 ms
Code:
$ net rpc SHUTDOWN -C "Being remotely shutdown" -f -I 192.168.1.126 -U mcpc%

Shutdown of remote machine succeeded
Still no joy .
Reply With Quote
Sponsored Links