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

Can anyone suggest a program for shutting down many Windows 7 PCs at set times? I need to shot down over 1000 PCs every night. We have Active Directory and Windows 200 R2 servers.

Thanks John

share|improve this question
I think shutdown command supports remote hosts. I suppose they're all in the same AD domain. – LatinSuD Sep 25 '10 at 22:24

Another option would be to assign a scheduled task to perform the shutdown, via Group Policy:

share|improve this answer

you can use psexec and execute shutdown command.

ps. indeed if computers are in same domain - you dont even need psexec.

share|improve this answer

You could batch script it...

Shutdown /s /t 0 /m \\computer1
Shtudown /s /t 0 /m \\computer2

Then schedule the job to run on one of your DCs, have the job run as a Domain Admin.

share|improve this answer

You want a script which does this for each named machine:

shutdown -s -t 0 -f -m \\machinename

share|improve this answer

Your Answer


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