Professional Windows Server 1002003 Security A Technical Reference [Electronic resources]

Roberta Bragg

نسخه متنی -صفحه : 415/ 312
نمايش فراداده

gpupdatenew 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