GPUPDATE (Group Policy Update Command): Syntax, Parameters, Examples

-

|

GPUPDATE Meaning (and What It Does)

GPUPDATE means Group Policy Update Command. It is a Windows command line tool that is used to get a client computer to receive the latest Group Policy update settings.

In this guide, you will learn:

  • GPUPDATE Syntax
  • Meaning of each Parameters in GPUPDATE Syntax
  • Examples and Applications of GPUPDATE

GPUPDATE Syntax

If you are familiar with Windows commands you know that most windows commands have one or more Syntax. A Syntax extends what a command can do. The easiest way to get the syntax of a command is to add a forward slash with a question mark to the command then press Enter.

To get the GPUPDATE Syntax, enter the following in cmd then press the Enter key:

GPUPDATE /?

The result is shown in the image below.

GPUPDATE get syntax

Advertisement


You may also use the command below:

GPUPDATE help

From the result, you can see that the Syntax of GPUPDATE is:

Gpupdate [/Target:{Computer | User}] [/Force] [/Wait:] [/Logoff] [/Boot] [/Sync]

In the next section, I will explain what each of the parameters in the Syntax do. Before then, it is important to note from the syntax that with GPUPDATE, you update Computer or User Policy or both. More on this later in the guide.

GPUPDATE Parameters Explained

The information that followed GPUPDATE in the Syntax above are called parameters. The table below explains what each parameter mean.

ParameterDescriptionNotes
/Target:{Computer | User}Specifies that only User or only Computer policy should be updated. By default, both both settings are updated.By specifying /Taget:Computer, you are asking GPUPDATE to update Policies for Computers only. On the other hand, /Taget:User will just update User Policies.
/ForceBy default, only GPO settings that have changed are applied. When you use the /Force parameter, all GPO policies are reapplied.The /Force parameter is the most commonly used parameters.
/LogoffThe GPUPDATE /Logoff parameter forces the computer to logoff after the GPO settings have been updated.This is required for those GPO client-side extensions that do not process policy on a background update cycle but do process policy when a user logs on. Examples include user-targeted Software Installation and Folder Redirection. /Logoff option has no effect if there are no extensions called that require a logoff.
/Wait:{value}The /Wait option of GPUPDATE 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.
/BootThis switch is similar to /Logoff but instead of logoff, the computer will restart after the Group Policy settings are applied.
/SyncCauses the next foreground policy application to be done synchronously. Foreground policy applications occur at computer start up and user logon. You can specify this for the user, computer or both using the /Target parameter.The /Force and /Wait parameters will be ignored if the /Sync parameter specified.

GPUPDATE Examples and Applications

This section will show some examples of GPUPDATE. The quickest way to run GPUPDATE is without any parameter. See the command below:

 GPUPDATE 

The command without any parameter will update both computer and user policy. See the image below for the result.

To update just Computer polices, enter the command below in a command prompt then press Enter.

GPUPDATE /Target:computer

Now, just the computer policy was updated. See the image below.

If you want to update just User policies, replace computer with user in the previous command.

 GPUPDATE /Target:user

See the result below:

GPUPDATE (Group policy update)

Advertisement


Force GPUPDATE (How to Force GPUPDATE)

As I stated when I explained GPUPDATE parameters, running the command with the /Force parameter reapplies all GPO settings. If you wish to reapply all polices, execute the command below:

GPUPDATE /Force 

As you can see from the image above, the command with the /Force switch reapplies both Computer and User policies.

If you wish to reapply just the Computer or User policies, the /Force switch may be used with the /Target switch as shown below:

GPUPDATE  /Force /Target:computer 

The result of the command is shown below:

gpupdate (group policy update)

Conclusion

I hope this guide have improved your knowledge of GPUPDATE and how to use it. If you have any questions or comments, use the “Leave a Reply” form at the end of the guide.

You could also share your experience so other readers can benefit from it.

Other Helpful Guides

Additional Resources and References

LEAVE A REPLY

Please enter your comment!
Please enter your name here

FEATURED POSTS

How to Share a Folder in Windows 10 (3 Methods)

Introduction This guide demos how to share folder in windows 10. It covers 3 methods. Options...

How to Map Network Drive in Windows 10 (5 Methods)

Introduction This guide demos 5 methods to Map Network Drive in Windows 10. Options to...
How to Install Windows 10 1909 Preview Build

How to Install Windows 10 19H2 Preview Build

Introduction If you are a member of Windows 10 Insider Program you can install Windows 10 19H2 Preview Build....

How to Sign in to Windows 10 with a Microsoft Account

Introduction When you installed Windows 10 you may have created and signed in with a local account. You can...
Disable IPv6 in Windows 10

How to Disable IPv6 in Windows 10 (3 Methods)

Introduction This guide demos 3 methods to disable IPv6 in Windows 10: Disable IPv6 from...

Advertisement

TRENDING POSTS

Remote Desktop Connection

Remote Desktop Connection an Internal Error Has Occurred [Fixed]

Introduction I recently received the error message "Remote Desktop Connection an Internal Error Has Occurred". It was strange because...

Find My Samsung: Register and Use Samsung Find my Mobile

Introduction Ever wondered how you could find your Samsung phone if you lost it? Find my Samsung or Samsung...
What is the Difference Between PowerShell and CMD?

Windows Powershell vs CMD: Differences and Similarities

Introduction This short guide compares Windows PowerShell vs CMD (Windows command prompt). I will cover the history and nature...
Spotify No Longer Supports this Version of Microsoft Edge

Spotify No Longer Supports this Version of Microsoft Edge [Fixed]

Introduction When you open Spotify web player on Microsoft Edge, you may receive the error message "Spotify No Longer...
Windows 10 Won't Boot

Windows 10 Won’t Boot With Black Screen? 3 Ways to Fix It

Why Won't Windows 10 Boot Up? If your Windows 10 stops with a black screen, the first question in...

Advertisement

BEST OF ITECHGUIDES

disconnect Spotify from Facebook

How to Disconnect Spotify from Facebook

Want to disconnect spotify from Facebook? Maybe you prefer to sign in to Spotify with your email or simply want to separate...
Group Policy, GPResult, Group Policy Object and RSoP

Group Policy, Group Policy Object and RSoP Explained

Introduction This guide gives an overview of Group Policy, RSoP (Resultant Set of Policy) and Group Policy Objects.
Windows 10 Won't Boot

Windows 10 Won’t Boot With Black Screen? 3 Ways to Fix It

Why Won't Windows 10 Boot Up? If your Windows 10 stops with a black screen, the first question in...
Websites Like Craigslist - featured

Top 5 Websites Like Craigslist to Buy and Sell Stuff Online

Looking for websites like Craigslist? In this guide I offer my top 5 Craigslist alternative websites where you can buy and sell...
Disable IPv6 in Windows 10

How to Disable IPv6 in Windows 10 (3 Methods)

Introduction This guide demos 3 methods to disable IPv6 in Windows 10: Disable IPv6 from...

RECENT POSTS

How to Enable Hyper-V in Windows 10 (3 Methods)

How to Enable Hyper-V in Windows 10 (3 Methods)

Introduction This guide demos 3 methods to enable Hyper-V in Windows 10. To install Hyper-V...
RSAT Tools in Windows 10 Explained: Plus How to Install RSAT

RSAT Tools in Windows 10 Explained: Plus How to Install RSAT

Introduction Starting from October 2018 (1809) update, RSAT Tools became part of Windows 10. From this version of Windows...

How to Enable RSAT for Active Directory in Windows 10 (3 Methods)

Introduction This guide demos 3 methods to enable Active Directory in Windows 10. It is not exactly enabling "Active...
How to Install Windows 10 1909 Preview Build

How to Install Windows 10 1909 (19H2) Preview Build

Introduction Windows 10 1909 Preview is available for Windows Insiders. Made available early September, 2019 you have to be...
How to Install RSAT in Windows 10 (3 Methods)

How to Install RSAT in Windows 10 (3 Methods)

Introduction This guide demos how to Install RSAT in Windows 10. Starting with Windows 10...

How to Share a Folder in Windows 10 (3 Methods)

Introduction This guide demos how to share folder in windows 10. It covers 3 methods. Options...
Configure Map Network Drive with Group Policy

Map Network Drive in Windows 10 with Group Policy

Introduction This guide demos how to map network drive with group policy. This guide is...

How to Map Network Drive in Windows 10 (5 Methods)

Introduction This guide demos 5 methods to Map Network Drive in Windows 10. Options to...
How to Download Windows 10 ISO with Media Creation Tool

How to Download Windows 10 ISO with Media Creation Tool

Introduction This guide demos the steps to download Windows 10 ISO. You can download Windows 10 ISO with Media...

How to Install Windows 10 from Network Boot (Via WDS Server)

Introduction This guide demos how to install Windows 10 from network boot. The steps discussed in...

Advertisement

MUST READ

How to Check FSMO Roles Holders in Active Directory

Introduction This guide illustrates how to check FSMO roles in Server 2016. The are 5...
server 2016 not downloading updates from wsus

Fix for Server 2016 not Downloading Updates from WSUS

Introduction If you experience Server 2016 not downloading updates from WSUS, it is likely caused by a known bug....
RAID 3 (Redundant Array of Independent Disks) Explained

RAID 3 (Redundant Array of Independent Disks) Explained

What is RAID 3? RAID 3 is a RAID implementation that uses striping with a dedicated parity disk....
windows has stopped this device code 43

How to Fix Windows Has Stopped this Device Code 43 Error

Introduction Sometimes you may receive "Windows has stopped this device code 43" error. This error is likely to come...
Disable Windows Defender in Server 2016 from Server Manager

How to Disable Windows Defender in Windows Server 2016 (3 Methods)

Introduction This guide demos 3 methods to disable Windows Defender in Server 2016. Options to...

By using this website you agree to accept our Privacy Policy and Terms & Conditions