Click to See Complete Forum and Search --> : Remote Shutdown


kayedj
09-12-2006, 09:01 PM
Hi there

I administer a network in a school and I would like to force all the pupils to go home at a certain time. I have the following extract from a batch file to shutdown a computer room (25 pc's), all using winXP

shutdown -s -t 90 -m \\BCRX1 -c "Time to go home!"
shutdown -s -t 90 -m \\BCRX2 -c "Time to go home!"
shutdown -s -t 90 -m \\BCRX3 -c "Time to go home!"
shutdown -s -t 90 -m \\BCRX4 -c "Time to go home!"
shutdown -s -t 90 -m \\BCRX5 -c "Time to go home!"
shutdown -s -t 90 -m \\BCRX6 -c "Time to go home!"

etc

the script works fine - to a point.. if one of the computers is already turned off, it will wait for 30secs - 1min to get a reply before moving onto the next one, which is causing delays in running the script. Is there a way to tell it to only wait 3secs for a reply before going on to the next computer?

many thanks

cszeto
09-18-2006, 02:34 AM
Not too many SOHO networks running into this type of functionality/requirement. You might try http://www.enterpriseitplanet.com. They also have a forum too and it is geared at business networks.

You might also contact the publisher of the shutdown utility that you are using for assistance too.