Windows update client reset

A deployed image giving error using windows update (wsus server).

Be shure that at the final stage of the image a sysprep or newsid is applied.

net stop "Windows Update"
del /f /s /q %windir%\SoftwareDistribution\*.*
REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /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 "Windows Update"
wuauclt.exe /resetauthorization /detectnow
pause

This is it.

This entry was posted in Windows Server 2008, Windows7 and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *