Windows: Refreshing Security Policies (GPO)

Instead of closing and reopening your session to verify that security policies are working properly, there are commands to avoid disconnecting.

  • Windows 2000:
secedit /refreshpolicy machine_policy /enforce
  • Windows XP:
gpupdate /force