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

  • /force

    Reapplies all policies, not just the ones that changed.

  • /target:computer|user

    Updates only the computer policies or only the user ones.

  • /wait:segundos

    Time to wait for the policies to be processed.

  • /logoff

    Logs off afterwards if any policy requires it.

  • /boot

    Restarts the computer afterwards if any policy requires it.

Usage examples

  • gpupdate

    Applies new or modified policies.

  • gpupdate /force

    Reapplies all policies.

  • gpupdate /target:computer

    Updates only the computer policies.

  • gpupdate /target:user /force

    Reapplies 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.

Related commands