Windows 7 Forums


Windows 7: Group Policy Settings - Force Update in Windows


Group Policy Settings - Force Update in Windows

How to Force Group Policy Updates to be Applied Instantly in Windows
Published 20 May 2012
Published by

Featured Tutorial

Portable OS - Carry your OS on an External Drive
Portable OS - Carry your OS on an External Drive

How to Create a Portable OS on an External Drive

Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup
Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup

How to Perform an Emergency Data Backup When Windows 7 Will Not Boot

Clean Reinstall - Factory OEM Windows 7
Clean Reinstall - Factory OEM Windows 7

How to Clean Reinstall a Factory OEM Windows 7

Windows 7 Installation - Transfer to a New Computer
Windows 7 Installation - Transfer to a New Computer

How to Transfer your Complete Windows 7 Installation to a New Computer

SF Diagnostic Tool - Using for Troubleshooting
SF Diagnostic Tool - Using for Troubleshooting

Using SF Diagnostic Tool for Troubleshooting

Microsoft Account "Two-step Verification" - Turn On or Off
Microsoft Account "Two-step Verification" - Turn On or Off

How to Turn "Two-step Verification" On or Off for your Microsoft Account
How to Force Group Policy Updates to be Applied Instantly in Windows

information   Information
After you make changes to group policies, you may want the changes to be applied immediately, without waiting for the default update interval (90 minutes on domain members and 5 minutes on domain controllers) or without restarting the computer. Normally, User Group Policy is refreshed at logon and Computer Group Policy is refreshed at machine reboot.

This tutorial will show you how to use the gpupdate command to force an update and refresh of either or both the Computer or User Group Policy settings to be applied instantly in XP, Vista, and Windows 7, and Windows 8.

You can also do this on remote computers using a Remote Desktop Connection.

You must be logged in as an administrator to be able to do the steps in this tutorial.

Note   Note
GPUpdate Command Switches


GPUpdate [/Target:{Computer | User}] [/Force] [/Wait:<value>] [/Logoff] [/Boot] [/Sync]


  • /Target:{Computer | User} - Specifies that only User or only Computer policy settings are updated. By default, both User and Computer policy settings are updated.
  • /Force - Reapplies all policy settings. By default, only policy settings that have changed are applied.
  • /Wait:{value} - Sets the number of seconds to wait for policy processing to finish. The default is 600 seconds. The value '0' means not to wait. The value '-1' means to wait indefinitely. When the time limit is exceeded, the command prompt returns, but policy processing continues.
  • /Logoff - Causes a logoff after the Group Policy settings have been updated. This is required for those Group Policy client-side extensions that do not process policy on a background update cycle but do process policy when a user logs on. Examples include user-targeted Software Installation and Folder Redirection. This option has no effect if there are no extensions called that require a logoff.
  • /Boot - Causes a computer restart after the Group Policy settings are applied. This is required for those Group Policy client-side extensions that do not process policy on a background update cycle but do process policy at computer startup. Examples include computer-targeted Software Installation. This option has no effect if there are no extensions called that require a restart.
  • /Sync - Causes the next foreground policy application to be done synchronously. Foreground policy applications occur at computer boot and user logon. You can specify this for the user, computer or both using the /Target parameter. The /Force and /Wait parameters will be ignored if specified.

EXAMPLE: Computer and User Configuration in the Local Group Policy Editor
Group Policy Settings - Force Update in Windows-gpedit.jpg



OPTION ONE
To Force Update of Both Computer and User Group Policies
1. Open an elevated command prompt.
NOTE: For Windows 8, see: How to Open an Elevated Command Prompt in Windows 8

2. In the elevated command prompt, copy and paste the command below and press Enter.
gpupdate /force
3. When successfully finished, you can close the command prompt if you like.
Group Policy Settings - Force Update in Windows-both.jpg



OPTION TWO
To Force Update of Only Computer Group Policies
1. Open an elevated command prompt.
NOTE: For Windows 8, see: How to Open an Elevated Command Prompt in Windows 8

2. In the elevated command prompt, copy and paste the command below and press Enter.
gpupdate /target:computer /force
3. When successfully finished, you can close the command prompt if you like.
Group Policy Settings - Force Update in Windows-computer.jpg



OPTION THREE
To Force Update of Only User Group Policies
1. Open an elevated command prompt.
NOTE: For Windows 8, see: How to Open an Elevated Command Prompt in Windows 8

2. In the elevated command prompt, copy and paste the command below and press Enter.
gpupdate /target:user /force
3. When successfully finished, you can close the command prompt if you like.
Group Policy Settings - Force Update in Windows-user.jpg
That's it,
Shawn






Need more help? Try searching our extensive help and support site.
Loading
Comment

 Group Policy Settings - Force Update in Windows problems?



Tutorial Tools



Similar help and support threads for: Group Policy Settings - Force Update in Windows
Windows 7 Tutorial Category
Windows 7 Bitlocker - Group Policy Settings General Discussion
Cannot change settings of the Group Policy - Security Options General Discussion
Trouble with Windows Update/Group Policy Windows Updates & Activation


All times are GMT -5. The time now is 11:10 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32