Home > Microsoft > Delete and repair a wsus client

Delete and repair a wsus client

March 22, 2011



This procedure is for fixing problems with installing updates or reporting to a wsus server. It will

– stop the related services
– delete all downloaded updates
– start the related services again
– re-register at the wsus server it is configured to use

1.Log on to the computer as an administrator

2.Run the following set of commands from the commando prompt

net stop bits
net stop wuauserv
del /f /s /q %windir%SoftwareDistribution*.*
%windir%system32regsvr32.exe /s %windir%system32atl.dll
%windir%system32regsvr32.exe /s %windir%system32jscript.dll
%windir%system32regsvr32.exe /s %windir%system32msxml3.dll
%windir%system32regsvr32.exe /s %windir%system32softpub.dll
%windir%system32regsvr32.exe /s %windir%system32wuapi.dll
%windir%system32regsvr32.exe /s %windir%system32wuaueng.dll
%windir%system32regsvr32.exe /s %windir%system32wuaueng1.dll
%windir%system32regsvr32.exe /s %windir%system32wucltui.dll
%windir%system32regsvr32.exe /s %windir%system32wups.dll
%windir%system32regsvr32.exe /s %windir%system32wuweb.dll
net start bits
net start wuauserv
wuauclt /resetauthorization /detectnow

 

Thnx PTS 🙂

%d bloggers like this: