Forced accept.
Computer101
EE Admin
Main Topics
Browse All TopicsOur company is using windows 2003 server and active directory. I need to create a script that shuts down all our computers except for the server at 8PM every night. I would like to apply this a group policy for the domain. What is the best way to do this and what script should I use. .I should add I have no skills in writing scripts. Thank you in advance.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I've turned this into an easily editable batch script, the source code is here. If you wish to comment on where I originally posted this, here is the link.
http://bbs.dontassrape.us/
Business Accounts
Answer for Membership
by: sirbountyPosted on 2007-04-10 at 09:28:28ID: 18883541
Have a list of computers? This will do it..
For /f %%a in (C:\Computers.txt) do schtasks /s %%a /create /ru system /sc daily /st 20:00:00 /tn Shutdown /tr "shutdown -s -f -t 10"
It'll loop through all systems setting up a scheduled task to shut them down at 8pm