FAQ: Q52

Link: http://www.ilopia.com/FAQ/FAQ.aspx?id=52


Looks like I cannot use secedit /refreshpolicy in Windows Server 2003. How do I refresh the policies?

From now on, you use gpupdate to refresh local Group Policy settings and Active Directory Group Policy settings.

Usuage:
gpupdate [/target:{computer|user}] [/force] [/wait:Value] [/logoff] [/boot]

/target:{computer|user}
Refreshes only the computer settings, or only the user settings. By default, both are refreshed. 

/force
Forces an update

/wait:Value
Waits the number of seconds you specify. The default is 600. 0 means no wait, and -1 is wait indefinitely

/logoff
Logs off after the refresh has completed. Some policies, such as Folder Redirection processes when the user logs on, and do not process on a background refresh cycle, which means that the change will not apply until the user has logged off.

/boot
Restarts the computer after the refresh has completed. Some polices such as Computer Group Policy Software Installation processes when the computer starts.

Copyright © 2002 - 2004 Kristofer Gafvert