WSUS: Script to delete duplicate SID created by Disk Imaging / Disk Cloning(英語情報 - マイクロソフト サポートオンライン 文書番号:555452)

WSUSクライアントのディスクイメージをクローンすると、レジストリに保存された「SusClientId」「AccountDomainSid」「 PingID」もそのままコピーされてしまい、複数のクライアントで重複するために、WSUSコンソールに情報が表示されない。自動更新も阻害されているかどうかは今のところ未確認。
該当するレジストリキーを削除し、もう一度取得し直せばよい。この作業のためにマイクロソフトが用意したログオンスクリプトは以下の通り。

@echo off
Echo Save the batch file "AU_Clean_SID.cmd". This batch file will do the following:
Echo 1. Stop the wuauserv service
Echo 2. Delete the AccountDomainSid registry key (if it exists)
Echo 3. Delete the PingID registry key (if it exists)
Echo 4. Delete the SusClientId registry key (if it exists)
Echo 5. Restart the wuauserv service
Echo 6. Resets the Authorization Cookie
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

「@echo off」から「@echo on」まではコメントなので不要、それ以下を(例えばこの例だと)「AU_Clean_SID.cmd」として保存し、該当するクライアントで一度実行すればよい。休み明けに確認のうえ展開。