Skip to content
Windows 🟡 Intermediate

How to Force a Group Policy Update in Windows 11

Richard
Written by
Richard
9 min read
A Windows 11 laptop with a Command Prompt window open on the desktop, ready for running the gpupdate /force command to refresh Group Policy.
A Windows 11 laptop with a Command Prompt window open on the desktop, ready for running the gpupdate /force command to refresh Group Policy.
Before you start
  • 5 steps
  • Needs administrator rights
  • Group Policy needs Windows 11 Pro, Enterprise or Education
  • Includes a restart or sign-out

The gpupdate /force command makes Windows 11 reapply every Group Policy setting immediately, instead of waiting for the next automatic refresh. Group Policy is the set of rules that controls how Windows and its apps behave. The rules come from a domain or from the Local Group Policy Editor on a single PC.

Windows 11 refreshes policy on its own about every 90 minutes, with a random offset of up to 30 minutes. To skip the wait, open Command Prompt as administrator, type gpupdate /force, and press Enter.

This guide covers the full steps and each switch the command accepts. It also shows how to run it from PowerShell or against another PC, and what to check when a setting still does not appear. Windows 10 reached end of support on October 14, 2025, so the guide focuses on Windows 11. The command works the same way in both.

⚡ Quick Answer

Run gpupdate /force from an elevated Command Prompt to apply Group Policy settings immediately. Open Command Prompt as administrator, type gpupdate /force, and press Enter. Windows reapplies every computer and user policy and reports when each update finishes, so you do not wait for the 90-minute background refresh.

Advertisement

What gpupdate /force does

Running gpupdate with no switches asks Windows to apply only the policy settings that changed since the last refresh. Adding /force tells it to reapply all settings, whether they changed or not.

Use /force when you edited a policy and want the change live now, or when a setting seems to have reverted. Use it as well when you are testing a new policy and cannot wait for the background refresh.

Advertisement

The command refreshes policy only. It does not install Windows updates, and it does not fix a policy that is configured wrongly.

Force a Group Policy update with gpupdate /force

These steps run a gpupdate force on the local PC, covering both Computer Configuration (settings that apply to the PC) and User Configuration (settings that follow your account). Run them from an elevated window, meaning one opened with administrator rights. This step requires administrator privileges.

  1. Open Command Prompt as administrator. Select Start, type cmd, and wait for Command Prompt to appear at the top of the results. Then right-click Command Prompt and choose Run as administrator. When User Account Control asks for permission, select Yes. The title bar now reads “Administrator: Command Prompt”. If it does not, close the window and repeat this step, because the computer half of the update can fail without elevation.
    Opening Command Prompt as administrator to enable Windows Hypervisor Platform
    Opening Command Prompt as administrator to enable Windows Hypervisor Platform
  2. Type the gpupdate command. Type gpupdate /force and press Enter.
  3. Wait for the update to finish. The window shows “Updating policy…” and then reports “Computer Policy update has completed successfully.” and “User Policy update has completed successfully.” On a PC with many policies, this can take a minute or more.
  4. Answer any sign-out or restart prompt. Some policies cannot apply while you are signed in, so Windows may ask whether to log off or restart. Save your work first, because answering Y signs you out or restarts the PC immediately. Answer N to apply those settings later.
  5. Confirm the result. Open the app or setting the policy controls and check that it changed. To see which policies applied, follow the steps in the “Check that the policy applied” section below.

If you see “The processing of Group Policy failed because of lack of network connectivity to a domain controller”, the PC cannot reach your domain. Connect to the office network or VPN and run the command again.

Advertisement

Update only computer or user policy

Group Policy has two halves: one for the PC and one for your account. Computer policy applies to the PC regardless of who signs in. User policy follows the signed-in account. When you know which half you changed, you can refresh only that half.

To refresh computer policy only, run:

⬛Command Prompt
gpupdate /target:computer /force

To refresh user policy only, run:

⬛Command Prompt
gpupdate /target:user /force

Without /target, the command refreshes both halves. This is the safest default when you are unsure which half a setting belongs to.

gpupdate switches you can use

The gpupdate command accepts several parameters. Combine them as needed, for example gpupdate /force /wait:0.

  • /target:computer or /target:user: refreshes only the computer or user half of policy.
  • /force: reapplies all policy settings, not only the ones that changed.
  • /wait:value: sets how many seconds the command waits for policy processing to finish before returning to the prompt. The default is 600 seconds. A value of 0 returns immediately, and -1 waits with no limit.
  • /logoff: signs you out after the refresh, for policies that apply only at sign-in.
  • /boot: restarts the PC after the refresh, for policies that apply only at startup.
  • /sync: makes Windows wait for network policy to finish before you reach the desktop, at the next restart or sign-in. It does not refresh anything right away.
Advertisement
⚠️WarningBe careful with /logoff and /boot. Both end your session or restart the PC without asking further, so save open files first.

Run gpupdate from PowerShell or Windows Terminal

The gpupdate /force command runs unchanged in PowerShell and in Windows Terminal, because gpupdate is a standalone program rather than a shell command. Open either one as administrator, type the same command, and press Enter. The output is identical.

In Windows 11, right-click Start and select Terminal (Admin) to open an elevated Windows Terminal window. Depending on your Windows 11 version and settings, the menu may label it Windows PowerShell (Admin) instead. Both work.

Force a Group Policy update on another PC

If you manage a domain, you can trigger a refresh on a remote computer without walking to it. There are two common routes. Both need administrator rights on the target PC, and the PC must be reachable over the network.

Advertisement

Use the Invoke-GPUpdate cmdlet

The Invoke-GPUpdate cmdlet (a PowerShell command that schedules a gpupdate on a remote computer) comes with the Group Policy module. To get it on Windows 11, install the Group Policy Management Tools from Settings System Optional features. Then run this in an elevated PowerShell window:

⬛PowerShell
Invoke-GPUpdate -Computer "COMPUTER-NAME" -Force

By default, the cmdlet adds a random delay before it runs, so many PCs do not all refresh at once. To remove that delay, add -RandomDelayInMinutes 0.

Use Group Policy Management

💡TipIn the Group Policy Management console, right-click an organizational unit (OU, a container for computers and users in Active Directory) and select Group Policy Update…. One command covers every computer in that OU and the OUs inside it. You need the same management tools installed on your PC.

Check that the policy applied

A successful message from gpupdate means the refresh ran. It does not prove that your specific setting took effect. The gpresult command lists which policies Windows applied and where each one came from.

  1. Open Command Prompt as administrator. Use the same method as in the earlier steps.
  2. Run the summary report. Type gpresult /r and press Enter. The output lists the Group Policy objects (GPOs, the named bundles of settings) applied to the computer and the user.
  3. Look under Applied Group Policy Objects. Find your policy in the list. If it appears under “The following GPOs were not applied because they were filtered out” instead, a security filter, a link, or a condition is blocking it.
  4. Create a detailed report if needed. Type gpresult /h report.html and press Enter. Open the saved report.html file in a browser to see every setting and the winning GPO for each one.
Advertisement

If you only use local policy, you can also reopen the Local Group Policy Editor to confirm the setting value. The guide to opening the Group Policy Editor (gpedit.msc) in Windows 11 shows how.

Why gpupdate /force may not change anything

When the command finishes but the setting is still wrong, one of the causes below is usually responsible.

The setting needs a sign-out or restart

Some policies, such as software installation and folder redirection, apply only at sign-in or startup. After gpupdate finishes, sign out and back in, or restart the PC. If Windows already asked you to do this and you answered N, run the command again and answer Y, or use /logoff or /boot.

A domain policy overrides your local policy

If the PC is joined to a domain, domain policy normally wins over local policy. A setting you change in the Local Group Policy Editor can be overwritten at the next refresh by a GPO from the domain. Run gpresult /r to see which GPOs apply, and ask your domain administrator to change the domain policy.

Advertisement

The PC cannot reach the domain controller

A new or edited domain policy never reaches a PC that cannot contact a domain controller (the server that hands out policy). Check the network connection or VPN, then run the command again. A change also needs time to replicate between domain controllers, so a policy edited minutes ago may not be available everywhere yet.

The command is not elevated

If you run the command in a normal window, the computer half of the refresh can fail or report errors. Open Command Prompt or Terminal as administrator and repeat the command.

The PC runs Windows 11 Home

Windows 11 Home includes the gpupdate command, but it has no Local Group Policy Editor and cannot join a domain. On Home there is usually little policy to refresh. The Local Group Policy Editor is available in Pro, Enterprise, and Education editions.

The command seems to hang

By default, gpupdate waits up to 600 seconds for policy processing to finish. If the window does not return to the prompt, press Ctrl + C to stop it, then try again with /wait:0. If the whole window stops responding, see how to force close a window that is not responding in Windows 11.

Advertisement

Policies you may want to refresh

Run a forced refresh after you change a policy you want to take effect now. Two examples on this site are the Windows 11 external drive removal policy and the policy that can force users to sign into Microsoft Edge on Windows 11. After you change either one, run gpupdate /force and then check the result. If a policy still does not behave as expected, sign out and back in, or restart the PC.

The Local Security Policy console stores its own settings. If you edited them and want a clean slate, see how to reset Local Security Policy in Windows 11.

What to do next

If a setting still does not apply after a forced update and a sign-out or restart, run gpresult /r again and check which GPO sets the value you see. To undo local policy changes and start again, follow the guide to reset Group Policy in Windows 11 to default, then run gpupdate /force so the reset takes effect right away.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked * How we handle comments