Before diving into syntax, it is crucial to understand the difference between a background refresh and a foreground refresh.

When you run gpupdate, the computer contacts a Domain Controller (DC), downloads the latest Group Policy Objects (GPOs), and applies them to the machine (Computer Configuration) and the current user (User Configuration).

Standard users can run gpupdate. They cannot change policies, but they have the right to request a refresh of the policies that apply to them. Administrative privileges are not strictly required to run the command, but are required to modify the policies themselves.

| Parameter | Description | |-----------|-------------| | /target:user | Updates only computer policies or only user policies. If omitted, both are updated. | | /force | Reapplies all policy settings, even if they haven’t changed. Useful when settings aren't applying correctly. | | /wait:<seconds> | Waits the specified number of seconds for policy processing to complete before returning to the command prompt. | | /logoff | Logs the user off after the policy update. Required for certain user policy changes (like folder redirection). | | /boot | Restarts the computer after the policy update. Needed for some computer policy changes (like software installation). | | /sync | Synchronizes the next foreground policy application (useful in scripts for predictable behavior). |


A common confusion is when a reboot is necessary. gpupdate refreshes most registry-based policies instantly. However, a reboot is still required for:

If gpupdate succeeded but the setting isn't active, try logging off (/logoff) or rebooting (/boot).

The command offers lesser-known switches for specific scenarios.