Forcing Group Policy Updates Locally
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
2003 server - Sep 30, 2008 22:34 - 0 Comments
instant messaging srv records
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments
Outlook: Duplicates in Mailbox
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Microsoft Desktop, Web browsers and Internet, Windows 2000, Windows 7, Windows 98, Windows Firewall and networking, Windows Vista, Windows XP - Feb 8, 2010 18:09 - 0 Comments
Disable Proxy settings in IE
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Leave a Reply
You must be logged in to post a comment.