How to force a Group Policy update

Last updated on:

What is gpupdate?

gpupdate is a command that manually refreshes Group Policy settings on a local or domain-joined computer, applying new or changed configurations immediately rather than waiting for the default background refresh cycle.

Group Policy Objects (GPOs) are collections of settings that control the behavior of users and computers in an Active Directory (AD) environment. By default, Windows refreshes Group Policies automatically every 90 minutes with a random offset of up to 30 minutes and at every user logon or computer reboot, while domain controllers (DCs) refresh their own policies every five minutes.

However, there may be instances when an IT administrator needs to apply updated policies instantly without waiting for the next refresh cycle. In such situations, the gpupdate command and its /force switch are used to enforce a policy update, giving administrators a way to trigger a refresh on demand.

  • gpupdate
  • GPMC
  • ADManager Plus
  • Troubleshooting tips
  • Why ADManager Plus?
  • FAQs
 

gpupdate syntax and parameters

Here's the syntax for the gpupdate command:

gpupdate [/target:{computer | user}] [/force] [/wait:<value>] [/logoff] [/boot] [/sync] [/?]

Parameters

Parameter Description
/target:{computer | user} Limits the refresh to either computer or user policy settings. Use this parameter to speed up updates when only one side has been modified.
/wait:<value> Specifies the number of seconds to wait for policy processing to finish before returning the command prompt. The default value is 600 seconds. Set to 0 to return immediately without waiting, or -1 to wait indefinitely.
/logoff This logs off the current user after the Group Policy update completes.
/boot This restarts the computer after the Group Policy update completes.
/sync Ensures that the next foreground policy application at user logon or computer startup runs synchronously and ensures that the desktop does not load until policy processing is complete. When /sync is specified, the /force and /wait parameters are ignored.
/? Displays the help information for the gpupdate command, listing all available parameters and their syntax.

What is the difference between gpupdate and gpupdate /force?

gpupdate performs an incremental refresh and checks for new or changed Group Policy settings since the last update and applies only those. gpupdate /force, on the other hand, reapplies every policy assigned to the computer and user, regardless of whether anything has changed. You can use gpupdate for routine refreshes after making a policy change and gpupdate /force when you suspect a policy is not applying correctly or when you need to revert unauthorized local changes.

Aspect gpupdate gpupdate /force
What it updates New and changed policies only All policies, whether modified or not
Processing scope Incremental and skips unchanged settings Full reapplication of every policy
DC load Low Higher because more data is transferred
Speed Faster Slower
Usecase Routine refresh after making a policy change Urgent policy deployment, troubleshooting policy application issues, and reverting unauthorized local changes
Risk Minimal; only changed policies are reprocessed, so DC and network load is low Higher in large environments; every assigned GPO is reprocessed for each client, which can strain DCs and increase network traffic if run across many machines simultaneously

How does gpupdate work?

When you run gpupdate, the following sequence occurs:

  1. Policy request: The command sends a request to the DC asking for any new or changed Group Policy settings since the last refresh.
  2. Policy processing: The DC returns the applicable GPOs, which are processed according to the GPO processing order.
  3. Policy application: The system applies the changes to the relevant user and computer configurations.
  4. Restart or logoff notification: If any settings require a user logoff or system restart to take effect such as software deployment via Group Policy, the command will prompt you accordingly.

How to run gpupdate

  1. Run Command Prompt as an administrator.
  2. To refresh only changed policies, run:
    gpupdate
  3. To force-reapply all policies, run:
    gpupdate /force
  4. Press Enter and wait for the confirmation messages.

gpupdate can also be run without administrator privileges for a user-level refresh, though computer policy settings require elevated rights.

Force updating Group Policies using gpudate

How to use gpupdate to target only user policies

To refresh only user-side Group Policy settings without processing computer policies, use the /target:user parameter. This is useful when you have made changes exclusively to User Configuration settings in a GPO, such as desktop restrictions, logon scripts, or folder redirection, and want a faster refresh without triggering the full computer-side policy cycle.

gpupdate /target:user
Running gpupdate to update only user policies

How to use gpupdate to target only computer policies

To refresh only computer-side Group Policy settings without processing user policies, use the /target:computer parameter. This is useful when changes were made to Computer Configuration settings, such as security baselines, startup scripts, or software deployment, and you want to apply them without a full refresh.

gpupdate /target:computer
Running gpupdate to update only computer policies

Example scripts and use cases

Example 1: Force updating all GPOs and automatically logging off

gpupdate /force /logoff

Example 2: Run without waiting for completion

gpupdate /force /wait:0

Example 3: Force updating GPOs and restarting the computer

gpupdate /force /boot

Example 4: Force the next logon to apply Group Policy synchronously

gpupdate /sync

How to use the Invoke-GPUpdate command

Invoke-GPUpdate is a PowerShell command that lets you trigger a Group Policy refresh on one or more remote computers without logging in to each machine individually. It works by scheduling a remote task that runs gpupdate /force on the target.

Prerequisites

This command, however, requires the following:

  • Windows Remote Management must be enabled on the target machines.
  • Firewall rules must allow remote scheduled task creation on TCP ports 135, 137, 138, 139, and 445.
  • You must have administrative rights on the remote computer.

Steps to update remote computer policies

  1. To force update on a single remote computer:
    Invoke-GPUpdate -Computer
  2. Force update on all computers in an OU:
    Get-ADComputer -Filter * -SearchBase "OU=Workstations,DC=corp,DC=local" | ForEach-Object { Invoke-GPUpdate -Computer $_.Name -Force -RandomDelayInMinutes 0 }

How to verify if Group Policy was applied

After running gpupdate, you can use the gpresult command to confirm the update was applied correctly.

To view a summary of applied policies for the current user and computer:

gpresult /r

How to force a Group Policy update using the GPMC

The Group Policy Management Console (GPMC) is an MMC snap-in that can be used to manage GPOs. It uses gpupdate /force internally to trigger a forced Group Policy update on all computers within an OU and applies a random delay of up to 10 minutes to spread the load across DCs.

The GPMC method targets all computers in the selected OU and any OUs nested within it. However, it cannot target individual computers or the default Computers container.

Steps to force a Group Policy update using the GPMC

  1. Press Win + R, type gpmc.msc, and press Enter.
  2. In the left pane, expand your forest and domain, then expand the GPOs or navigate to the relevant domain structure.
  3. Locate the OU containing the computers you want to update.
  4. Right-click the OU and select Group Policy Update.
  5. In the Force Group Policy update dialog box, click Yes to confirm.
  6. The Remote Group Policy update results window will open, showing the scheduling status for each computer in the OU.

The results window shows whether the update was scheduled successfully and not whether the policy applied successfully. To verify actual policy application, use the gpresult command or check the GroupPolicy\Operational log in Event Viewer.

How to force a Group Policy update using ADManager Plus

While the gpupdate command and the GPMC work well for small-scale updates, they become cumbersome in large environments and require either machine-by-machine access or scripted PowerShell deployments.

ADManager Plus offers a built-in GPO update feature that lets you push policy updates to any combination of DCs in just a click, without needing to run scripts or open GPMC on individual machines.

Steps to force a Group Policy update in ADManager Plus

  1. Log in to ADManager Plus.
  2. Navigate to Management > GPO Management > Force GPO Update.
  3. From the Select Domain drop-down, choose the domain containing the target computers.
  4. The Force GPO Update page will display all domain computers linked to the selected domain.
  5. Select the specific computers you want to update from the list. Alternatively, use the Import CSV option to upload a list of computers.
  6. Click Apply to push the Group Policy update immediately.

ADManager Plus triggers the update across all selected computers simultaneously, bypassing the 90-minute default refresh cycle and without requiring scripts or direct machine-level connectivity from your workstation.

Force update GPOs in an instant using ADManager Plus

Troubleshooting tips

  • Error: User policy update has failed

    Cause: The most common causes are DNS resolution failure, loss of connectivity to the DC, expired credentials, or a corrupt user profile.

    To fix this error:

    • Confirm the machine is joined to the domain and connected to the network.
    • Run nslookup <yourdomain> to verify the DNS is resolving the DC correctly.
    • Check the Group Policy\Operational log in Event Viewer for a specific error code. If event ID 1129 appears, verify if LDAP port 389 is accessible from the client to the DC.
    • Run gpresult /r to check which policies are being applied and whether any are showing errors.
    • Error: Computer policy could not be updated
  • Error: Computer policy could not be updated

    Cause: This is often caused by a corrupt Registry.pol file in the local Group Policy folder.

    To fix this error:

    1. Navigate to C:\Windows\System32\GroupPolicy\Machine\.
    2. Locate the file Registry.pol.
    3. Rename it to Registry.pol.old.
    4. Run gpupdate /force again. A new Registry.pol file will be generated automatically.
    5. Restart the computer and verify if the policy has been applied correctly.
  • Error: gpupdate /force is stuck or taking too long

    Cause: Policy processing is hanging, often due to a slow or unreachable DC, a large number of GPOs, or a CSE waiting for a foreground event.

    To fix this error:

    • Use the /wait parameter to return the command prompt immediately while processing continues in the background.
    • Check whether a logoff or restart is being silently required using the /logoff or /boot parameters.
    • Check Event Viewer for event ID 1058 or 1030 and perform the required fixes.
    • Verify network connectivity to the DC and confirm SYSVOL is accessible.
  • Error: 0x8007071a - The remote procedure call was cancelled

    Cause: This error occurs when Group Policy processing is interrupted mid-execution, most commonly because the Group Policy Client service timed out, the RPC connection to the DC was dropped, or a client-side extension (CSE) stalled during processing. It is frequently seen on machines with slow network links or after a DC failover.

    To fix this error:

    1. Ensure the Group Policy Client service is running.
    2. Verify if TCP port 135 is open to the DC.
    3. Check the GroupPolicy\Operational log in Event Viewer for event ID 7016 or 7017 to identify the stalling CSE.

Best practices for using gpupdate

  • Start with gpupdate before escalating to /force

    In most cases, a standard update is sufficient for a policy change to apply. Reserve the /force parameter for situations when a policy is genuinely not taking effect.

  • Avoid running /force across all machines simultaneously

    Use the GPMC's built-in Group Policy Update, which adds a random delay, or Invoke-GPUpdate with -RandomDelayInMinutes to spread load across DCs.

  • Always verify with gpresult

    Running gpresult /r after an update confirms the policies that were applied and surfaces any denials or errors before they cause downstream issues.

  • Use /target when only one side has changed

    If you only modified a user-side setting, gpupdate /target:user is faster and avoids unnecessary computer-side processing.

  • Document refresh interval changes

    If you modify the default 90-minute cycle, record it in your change management system, as unexpected intervals can complicate troubleshooting later.

  • Use ADManager Plus for environment-wide updates

    For bulk policy refreshes across multiple computers or domains, ADManager Plus' Force GPO Update feature provides a controlled, auditable approach without requiring direct CLI access to each machine.

How ADManager Plus simplifies GPO management

Managing Group Policy at scale across multiple domains, hundreds of computers, and diverse OU structures quickly outgrows what native tools can handle comfortably. ADManager Plus, a GPO management and reporting solution, replaces the need for the GPMC and PowerShell scripts for most day-to-day tasks. Using ADManager Plus, you can:

  • Force a GPO update: Apply policy changes immediately across selected computers without scripts.
  • Bulk GPO management: Create, edit, link, enable, disable, and delete GPOs across multiple nodes in a single action.
  • Copy GPOs: Replicate GPOs across domains within a forest.
  • Merge GPOs: Consolidate multiple GPOs into one to reduce complexity.
  • Migrate GPOs: Move GPOs from one domain to another.
  • GPO reports: Gain visibility into GPO status, scope, recently modified GPOs, unused GPOs, linked objects, and more.

FAQs

gpupdate /force is a Windows command that forces a complete reapplication of all Group Policy settings on a computer, regardless of whether any policies have changed since the last update. It is commonly used for troubleshooting and for applying urgent policy changes immediately.

Yes, you can run gpupdate without admin rights for user-side policies. Running gpupdate does not require an elevated prompt for user configuration settings. However, computer policy settings require administrator privileges.

Use the Invoke-GPUpdate PowerShell command and the following script:

Invoke-GPUpdate -Computer "PCName" -Force

However, this requires WinRM to be enabled and administrative access to the remote machine.

Run gpresult /r immediately after gpupdate to check if Group Polices are updated. This displays the applied policies for the current user and computer. For a more detailed view, export an HTML report with gpresult /h C:\GPReport.html.

Group Policy refreshes every 90 minutes on client machines with a 0-30 minute random offset, at every user logon, and at computer startup.

It increases load on DCs because each client requests and processes every assigned GPO rather than only changed ones. In large environments, running /force on many machines simultaneously can cause significant network and DC load. Use staged rollouts or ADManager Plus to manage this.

gpupdate /force may not work due to the following reasons:

  • The machine where you are executing the update is not domain-joined.
  • The DNS is not resolving the DC.
  • The Registry.pol file is corrupt.
  • The Group Policy Client service is not running, or WMI or security filtering is excluding the machine from the target GPO.

Take the complexity out of GPO management using ADManager Plus

The one-stop solution to Active Directory Management and Reporting
Email Download Link Email the ADManager Plus download link