gpupdate


gpupdate new in WS2003

Refreshes Group Policy settings.

Syntax

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

Options

/target:{computer user}

Specifies whether to process computer or user Group Policy settings (if omitted, defaults to both).

/force

Reapplies Group Policy settings.

/wait:Value

How long policy processing waits to finish (if omitted, defaults to 600 seconds). Use -1 to wait indefinitely.

/logoff

Logs off after refresh is finished to process Software Installation and Folder Redirection settings.

/boot

Restarts computer after refresh finished to process Software Installation settings.

Examples

Refresh Group Policy in Active Directory:

  gpupdate  Refreshing Policy...     User Policy Refresh has completed. Computer Policy Refresh has completed.     To check for errors in policy processing, review the event log. 

Notes

  • This command can refresh Group Policy settings stored either on standalone computers or in Active Directory.

  • The gpupdate command replaces secedit /refreshpolicy .

See Also

gpresult , Group Policy



Windows Server 2003 in a Nutshell
Windows Server 2003 in a Nutshell
ISBN: 0596004044
EAN: 2147483647
Year: 2003
Pages: 415
Authors: Mitch Tulloch

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net