Gpupdate Command Jun 2026
gpupdate [/target:computer ] [/force] [/wait: ] [/logoff] [/boot] [/sync] Use code with caution. The Most Common Parameters 1. Standard Update gpupdate Use code with caution.
This ensures all policies are reapplied and then forces a reboot to handle changes that require a startup.
Invoke-GPUpdate -Computer "Workstation01" -Target "Computer" -Force Use code with caution.
This is ideal for user-specific policies like folder redirection that only apply during logon. gpupdate command
Do you need to run this across multiple network computers?
Limits the refresh strictly to User configuration policies (e.g., desktop backgrounds, mapped drives).
Some Group Policy settings—such as Folder Redirection, Software Installation, or Drive Mapping—cannot be applied in the background while the user is actively working. These are known as foreground or synchronous policies. They require a clean environment to execute. gpupdate /sync Use code with caution. This ensures all policies are reapplied and then
When gpupdate fails to execute successfully, it usually points to underlying infrastructure problems like DNS misconfigurations, domain controller replication issues, or firewalls blocking active communication. Applying Group Policy troubleshooting guidance
Issue: Settings are inconsistent or missing. A standard refresh won’t reset them. gpupdate /force /boot Why? The /force writes all settings again, wiping out any conflicted local state.
Right-click on Command Prompt or PowerShell and select Run as Administrator . User policies can be updated without admin rights, but Computer policies require elevated permissions. Summary of Commands gpupdate Applies only new or modified Group Policies. gpupdate /force Re-applies all Group Policies (changed and unchanged). gpupdate /target:computer Refreshes only the computer-based policy settings. gpupdate /target:user Refreshes only the user-based policy settings. gpupdate /sync Forces foreground processing on the next reboot/logon. gpupdate /boot Do you need to run this across multiple network computers
gpupdate /force /boot shutdown /a (to abort if needed)
updates—policies that have changed or are new since the last refresh. ServerAcademy.com Essential Switches and Parameters
Invoke-GPUpdate -Computer "ComputerName" -Force