Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Computer Shutdown

Status
Not open for further replies.

drexen1

MIS
Feb 6, 2003
40
0
0
US
How can I use group policy/active directory to automatically shutdown all of the computers in our network at a specific time every night?
 
You dont need to use a 3rd part app and as far as im awear you can use a GP to set a time to turn off a computer, all GP is used for is to set rules/privlages etc on a computer or user.

Make a simple file and create a schedual on your AD or any server for that matter.

Example File..

ShutDownComps.bat
#############################################

shutdown -s -t 00 -m Computername1
shutdown -s -t 00 -m ComputerName2

##############################################

How Shutdown Works.

-s Shutdown the computer
-t xx Set timeout for shutdown to xx seconds
-m \\computername Remote computer to shutdown/restart/abort
 
So, basically you are saying to just create a simple batch file similar to your example file and schedule it to run every night on one of my DCs?
 
Indeed.

PSShutdown has more funcationality as the MS tool, that was the only reason why I suggested it. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top