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_SID.cmd". 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

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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章