→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎01-13-2016 10:43 AM - last edited on ‎07-05-2023 09:22 AM by ErikT
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
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now