Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4795
  • Last Modified:

How to shutdown Win7 network PCs through group policy.

Hi

Our DCs are windows 2012. We have a OU  and within this OU there is sub OU's called
IT room 1
IT room 2
IT room 3
IT room 4
Each of these rooms have 35, Windows 7 PCs.I want to shutdown these network PCs every day at 7PM. Is there away of doing this through the group policy automatically.
Any tutorials as how to do this much appreciated.
Our PCs are quite old , do I need to enable any settings to achieve this.

Thanks in advance.
0
lianne143
Asked:
lianne143
2 Solutions
 
Joshua GrantomSenior EngineerCommented:
You can push out scheduled tasks through group policy that will initiate a shutdown at 7 pm if no users are active

http://www.edugeek.net/blogs/simpsonj/1923-windows-7-shutdown-through-group-policy-preferences.html
0
 
mcsweenSr. Network AdministratorCommented:
I use a scheduled task to reboot computers daily at 7PM under Computer Config/Preferences/Control Panel Settings/Scheduled Tasks.  The one below will shut them down instead.  Also, it won't matter if anyone is logged on, they will get a message to save and if they don't in 2 min they are bounced.

Set to run as NT Authority\System
Triggers - Daily @ 7PM
Actions - Start a program
       -Program/Script: %systemroot%\System32\shutdown.exe
       -Add Arguments: -s -f -t 120 -c "Windows will shutdown in 2 minutes.  Please save your work immediately."
0
 
Joshua GrantomSenior EngineerCommented:
lianne143,

Any luck?
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
lianne143Author Commented:
Sorry Guys , I will try this tomorrow and will post you the results.
0
 
LeeTutorretiredCommented:
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
mcsweenSr. Network AdministratorCommented:
I believe there are 2 perfectly good answers here.  I know the one I posted works because it was taken directly from my Active Directory.  My answer can easily be confirmed here. http://technet.microsoft.com/en-us/library/bb491003.aspx
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Tackle projects and never again get stuck behind a technical roadblock.
Join Now