Forcing Group Policy Updates Locally


Whenever I am working on a new Group Policy Obejct (GPO), I much prefer having it apply to a test computer instantly rather than waiting for it to pick it up on its own. This can be done easily with utilization of the gpupdate command. The syntax of this command is as follows:

gpupdate [/target:{computer|user}] [/force] [/wait:value] [/logoff] [/boot]

/target – Apply only computer or user related policies
/force – Reapplies all settings immediately
/wait – Interval in seconds the policy waits to finish
/logoff – Logs off of the computer after the refresh has completed
/boot – Reboots the computer after the refresh has completed

The times I have found this most useful are when applying machine startup or user login scripts. Pairing the gpupdate command with /force and /boot commands will refresh the appropriate policies and reboot the machine in order to allow the policy to take effect on the next login. Group Policy refreshes on a machine by default every 90 minutes so this command can also come in handy when a user at a remote location needs a policy applied immediately. By having them type this command you can remove the typical wait time and get things up and running much more quickly.

***


Chris Sanders is the network administrator for one of the largest public school systems in the state of Kentucky. Chris’s specialties include general network administration, windows server 2003, wireless networking, and security. You can view Chris’ personal website at www.chrissanders.org.

About The Author

Leave a Comment

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top