Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How would i go about logging off or shutting down all of the computers (Windows XP) just in my ICT suite using a script or other method?


share|improve this question
up vote 1 down vote accepted

You can create a batch file to run the dos shutdown command remotely. There is also the psshutdown command within the pstools suite.

It would look something like this:

psshutdown.exe \\comp1 -o
psshutdown.exe \\comp2 -o

Which you can tie into a scheduled task. Look through the command parameters and try it out until your fairly confident the commands will do what you want them to.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.