Software & OS

gpupdate /force Command Explained: What It Does and When to Use It

The gpupdate /force command reapplies all Group Policy settings to the computer and the signed-in user, including settings that have not changed. Plain gpupdate applies only the settings that changed since the last refresh.

gpupdate /force

Run it in Command Prompt or PowerShell. Microsoft describes the example as a "background update of all Group Policy settings, regardless of whether they've changed". The sections below cover what that means in practice, the other switches, and how to confirm the result.

What does gpupdate /force do?

Group Policy is the Windows mechanism that lets an administrator in an Active Directory domain define settings for computers and users. A Group Policy client on each machine downloads the policy and hands it to client-side extensions, which write the actual settings (registry values, security options, scripts, drive mappings and so on).

During a normal refresh, a client-side extension reapplies its settings only if it detects a change to one of its Group Policy Objects (GPOs) or to its list of GPOs. Microsoft says this is done for performance reasons. The /force switch overrides that. Per the gpupdate reference, it "reapplies all policy settings", where the default is that "only policy settings that have changed are applied".

Two things follow from this:

  • If a setting was changed on the domain controller and has not reached your computer yet, a normal gpupdate already fetches it. You rarely need /force for that.
  • If a setting changed locally (for example, someone edited a registry value that a policy controls, and the GPO itself did not change), /force is the way to push the policy value back.

Example output

Example output of a successful run on a domain-joined PC (the wording can differ between Windows versions):

C:\Users\alex>gpupdate /force
Updating policy...

Computer Policy update has completed successfully.
User Policy update has completed successfully.

The command waits for policy processing to finish before returning. By default it waits up to 600 seconds, which the /wait switch controls (see the table below). If the time limit passes, the prompt returns but processing continues in the background.

All gpupdate switches

This is the full syntax from Microsoft Learn:

gpupdate [/target:{computer | user}] [/force] [/wait:<VALUE>] [/logoff] [/boot] [/sync] [/?]
SwitchWhat it does
/target:computer or /target:userUpdates only Computer policy or only User policy. By default both are updated.
/forceReapplies all policy settings, not just changed ones.
/wait:<seconds>How long to wait for processing before returning to the prompt. The default is 600 seconds, 0 means do not wait, and -1 means wait indefinitely.
/logoffSigns the user out after the update. Needed for extensions that process only at sign-in, such as user-targeted Software Installation and Folder Redirection. It has no effect if no such extension was called.
/bootRestarts the computer after the update. Needed for extensions that process only at startup, such as computer-targeted Software Installation. It has no effect if no such extension was called.
/syncMakes the next foreground policy application (at boot and sign-in) synchronous. Microsoft says /force and /wait are ignored if you combine them with /sync.

Update only user or only computer policy

If you changed only a user-side setting, you can skip the computer half:

gpupdate /force /target:user

And the reverse for computer-side settings such as security options or startup scripts:

gpupdate /force /target:computer

This shortens the run and keeps the output focused on the part you are testing.

Why does gpupdate ask me to log off or restart?

Not every client-side extension runs during a background refresh. Microsoft's Group Policy processing article gives these examples: folder redirection is processed only when a user signs in, and software installation policy is processed only when a computer starts and when a user signs in. Script policy is also special. The extension runs during a background refresh, but individual scripts run only at startup, shutdown, sign-in and sign-out.

So when a GPO contains one of these items, gpupdate alone cannot finish the job. Adding /logoff or /boot signs you out or restarts the computer so the extension gets its chance. Save your work first. Because both switches act only when a relevant extension was called, adding them to a script is safe on machines where nothing needs them, but the machines that do need them will then sign out or restart without further prompting from you.

How often does Group Policy refresh without it?

You do not need to run gpupdate for policy to arrive eventually. Per Microsoft Learn, as of the June 2025 version of the article:

  • Computer policy is applied at startup and user policy at sign-in. This is the foreground application.
  • After that, clients and servers refresh in the background every 90 minutes, with a random offset of up to 30 minutes added.
  • Domain controllers check for computer policy changes every five minutes.

Administrators can change these intervals with the Group Policy Refresh Interval settings for computers, domain controllers and users. Microsoft advises against shortening them, because of the extra network traffic and domain controller load.

There is also a delay on the server side. A changed GPO has to replicate to the domain controller your computer talks to. Microsoft states that Active Directory replication between domain controllers in the same site typically takes less than a minute by default, while the SYSVOL folder replicates through DFSR every 15 minutes within a site. If you run gpupdate /force immediately after an admin edits a GPO and still see the old setting, replication is a likely reason, not a fault in the command.

How to check that the policy applied

A successful message from gpupdate means processing finished. It does not tell you which GPOs applied. Use gpresult for that:

gpresult /r

The /r switch prints a summary of the Resultant Set of Policy (RSoP): the applied GPOs and the ones that were filtered out. Limit it with /scope user or /scope computer. For the full detail, write an HTML report:

gpresult /h C:\Temp\gp-report.html /f

Here /h saves the report as HTML and /f overwrites an existing file of that name. According to Microsoft, you must give gpresult one output option (/r, /v, /z, /x or /h), and /v and /z produce so much text that redirecting to a file is sensible, for example gpresult /z > policy.txt.

Other ways to trigger a Group Policy update

Microsoft's processing article lists three manual methods:

  • Run gpupdate.exe locally. It refreshes policy on the computer where you run it.
  • Use the Invoke-GPUpdate PowerShell cmdlet, which can refresh the local computer or a remote one.
  • In the Group Policy Management Console, right-click an organizational unit and choose Group Policy Update to trigger a refresh for the computers in it.

If gpupdate /force does not seem to work

  • The PC is not in a domain. On a standalone PC only the local policy exists. There are no domain GPOs to fetch, so the command has little to refresh.
  • The setting still shows the old value. Check replication (above), then run gpresult /r to see whether the GPO applied at all. A GPO can be filtered out by security filtering, a WMI filter, a disabled link or blocked inheritance, all of which Microsoft's article lists as ways a GPO may not apply.
  • A conflicting GPO wins. GPOs are processed in the order local, site, domain, then organizational units, and later ones override earlier ones. Another GPO may set the same value. The HTML report from gpresult /h shows which GPO is the winning one for each setting.
  • Software or folder settings do not appear. Rerun with /logoff or /boot, since these extensions do not process during a background refresh.

Frequently asked questions

Does gpupdate /force restart the computer?
No. gpupdate /force only reapplies all Group Policy settings. A restart happens only if you add /boot, and then only when a policy extension that needs a restart was called. The /logoff switch works the same way for sign-out.
What is the difference between gpupdate and gpupdate /force?
Plain gpupdate applies only the policy settings that have changed since the last refresh. gpupdate /force reapplies all policy settings, whether or not they changed.
How often does Group Policy refresh without gpupdate?
By default, clients and servers check for changes every 90 minutes, with a random offset of up to 30 minutes. Domain controllers check for computer policy changes every five minutes. Policy is also processed at startup and sign-in. Administrators can change these intervals with Group Policy settings.
Can I run gpupdate /force on a remote computer?
The gpupdate command itself has no remote option. It refreshes policy on the computer where you run it. Microsoft documents the Invoke-GPUpdate PowerShell cmdlet for remote computers, and the Group Policy Management Console can trigger an update for every computer in an organizational unit.
How do I check whether a policy was applied after gpupdate /force?
Run gpresult /r to see which Group Policy Objects applied to the user and the computer, or gpresult /h report.html to save a full HTML report. Use /scope user or /scope computer to limit the output.

Sources