?
Solved

Can you use group policy to force all XP machines in a domain to shut down at a specified time?

Posted on 2009-12-30
5
Medium Priority
?
184 Views
Last Modified: 2013-11-25
We have an issue with users NEVER shutting down their PC's.  The degredation of companents due to heat as well as the help desk gets constant calls about issues which are related to machines never getting shut down are starting to get irritating.

Is there a way, using group policy to force the machines to shut down at a given time?  If not is there some other way to make this happen?  

I can create a batch file to force shutdown via scheduled tasks but I don;t want to go to 80+ machines, add the batch file and create the schedule for it.
0
Comment
Question by:EKRIN
  • 3
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
Sean Meyer earned 2000 total points
ID: 26145992
I use a batch script to shutdown all my computers for reboots.  You could make this a scheduled task.  Here is an example of the script:

shutdown -r -f -t 0 -m \\UF0002
shutdown -r -f -t 0 -m \\UF0003
shutdown -r -f -t 0 -m \\UF0005
shutdown -r -f -t 0 -m \\UF0006
shutdown -r -f -t 0 -m \\UF0007
shutdown -r -f -t 0 -m \\UF0008
0
 
LVL 9

Expert Comment

by:Sean Meyer
ID: 26146011
You just need to run the above script on one computer which is logged in with domain administrator priviledges.  The  computer name is after the \\computer name
0
 

Author Comment

by:EKRIN
ID: 26146014
OK so I am assuming \\UF0002 etc. are the computer names?  And the bacth script would live on the DC and the scheduled task set onthe DC?
0
 
LVL 9

Expert Comment

by:Sean Meyer
ID: 26146230
The batch script can be on any computer which is logged in with Domain admin rights. Yes the computer name is the \\computerName.
0
 

Author Comment

by:EKRIN
ID: 26155281
Great thanks!  Just what I needed!
0

Featured Post

What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your computer hacked? learn how to detect and delete malware in your PC
Read about the ways of improving workplace communication.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question