Pupdate Refresh Group Policy settings (make Group Policy effective immediately)
After you modify Group Policy in Windows, restarting the computer enables Group Policy to take effect, but you can use the gpupdate command to refresh Group Policy immediately to set up production.
The gpupdate command refreshes the local Group Policy settings and the Group Policy settings based on Active Directory, including the security settings on the computer on which the command is run. You can use GPUpdate to refresh the policy locally on a computer that has Windows XP and a later version. On a computer running Windows 2000, you can provide this functionality by using the secedit command with the/refreshpolicy option.
Grammar
Gpupdate [/target:{computer User}] [/force] [/wait:value] [/logoff] [/boot]
Parameters
/target:{computer User}
Only the computer settings or the current User settings are processed. By default, both computer settings and user settings are processed.
/force
Ignore all processing optimizations and reapply all settings. The Group Policy engine on the client tracks the version of the GPO that is applied to users and computers. By default, if no GPO version changes and the list of GPOs remains the same, the Group Policy engine will not re-process the policy. This option overrides this optimization feature and forces the Group Policy engine to re-process all policy information.
/wait:value
The number of seconds that the policy processing waits to complete. The default value is 600 seconds. 0 means "Do not Wait", and 1 means "wait indefinitely".
/logoff
The refresh is complete before you log off. This option is required for those Group Policy client extensions (for example, user software Installation and folder redirection) that are not processed during the background refresh cycle and are processed when the user logs on. This option is not valid if you have not called an extension that requires the user to log off.
/boot
Restart the computer after the refresh is complete. This option is required for those Group Policy client extensions that are not processed during the background refresh cycle and are processed when the computer starts up (for example, computer software installation). This option is not valid if you have not called an extension that requires you to restart your computer.
/?
Displays help at the command prompt.
Comments
If a syntax error occurs, a syntax summary is displayed in a manner similar to that of the Help topic.
Example
The following example shows how to use the gpupdate command:
GPUpdate
Gpupdate/target:computer
gpupdate/force/wait:100
Gpupdate/boo