Script to reset WSUS ID

Reading Time: < 1 minute

Copy the below script to notepad, rename file (example, ResetWSUSid.bat

reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId
pause

net stop wuauserv
net stop bits
@ping 127.0.0.1 -n 2 >NUL
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientIdValidation /f

pause
net start wuauserv
net start bits

gpupdate /force
@ping 127.0.0.1 -n 3 >NUL
wuauclt /resetauthorization
wuauclt /detectnow
wuauclt /reportnow

@ping 127.0.0.1 -n 5 >NUL
notepad c:\windows\WindowsUpdate.log
@ping 127.0.0.1 -n 10 >NUL
notepad c:\windows\WindowsUpdate.log

Please follow and like us: