<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Complete Reset for Windows Update

Published on
26,814 Points
22,314 Views
5 Endorsements
Last Modified:
Community Pick
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
Author:MPCP-Brian
6 Comments
LVL 23

Expert Comment

by:Suliman Abu Kharroub
sorry please ignore my comment
0
LVL 48

Expert Comment

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




How do I reset Windows Update components?
http://support.microsoft.com/kb/971058
0
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

LVL 3

Expert Comment

by:suresh_boga
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
0
LVL 38

Expert Comment

by:younghv
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.
0
LVL 3

Expert Comment

by:suresh_boga
younghv:

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

Featured Post

PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month