gpupdate
Windows CMD · System · reference only
What it does
Refreshes the computer and user group policies without waiting for the next automatic cycle.
Syntax
gpupdate [opciones]
Options and parameters
/forceReapplies all policies, not just the ones that changed.
/target:computer|userUpdates only the computer policies or only the user ones.
/wait:segundosTime to wait for the policies to be processed.
/logoffLogs off afterwards if any policy requires it.
/bootRestarts the computer afterwards if any policy requires it.
Usage examples
gpupdateApplies new or modified policies.
gpupdate /forceReapplies all policies.
gpupdate /target:computerUpdates only the computer policies.
gpupdate /target:user /forceReapplies only the user policies.
Notes and common mistakes
- It is useful on machines in an Active Directory domain; a personal machine has few policies to apply.
- To see what was applied, use gpresult.