Commands · Command

CommandWindows

gpupdate

gpupdate [/force]

Forces an immediate refresh of Group Policy settings on the local machine, instead of waiting for the normal periodic background refresh.

// FLAGS

/forcereapply all policy settings, not just changed ones
/target:computerrefresh only computer policy, not user policy

// EXAMPLE

gpupdate /force — immediately re-pulls and reapplies all Group Policy settings from the domain controller.

// GOTCHA

Some policy changes (like ones affecting startup scripts) only take effect after a reboot or logoff — gpupdate refreshes policy but doesn't guarantee every setting applies live.

// RELATED COMMANDS