Force Gpupdate Command



  1. Force Gpupdate Command Failed
  2. Run Gpupdate Force
  3. Windows Gpupdate After Network Connections
  4. Force Gpupdate Command

The gpupdate command refreshes a computer's local Group Policy, and any Active Directory-based group policies.

This video will demonstration how to Force Group Policy Update (GPUDATE /FORCE) using command prompt - Windows Server 2008.More video at: www.curioushowto.com.

Availability

Gpupdate is an external command and is available for the following Microsoft operating systems as gpupdate.exe.

Gpupdate syntax

GPUPDATE will apply new and changed policies, it will not remove an existing setting where the policy is set to 'not configured' Examples. Run a background update to install any new Group Policy settings: C: GPUpdate. Force a background update of all Group Policy settings, regardless of whether they have changed: C: GPUpdate /Force. Gpupdate command is used to update Group policies in Windows operating system Domain. There are different options to use with the gpupdate but one of the most used option is /force which will reapply all policy settings. Even “gpupdate” command provides very basic features we may need to get some help about the options. To Force Update Group Policy Settings in Windows 10 Manually. Open an elevated command prompt. To force apply only the changed policies, type or copy-paste the following command: gpupdate; To force update all policies, run the command: gpupdate /force; The commands above will update both User Group Policies and Computer Group Policies.

/Target:{Computer | User}Specifies that only user or only computer policy settings be refreshed. By default, both user and computer policy settings are refreshed.
/ForceReapplies all policy settings. By default, only policy settings that have changed are applied.
/Wait:{value}Sets the number of seconds to wait for policy processing to finish. The default is 600 seconds. The value '0' means not to wait. The value '-1' means to wait indefinitely. When the time limit is exceeded, the command prompt returns, but policy processing continues.
/LogoffCauses a logoff after the Group Policy settings are refreshed, which is required for those client-side extensions that don't process policy on a background refresh cycle but do during log on. Examples include user-targeted Software Installation and Folder Redirection. This option has no effect if there are no extensions called that require a logoff.
/BootCauses a reboot after the Group Policy settings are refreshed, for those client-side extensions that don't process policy on a background refresh cycle but do at startup. Examples include computer-targeted Software Installation. This option has no effect if there are no extensions called that require a reboot.
/SyncCauses the next foreground policy application to be done synchronously. Foreground policy applications occur at computer boot and user login. You can specify this for the user, computer or both using the /Target parameter. The /Force and /Wait parameters are ignored if specified.
Gpupdate in powershell

Gpupdate examples

Running the command alone refreshes the computers policies as shown below in the example output.

Additional information

  • See our Active Directory definition for further information and related links on this term.

Author: Peter Barnett Date: Oct 18, 2019


All popular editions of Windows 10 above Home have built-in administration tool gpedit.msc or local group policies. This tool includes a wide range of policies (settings) and is intended to force changes in the basic configuration of the operating system and accounts. It is implemented as a MMC management console with a fairly user-friendly and intuitive graphical interface. This article shows you how to force gpupdate on multiple computers.

Group policies of the computer and the user are updated by default every 90 minutes in the background (perhaps a random offset from 0 to 30 minutes). They are also updated every time you start the system. If you change some group policies and want to apply the changes right away, not waiting for 90 minutes and not restarting the computer, update them manually using the commands described below.

One of the most difficult problems in managing AD Group Policy is testing policies on the fly, without restarting the computer or accessing the local computer and running the gpupdate /force command.

The Remote Group Policy Update feature provides the ability to use a single GPO management console (GPMC.msc) for both creating, modifying, and applying and testing Group Policies.

The functionality of remote Group Policy Update first appeared in Microsoft Windows Server 2012, in all subsequent versions (Windows Server 2016, Microsoft Windows 10), this functionality and its stability gradually improved.

Fully functional for 10 endpoints, never expires. More details >


Manually Update User and Computer Policies


  • 1. To execute this method, you must log on locally to a computer or server and open a command prompt as an administrator: one of the ways is to right-click on the 'Start' menu and select 'Command Prompt (Administrator)' from the menu that opens.
  • 2. In the appeared command prompt window type gpupdate command and press Enter - if you want to update only the policies that have been changed. If you want to update all policies - instead of the previous command, type gpupdate /force and press Enter. The /force switch will force the Group Policy update. I want to note that some settings can be applied only after logging out.

Manually Update Computer Group Policies


As you can note, the command above updates the policies for both the user and the computer, but if you wish, you can manipulate this and explicitly indicate what needs to be updated. There is /Target:{Computer | User} for this. Suppose we need to update only a computer Group Policy settings.

  • 1. Open a command prompt as an administrator: one of the ways is to right-click on the 'Start' menu and select 'Command Prompt (Administrator)' from the menu that opens.
  • 2. In the CMD window that opens enter the gpupdate /target: computer command and press the Enter key to update only those computer policies that have been changed, if you want to update all computer policies — instead of the previous command, type gpupdate /target: computer /force and press the Enter key.There is still an interesting key, it is to delay /Wait:{your value}. The default value is 600 seconds.
Force gpupdate command prompt

How to Force Gpupdate. Manually Update User Group Policies


Assume that the user policy settings have been changed. You can run the gpupdate /target:user /logoff command to check for changes.

NOTE: Do not forget that the command line must be run as administrator. The previous method described in detail how to do this.


This command updates the user part of the GPO and automatically ends the user session after the update is completed. As soon as the user registers with the system, he will notice the changes made.


Force Gpupdate Command Failed

Force gpupdate command linux

Consider using Action1 to force group policy update remotely if:


  • - You need to perform an action on multiple computers simultaneously.
  • - You have remote employees with computers not connected to your corporate network.

Action1 is a cloud-based platform for patch management, software deployment, remote desktop, software/hardware inventory, endpoint management and endpoint configuration reporting.

Run Gpupdate Force

Fully functional free edition for up to 10 endpoints with no expiration date. More details >


Windows Gpupdate After Network Connections

Relevant How To Articles and Action1 Features:

Force Gpupdate Command