Sometimes Machines will get updates from WSUS and not report. This is usually caused by Duplicate WSUS SIDs shared between machines. This is usually a result of cloning or deploying from a template. Once you run this script the machine will delete its current SUS ID and reach out to the configured WSUS server to get a new one.  Please rate if this is useful.

 

Bash/shell
Edit|Remove
net stop wuauserv 
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 
net start wuauserv 
wuauclt.exe /resetauthorization /detectnow 
pause