<

Complete Reset for Windows Update

Published on
26,431 Points
21,931 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
Comment
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
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

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

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Join & Write a Comment

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