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

I'm running windows server 2008, and there's a lot of computers in the workplace. I'd like to be able to run shutdown.exe automatically at about 9PM on most of them, with the exception of a few of the administration rooms and the servers themselves. Anyone know how I could do this without having to physically set a scheduled task on each computer by hand?

share|improve this question

You could script this on a server or admin workstation using psshutdown and feed it a list of the desired workstations.

share|improve this answer
Standard shutdown.exe can process remote PCs too (with -m \\COMPUTERNAME option). – Sergey Jan 17 '12 at 13:59

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.