→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
i_kulgu
Champion Sweeper

Fix for client computers that are cloned and not reporting to WSUS server.
It will delete the "SusClientId" and "SusClientIdValidation" from the registry location: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate .
After deleting reg keys it will update gp, stop services, delete SoftwareDistribution directory, delete windowsupdate.log file, re-register WSUS dll files, start services and re-register to WSUS server.

This is the batch file used:


REG Delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId  /f
REG Delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientIdValidation /f

gpupdate
net stop wuauserv /y
net stop BITS /y
rd C:\WINDOWS\SoftwareDistribution /s /Q
del "c:\windows\windowsupdate.log"
regsvr32 WUAPI.DLL /s
regsvr32 WUAUENG.DLL /s
regsvr32 WUAUENG1.DLL /s
regsvr32 ATL.DLL /s
regsvr32 WUCLTUI.DLL /s
regsvr32 WUPS.DLL /s
regsvr32 WUPS2.DLL /s
regsvr32 WUWEB.DLL /s
regsvr32 msxml3.dll /s
net start wuauserv /y
wuauclt.exe /resetauthorization /detectnow
0 REPLIES 0