Community Pick: Many members of our community have endorsed this article.

Complete Reset for Windows Update

MPCP-Brian
CERTIFIED EXPERT
Published:
Updated:
Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again!

The code snippet is for a batch file. Copy the code to a text file and rename the file (whatever you want).bat
Then run the batch file!

net stop wuauserv
rmdir %windir%\softwaredistribution /s /q
rmdir %windir%\system32\softwaredistribution /s /q
regsvr32 /s wuaueng.dll
regsvr32 /s wuaueng1.dll
regsvr32 /s atl.dll
regsvr32 /s wups.dll
regsvr32 /s wups2.dll
regsvr32 /s wuweb.dll
regsvr32 /s wucltui.dll
net start wuauserv
pause
5
23,217 Views
MPCP-Brian
CERTIFIED EXPERT

Comments (6)

Suliman Abu KharroubIT Consultant
CERTIFIED EXPERT

Commented:
sorry please ignore my comment
DonNetwork Administrator
CERTIFIED EXPERT

Commented:
Microsoft has a "Fix it for me" that is more thorough




How do I reset Windows Update components?
http://support.microsoft.com/kb/971058
Use Dial-a-fix tool  - The best tool for troubleshooting windows update issues.

http://www.softpedia.com/get/System/System-Miscellaneous/Dial-a-fix.shtml
CERTIFIED EXPERT
Author of the Year 2011
Top Expert 2006

Commented:
suresh_boga:

I'm not sure what you are thinking, but that "Dial-a-fix" appears not to have been updated since March 2006.

Surely our readers would be better served by using current tools?

The link posted by 'dstewart' would seem to be much the better decision.
younghv:

Agree with your comment but wrt article - DAF is powerfull tool for Windows OS till XP SP3

View More

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.

Get access with a 7-day free trial.
You Belong in the World's Smartest IT Community