2013年10月1日 星期二

windows-policy register



Windows Server 2008, 7: gpupdate to update group policy


administrator template

pstools
gpupdate /target:computer
psexec \\desktop shutdown /r


To re-register Windows client/server in WSUS review the following instructions:

1. Run "gpupdate /force" command on the Windows client/server  that have a registration issue in WSUS.

2. Run "wuauclt /detectnow " command on the Windows client/server that have a registration issue in WSUS.


Tip: You can use the Event Viewer to review the re-registration 

Troubleshooting Tools

http://www.microsoft.com/technet/prodtechnol/sbs/2003/support/documentation/53979bbb-3099-44ac-98bc-097959ac8b5c.mspx?mfr=true

3. In rare cases, you may need to run: "wuauclt.exe /resetauthorization /detectnow" command


        command on the Windows client/server that have a registration issue in WSUS.


gpupdate

inf : http://technet.microsoft.com/en-us/library/bb490983.aspx

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

/target: { computer | user } : Processes only the Computer settings or the current User settings. By default, both the computer settings and the user settings are processed.

/force   : Ignores all processing optimizations and reapplies all settings.

/wait: value   : Number of seconds that policy processing waits to finish. The default is 600 seconds. 0 means "no wait"; -1 means "wait indefinitely."

/logoff   : Logs off after the refresh has completed. This is required for those Group Policy client-side extensions that do not process on a background refresh cycle but that do process when the user logs on, such as user Software Installation and Folder Redirection. This option has no effect if there are no extensions called that require the user to log off.

/boot   : Restarts the computer after the refresh has completed. This is required for those Group Policy client-side extensions that do not process on a background refresh cycle but that do process when the computer starts up, such as computer Software Installation. This option has no effect if there are no extensions called that require the computer to be restarted.

/? : Displays help at the command prompt.

gpupdate
gpupdate /target:computer
gpupdate /force /wait:100
gpupdate /boot 

沒有留言:

張貼留言