close

Q.WSUS中發現電腦清單中無法順利加入某台主機。 

-衍伸問題:發現兩臺主機互相替換,主機A ó主機B,但無法同時顯示。 

 

SID重覆或WSUS Client ID重覆。

 

1.SID重覆:使用New SID處理即可。

 

2.Client ID重覆:

當主機連線至WSUS後,由WSUS派發一組ClientID儲存至該主機登錄檔中。

當作業系統是利用複製的方式產生時,將導致ClientID重覆造成此問題。

 

1.尋找WSUS LOG檔,尋找相關的Client ID記錄。(或者可於登錄檔中查詢)

參考網站:http://support.microsoft.com/kb/902093/zh-tw#top

本文將告訴您,如何讀取 Windowsupdate.log 檔案。 如果要檢視記錄檔,請依照下列步驟執行:

  1. 按一下 [開始],然後按一下 [執行]
  2. [開啟] 方塊中輸入windowsupdate.log,],,然後再按一下 [確定]]

2.檢查後,發現主機ABClient ID重覆。

主機AclientId = 7c8fe9ad-603b-407c-b2be-e0f71157aa75,

主機BclientId = 7c8fe9ad-603b-407c-b2be-e0f71157aa75

 

3.於主機AB使用以下語法進行Client ID重置。

參考網站:http://msmvps.com/blogs/athif/pages/66376.aspx

http://gallery.technet.microsoft.com/scriptcenter/9faf2085-f8ca-4799-8d45-b0e654da71f7

 

將以下語法儲存成批次檔執行即可:

@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

 

3.檢查主機BClient ID,已完成重置。(可於登錄檔中觀看)

主機BclientId = 959d29cd-40db-4811-9222-09d7d40f6439,

 

 

 

4.兩臺主機皆正常加入WSUS電腦清單中。

 

arrow
arrow
    全站熱搜

    masterman 發表在 痞客邦 留言(0) 人氣()