Comments on How To Remotely Shut Down Windows XP Computers From A Linux Server

How To Remotely Shut Down Windows XP Computers From A Linux Server As a budget cutback, our school administrators asked us to shutdown all non-essential classroom computers at night to save electricity. I teach Linux in a classroom that has a Dell Poweredge 2850 Red Hat Enterprise Linux (RHEL5) server and 29 Dell Optiplex 745 student lab computers running Microsoft Windows XP SP3 as the host operating system and VMWare Server to provide virtual Linux machines for our classes. I researched on the Internet for the best solution to remotely shutdown the student lab computers at night. I was not able to find one post or how-to that completely answered my questions, but I was able to piece together a solution. In an effort to document this project and help others with similar needs, here are my notes on the project.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

I use a different approach.

Install cygwin on the Windows machine, together with an ssh server.
Then you can use ssh to shutdown the systems.
Or rsh, rlogin, whatever you prefer.

Cheers,

Christian

By: Naz

What about "shutdown -s -t 00 \\%computername%"

or

 "shutdown -s -t 00 \\*"

I've never used the latter command, though, so my syntax may be off.

 

 

By: R

This is not a remote shutdown. But you may be able to install remotely an app to shutdown computers after certain hour.

By: Anonymous

it's a very good idea to use rpc command... but i would like to comment about firewall disabling ...and most of us know that MS xp has major security issues so i would suggest enabling only rpc port using the firewall settings ....

 

thanx .. ur method shows how felxible and easy things can be with a linux machine

By:

It is good command but when I run this command it take 20 second . I want shutdown system in 1 second 

what I must do ?