Support
 
Phone Live Chat
 
Support
 
US: +1 888 720 9500
US: +1 800 443 6694
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9393

 
 
 
 
 
Features

What is the gpupdate command?

The gpupdate command is a Windows PowerShell command that enables administrators to refresh or apply Group Policy settings instantly. Group Policy Objects (GPOs) are a collection of policy settings that are applied to manage the system settings of users and computers in an Active Directory setup. By default, Windows updates Group Policy settings every 90 minutes or when a computer reboots. 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 is used to enforce a policy update and it takes into account only the changes in the existing Group Policies or new Group Policies.

How does the gpupdate command work?

The gpupdate command when executed forces a manual policy refresh. Here is how it functions:

  • Policy update request: Executing the gpupdate command sends a request to the domain controller to check for new Group Policy settings or changes.
  • Policy processing: The updated polices are processed in accordance with the GPO policy processing order.
  • Policy application: The system then applies the changes made to the user and computer configurations.
  • System restart: If required, the gpupdate command will inform you that a system restart is necessary. If you run the /force option, it can forcefully apply the policies regardless of whether they have been changed or not.

Prerequisites for using the gpupdate command

  • The computer you are using must be joined to an Active Directory domain.
  • At least one Group Policy must be assigned to the computer you are using.

How do I update group policies using native AD tools?

Using PowerShell:

  • Open Command Prompt or PowerShell as an administrator.
  • Execute the gpupdate command along with the desired parameter to get the output.

The following is an example of how the gpupdate command be used to force update both user and computer configurations:

Click to copy
gpupdate /force

Using Group Policy Management Console (GPMC)

  • Open GPMC. Press Win + R, type gpmc.msc, then press Enter or search for Group Policy Management in the Start menu and open it.
  • Locate the OU containing the desired computers and users that you would like to update.
  • Right click on the OU and select Group Policy Update.

The GPMC uses the gpupdate /force command remotely to update policies on all computers and users within the OU. However, you should only use the /force option for troubleshooting or when there is an issue applying a policy; since gpupdate /force runs on multiple computers at the same time, it puts a major load on the domain controllers and takes longer for the update to happen.

Supported parameters

The following table contains the parameters that can be used along with the gpupdate command.

Syntax Description
gpupdate /target: {computer | user} The /target parameter allows you to specify whether only User or Computer settings have to be updated.
gpupdate /force The /force parameter reapplies all policy settings.
gpupdate /wait:<VALUE> The /wait parameter specifies the amount of time to wait for the policy update to complete (default is 600 seconds or 10 minutes).
gpupdate /logoff The /logoff parameter forces a logoff when user-related Group Policy settings are applied, if required.
gpupdate /sync The /sync parameter ensures that the next Group Policy application is performed in synchronous mode.
gpupdate /sync The /boot parameter forces a computer restart after applying Group Policy settings.

How to force update Group Policy using ADManager Plus

Generally, forcing a Group Policy update involves complex PowerShell scripting or using the gpupdate command. ADManager Plus streamlines this process by offering a user-friendly force GPO update option. This feature allows administrators to apply policy changes immediately, bypassing the default 90-minute update cycle. Here's how you can force update GPOs using ADManager Plus:

  • Log in to ADManager Plus.
  • Navigate to Management > GPO Management > Force GPO Update.
  • Choose the required domain from the Select Domain drop-down.
  • The Force GPO Update page will display all the domain computers linked to the selected domain. From the list, select the specific domain computers you need.
  • Use the Import CSV option to import the Domain Computers list.
  • Click Apply to force GPO updates.

How ManageEngine ADManager Plus can help with GPO management

ADManager Plus is an integrated AD management and reporting solution with GPO management and reporting capabilities. You can simplify GPO management by configuring GPOs in bulk and monitor compliance with access to an audit trail of all GPO changes via reports.

Here are some of the supported GPO capabilities in ADManager Plus. You can:

Try ADManager Plus Now

Here are some of the supported GPO capabilities in ADManager Plus. You can:

anageEngine User Academy

Streamline Active Directory management with ADManager Plus

  • Create and manage users across Active Directory, Exchange, Microsoft 365, and Google Workspace. Learn more.
  • Generate reports on Active Directory, Microsoft 365, and Google Workspace platforms and export them in desired formats. Learn more.
  • Integrate ADManager Plus with enterprise applications using REST and SOAP APIs. Learn more.
  • Automate Active Directory management tasks such as password resets and Active Directory cleanup. Learn more.
  • Identity identity-related risks and mitigate them on the fly. Learn more
  • Run automated certification campaigns and keep privilege attacks at bay. Learn more.
  • Delegate tasks to help desk technicians and non-HR personnel. Learn more.

ADManager Plus Trusted By

The one-stop solution to Active Directory Management and Reporting