Wsus Client ID重复问题

当您使用 Sysprep分装后生成新的镜像文件包, 如果部署之前,不被清除 SusClientId 注册表值。 就有可能新的镜像文件的 Wsus Clinet ID都是同一個,因而Wsus服务端上就没有办法发现这个新的机器名了。

 

若要解决此问题,请按照下列步骤操作: 

 

单击 开始 ,单击 运行 ,在 打开 框中, 键入 cmd ,然后单击 确定 。
在命令提示符下,键入 net stop wuauserv ,然后按 ENTER 键。
单击 开始 ,单击 运行 ,在 打开 框中, 键入 regedit ,然后单击 确定 。
找到并单击下面的注册表子项:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate 
在详细信息窗格的注册表编辑器中, 删除以下注册表项: 
PingID
AccountDomainSid
SusClientId
SusClientIDValidation

注意 Windows Update 代理 3.0 添加 SusClientIDValidation 值。 在 5 月 2007 年发布此值。 在这两个 Windows Update Agent 2.0 和 Windows Update 代理 3.0 中存在其他注册表项。
退出注册表编辑器。 
在命令提示符下,键入 net start wuauserv ,然后按 ENTER 键。
在命令提示符下,键入 wuauclt.exe /resetauthorization /detectnow ,然后按 ENTER 键。 
等待完成一个检测周期的 10 分钟。
启动 WSUS 控制台以确保在 WSUS 控制台中显示客户端。
 

 

 

网络上也出现了人家写的一个简单批处理来删除重复的client ID

 

Script Code

============================================

@echo off
Echo Save the batch file "AU_Clean_SIDNaNd". This batch file will do the following:
Echo 1. Stops the wuauserv service
Echo 2. Deletes the AccountDomainSid registry key (if it exists)
Echo 3. Deletes the PingID registry key (if it exists)
Echo 4. Deletes the SusClientId registry key (if it exists)
Echo 5. Restarts the wuauserv service
Echo 6. Resets the Authorization Cookie
Echo 7. More information on http://msmvps.com/Athif
Pause
@echo on
net stop wuauserv
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
net start wuauserv
wuauclt /resetauthorization /detectnow
Pause

============================================