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
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.
Question by:EKRIN
    LVL 9

    Accepted Solution

    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
    LVL 9

    Expert Comment

    by:Sean Meyer
    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

    Author Comment

    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?
    LVL 9

    Expert Comment

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

    Author Comment

    Great thanks!  Just what I needed!

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Like many organizations, your foray into cloud computing may have started with an ancillary or security service, like email spam and virus protection. For some, the first or second step into the cloud was moving email off-premise. For others, a clou…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now