Forcing Group Policy Updates Locally

Written by on Sunday, March 2, 2008 2:06 - 0 Comments

When testing Group Policy settings, being able to force a policy update can be very convenient. This can be done with the gpupdate command.

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.

Article written by MyComputerAid.com



Leave a Reply

You must be logged in to post a comment.

2003 server - Sep 30, 2008 22:34 - 0 Comments

instant messaging srv records

More In Computers & PC


Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments

Outlook: Duplicates in Mailbox

More In Computers & PC