Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

Thanks

share|improve this question

1 Answer 1

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

 
discard

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.