The Pixel Wall

The Blog Of Dan

Force a Domain-Wide Update of Group Policy

I needed to force a Group Policy Update to around 400 computers, this was to ensure they picked up the new policy that I had rolled out. I wanted to do this easily and without the hassle of exporting a text file list.

Here’s how I did it:

  1. Download a copy of PSTOOLS and save it on the C:\pstools
  2. Open up a command prompt as an administrator. I tend to do this from the Domain Controller, if UAC is enabled run it as an administrator as well.
  3. Navigate to C:\pstools in Command Prompt
  4. Run psexec \\* gpupdate /force

The psexec tool will live query Active Directory and attempt to force a Group Policy refresh on all machines. It’s also smart enough to know if the machine is offline and move onto the next one.

 

Leave a Reply

Your email address will not be published. Required fields are marked *