How to Fix Microsoft Update Not Installing Updates or Failed Updates in Microsoft Windows XP

23
Feb 2011

How to Fix Microsoft Update Not Installing Updates or Failed Updates in Microsoft Windows XP

comment icon12 comment(s) |

Overview

When installing Microsoft Updates in the XP, Windows Server 2003, or Windows 2000 operating systems, a 0x800A01AE error might appear. There are also times when once an update is downloaded it won't install properly, and the update screen shows that the update has failed. Even after rebooting the system and re-applying the Windows Update, it immediately shows that the install has failed. In some cases, the update will install, but Windows will not allow any other new updates to be downloaded and/or installed. This was a very common issue that occured after Windows XP Service Pack 3 was released. However, there is a very quick fix. Follow the instructions below.

Edit: The fix listed in this blog post has worked with many Windows 7 and Server 2008 Microsoft Update errors as well.

Instructions

You will need to re-register your Windows Update DLL.

  1. You will need to start a Command Prompt. To do this go to Start, click Run, type cmd, and then click OK.
  2. Type the following commands (one at a time)
  • regsvr32 wuapi.dll
  • regsvr32 wuaueng.dll
  • regsvr32 wuaueng1.dll
  • regsvr32 wucltui.dll
  • regsvr32 wups.dll
  • regsvr32 wups2.dll
  • regsvr32 wuweb.dll

You should now be able to run Windows Update again.

 

Alternatively, if you don't feel like manually typing all these commands out or you need to run this command on multiple machines, follow these instructions:

  1. Open up Notepad
  2. Copy and paste all of the regsvr32 commands from below into notepad.
    • c:\windows\system32\regsvr32 wuapi.dll /s
    • c:\windows\system32\regsvr32 wuaueng.dll /s
    • c:\windows\system32\regsvr32 wuaueng1.dll /s
    • c:\windows\system32\regsvr32 wucltui.dll /s
    • c:\windows\system32\regsvr32 wups.dll /s
    • c:\windows\system32\regsvr32 wups2.dll /s
    • c:\windows\system32\regsvr32 wuweb.dll /s 

    Note a few things:

    • You will need to execute the commands in your %windir%\system32 folder. c:\windows\system32 is the default path for XP.
    • The /s is optional. This executes running in "silent mode" so you won't have to approve every command.
  3. Save your text file as regsvr32.bat (note that you can name this file anything you'd like, just make sure that the extension on the end is a batch or .bat file type)
  4. Put your newly created batch file on your desktop or another easily accessible location.
  5. Execute the file.

 

If this does not work, Microsoft has recently updated (around June 2011) one of their articles with much more detailed instructions. If the fix above does not work, follow the instructions in this article to completely reset your Windows Updates: http://support.microsoft.com/kb/971058.

 

Here is the original article from Microsoft used to create this blog post: http://update.microsoft.com/microsoftupdate/v6/showarticle.aspx?articleid=38&ln=en, Accessed April, 2006.

Comments

April 3, 2013

Prasad

IT works...

Thanks..

April 4, 2013

ijahanshahi

No problem!

No problem!

June 21, 2013

PMR

Thanks IJ

Worked like a champ. Thank you!

June 24, 2013

spugm1r3

This worked for error

This worked for error 0x80070002 as well.

September 2, 2013

JC

How to Fix Microsoft Update Not Installing Updates or Failed Upd

Thank you this simply worked. Thank you

October 11, 2013

Anonymous

Can only install MS updates 5 or 6 at a time. MS 2008 R2 server

We have some 2008 R2 vmware virtual servers that will not install the updates at once. If I get 20 updates and try to install them all at once It will download and install and indicate that the install was successful. After rebooting and checking it will show that all the updates were a failure, but if I install them 5 or 6 at a time it will show successful update.

What the heck is that all about?

Thanks Much

November 22, 2013

ijahanshahi

Conflicting Updates

The best thing to do in this case is try to isolate where this might be occurring and see what's common with the issues occurring.

Is this issue occurring on all your 2008R2 Servers or just a select few?
Is this occurring during every update window?
How are you running updates? Manually on every VM or through some sort of management software?
Are you running into similar issues with "non-domain" machines?

Here are a couple of areas to check
- Do you have a GPO setting that might be restricting what user has permissions to do writes? Based off what you provided, I doubt there is a GPO policy that might be affecting what's going on, but I've seen instances of where not all domain admins are not properly defined in the "local security policy" settings and somehow that confuses Windows and will allow the domain admin to act as a local administrator, but certain services can't run properly after a machine has been rebooted.
- Do your event logs have anything listed when the error occurs? There should be an error code associated with the failure of your download. Normally there is a lot of documentation on the net for the different failure codes, so this is another good starting spot.
- Does your firewall have some sort of filter and may be possibly blocking the download? I've seen intrusion prevention systems allow downloads to occur, however if too much data is coming in from one traffic source, it will stop the download from occurring at 90-99%. Sometimes these files or downloads will report as completed, although the data is corrupt. What may be occurring in this case is that Windows thinks that the download has been completed, tries to apply the update, and the update fails because not all the data is present.

December 16, 2013

Shoebee

updates failing

Didn't work. Tried both fixes. I've seen this a lot lately.

December 30, 2013

Anonymous

It's work !! Many thanks to

It's work !!

Many thanks to IJ

March 7, 2014

Vita

Thanks a lot. Worked on my

Thanks a lot. Worked on my Windows Server 2003 R2 as well

April 15, 2014

Craig

Running Windows 7 Home

Running Windows 7 Home Premium. Using Command Prompt, lines 3, 4, and 7 failed to load but it fixed Windows Update. Thanks for the help!!!

September 22, 2014

Cham

Updates

Your instructions allowed the updates to install and revived an old server we were trying to get back online. Many thanks.

Search