July 25, 2008 5:10 AM PDT

Fixing Windows Update on XP SP3

Bad news: Service Pack 3 for Windows XP, or one of the subsequent patches, breaks Windows Update. Not all the time, but often enough that I got burned twice.

Good news: Microsoft offers free technical support for Windows Update and that support provided a solution to my problem.

While consumers are conditioned to call their hardware manufacturer for technical support, Microsoft offers free support for Service Pack 3 for Windows XP, IE7 and Windows Update. Support for SP3 and IE7 is offered on the phone (866-234-6020), although, I had a hard time qualifying. Support for Windows Update is offered by email.

(Credit: Microsoft)

To request assistance with Windows Update, start at the Windows Update website (Tools -> Windows Update in IE6 and IE7) and click on the "Get help and support" link in the gray stripe on the left. Then click on "Send a problem report".

The best way to do this is with Internet Explorer on the computer with the problem. This allows Microsoft to download an ActiveX control that gathers assorted debugging information and sends it back to them. In my case, this debugging information proved critical.

A Microsoft technician responded to my plea for help well within their 24 hour goal.

My problem was particularly annoying because there was no error code, thus nothing to search the net for. The error message simply referred to "a problem on your computer". In addition, a review of the update history (click on "Review your update history" in the left side gray stripe) showed no failures at all. I had even checked the system event logs and come up empty.

It turns out that Windows Update has 2.5 activity log files.

In addition to the "update history", there are two plain text log files in the C:\WINDOWS folder. The "half" is a file called "Windows Update.log" which doesn't seem to be used any longer. I checked four XP machines and in each case the file had almost no data and hadn't been updated in a long time.
Update: A reader named Joseph pointed out that this is from an older version of Windows Update.(July 27, 2008)

But the other log file, "WindowsUpdate.log" is a gold mine of information (this file has no spaces in the name). It was included in the debugging information sent to Microsoft and revealed that my problem was an error 0x80004002.

The Fix

Windows Update was resuscitated with the oldest trick in the book, re-installing the software.

Microsoft's first suggestion was to download version 3 of the Windows Update "Agent" (file WindowsUpdateAgent30-x86.exe) to the root of the C disk, then run it with Start -> Run and the following command:

C:\WindowsUpdateAgent30-x86.exe  /wuforce  

The installation was quick and painless. On both computers, this fixed the problem.

The link to this stand-alone version of the Windows Update agent may change over time. A technician at Microsoft suggested getting the software from here. This fix is also offered here, for a similar Windows Update problem.

How widespread is this problem?

There's no way for me to know how widespread this problem is. If you've had problems with Windows Update after installing Windows XP SP3 leave a comment below.

I don't use Automatic Updates, but if you do, and find the yellow shield never goes away, you may be experiencing this problem. To see, try running Windows Update manually from the website to insure it can install patches.

A brief search turned up forum postings at Microsoft.com from others with this problem. This thread, XP SP3 Preventing any other Windows Update Installs, started almost 3 months ago.

The thread includes an email from Microsoft technical support with three possible fixes. One of them, involving re-registering DLLs, was my fallback if the first suggestion didn't work. Scott Dunn from Windows Secrets covered re-registering Windows Update DLLs last September in Stealth Windows update prevents XP repair.

Finally, let me repeat a warning about upgrading to Internet Explorer 7. When you first install IE7, you get a known buggy version. After rebooting, run Windows Update immediately to get the patch shown below


Update July 27, 2008: After installing XP SP3 and all the subsequent patches on three more computers, my best guess is that the problem has to do with the type of license for Windows. On all four machines that were purchased from the same hardware vendor (very different models), Windows Update broke. However, a copy of Windows XP purchased at retail in a shrink-wrapped box had no problems with Windows Update.

See a summary of all my Defensive Computing postings.

Recent posts from Defensive Computing
The main problem with Windows Vista
Foxit PDF reader v2.3 updated with bug fixes
Cringely's iPhone Gripes
A warning about IE8 and Windows XP SP3
Be safer than NASA: Disable autorun
Add a Comment (Log in or register) 11 comments
by nenslo July 25, 2008 6:45 AM PDT
I'm the first-line tech support at my company and have been loath to patch everyone's PCs with SP3 because of this bug. Our most recent machines have come with SP3 preinstalled and I've found that this issue doesn't affect them all, which just made the process of diagnosing the issue that much more difficult. Thankfully, your post has helped me fix the machines with the bug.
Reply to this comment
by mhinnewyork July 25, 2008 9:10 AM PDT
@nenslo - In an earlier posting on this I speculated that the problem only occurs on machines running IE6. Just a guess on my part, but your observation lends credence to it. New machines with SP3 pre-installed would also have IE7 pre-installed. Michael Horowitz
Reply to this comment
by Druide_Fr July 29, 2008 6:58 AM PDT
I recently built a new computer at home from scratch, and decided to install XP in order to keep the ability to run old games. (I have Vista on my other machines and I'm very satisfied with it, but some games just don't play well on this OS). I purchased a new license of XP, but could not find it with SP3, so I purchased one with SP2 instead. I figured that upgrading to IE7 and SP3 would not be a problem, would it?

Well, it is a problem. I succeeded in upgrading to SP3 and IE7, but now Windows Update keep failing. The symptoms are exactly what is described above, except that when I look into WindowsUpdate.log (thanks for the hint) I see different error messages.

I had originally a problem with upgrading to IE7. This I solved by unregistering and reregistering a couple dll.

Lately the update to Windows .NET 1.1 and 2 kept failling. After a couple hours of work, and trying many of the solutions described here and on the Microsoft support site, I managed to get it to work, more or less (the installation of .NET 1.1 SP1 succeeded, but Windows Update seems not to be aware of that, and keep wanting to reinstall it). In order to do that I had to 1) remove the NET framework programs (from the Add/Remove Program feature) 2) unregister a bunch of dll 3) remove a dll and a directory from c:\windows 4) reregister another bunch of dll 5) go into the register and remove a bunch of keys 6) reboot three times 7) manually download .NET versions 1.1 and 2.0 8) then use Windows Update to get .NET 1.1 SP 1

Just for fun, I installed with success an unrelated Updated (Microsoft Search 4.0, I think it was), and it went without a hitch.

Something is broken in the new Update, and it is a subtle problem. I never repaired my OS, and it was installed clean on a brand new drive, so that's not a factor.

The amount of work and the skill required to maintain my XP version up to date seem to me to be way beyond what can be reasonably expected from the average user. This therefore means that many users will give up and keep their computer out of date, with all the security risks that may represent.

I myself wonder if it was worth the trouble. I mean, how important is Microsoft .NET Framework? I am not going to spend two hours every time they issue a new update.
Reply to this comment
by daibell July 29, 2008 1:58 PM PDT
I've now upgraded around a dozen Dell Vostros to SP3 and about 25% have then had Windows Update fail so it's a serious problem and appears to be random in whether it will fail after the SP3 upgrade. I've used the following fix found on the web and it has worked every time and appears to be the easiest fix I've seen amongst the fixes on the web:

Go to C:\Windows\System32 and find and register Wups2.dll. To do that, right click on it and select 'Open With' then 'Choose Program' and find C:\Windows\System32\Regsvr32.
If you choose to 'Always use the selected program to open this kind of file' then all you will have to do is double click on any .dll to register it. Once you have registered Wups2.dll your problem will disappear.
Reply to this comment
by kferraro August 5, 2008 10:35 AM PDT
Yes, happened twice to me too, and now I am curious about the IE6 link as that is what was being used on both machines that failed. I did the rergistration of the .dll and solved the problem. I am doing my third install right now and it looks like the updater is working correctly, so no rhyme nor reason. Fails on Dell Vostro 1000 and Latitude D600, works on Gateway e2610. You would think MS would get on the ball and fix this.
Reply to this comment
by pugz3d August 5, 2008 9:05 PM PDT
I didn't have this issue with my old gaming system, but did when rebuilding my sister's infected PC. After a clean install from the Dell OEM SP2 disc, it updated 1 batch ok I think, and then it refused to apply .NET 1.1 SP1 and a couple security updates. Reinstalling the agent worked like a charm. Thanks for including the steps instead of just linking to another site. Muchas Gracias.
Reply to this comment
by bfsamaral August 17, 2008 4:02 PM PDT
Recently I decided to clean a laptop and installed a fresh Windows XP Pro SP2. Then I checked for updates and found the SP3. When the installation ended, I checked for updates once again but all of them say that the updates can't be installed.

Even the IE7 gave an error when I tried to update from IE6, both from windows update and manual installer.

Can it be the same problem that you're talking about? Someone know a tip to solve one more Windows issue?

Thanks in advance.
Reply to this comment
by dcabanaw August 18, 2008 8:43 AM PDT
I had similar issues...

It seemed that automatic updates was turned on then off at one point but the service had already downloaded the updates. I turned the service back on updated through it. After that I was able to update windows through the website with other updates that the automatic service had not downloaded.
Reply to this comment
by spdye August 24, 2008 8:23 PM PDT
I need help with one of my systems as it was interrupted in the middle of an update and now it reboots and loops without loading windows. I tried f8 and last known good config, but it does not load windows either. Does anyone know how to recover from this loop. Do I NEED to repair my windows install. will this affect my future automatic updates. I have win xp sp3. thanks
Reply to this comment View reply
by drfeelgood824 August 26, 2008 8:38 PM PDT
So i'm not crazy...ha! Ever since I upgraded from SP2-SP3, I have numerous system errors, resulting in explorer.exe never fully loading. There was a system of event logs that attributed problems to DCOM.
These are the updates that won't install, as of 8-26-2008:
Security Update for Windows XP with Windows Media Format Runtime 9.5 and 11 (KB941569)
Security Update for Microsoft .NET Framework, Version 2.0 (KB928365)
Security Update for Windows XP (KB950762)
Security Update for Microsoft XML Core Services 4.0 Service Pack 2 (KB936181)
Security Update for Windows XP (KB951376)
Security Update for Windows XP (KB951698)
Update for Windows XP (KB951978)
Security Update for Windows XP (KB951748)
Security Update for Internet Explorer 7 for Windows XP (KB938127)
Cumulative Security Update for ActiveX Killbits for Windows XP (KB953839)
Update for Windows Media Player 11 for Windows XP (KB939683)
Security Update for Windows Media Player 11 for Windows XP (KB936782)
Update for Windows Media Format 11 SDK for Windows XP (KB929399)
Security Update for Outlook Express for Windows XP (KB951066)
Security Update for Windows XP (KB946648)
Security Update for Windows XP (KB952954)
Security Update for Windows XP (KB950974)
Update for Windows XP (KB951072)
Update for Windows XP (KB952287)
Reply to this comment
Powered by Jive Software
advertisement

Latest tech news headlines

Resource center from News.com sponsors
What you need in business class email.
Mailtrust

Click Here!
Never worry about email again. From mobility and shared calendaring to virus and spam protection starting at only $3 per mailbox. more>

Rackspace Mailtrust
Total Email Relief

We'll take care of your email so you can take care of your business.

14 Day Free Trial

With expert support 24x7x365 we guarentee 100% uptime. Try us for free for 14 days. Never worry about your email again.

Just $3 per mailbox

Choose the plan that is right for your company and only pay for what you need.

About Defensive Computing

Michael Horowitz is an independent computer consultant and the author of several classes on Defensive Computing. He views Defensive Computing as taking steps, when things are running well, to avoid or minimize the inevitable problems down the road. It's about educating yourself to the level where you can make your own intelligent decisions about keeping your computers and data happy and healthy. If you depend on computers, yet are on your own, without an IT department or nearby nerd, this blog's for you. His personal web site is michaelhorowitz.com.

He is a member of the CNET Blog Network and is not an employee of CNET.

Disclosure.

Add this feed to your online news reader

Defensive Computing topics

Featured blogs

advertisement

Inside CNET News

Scroll Left Scroll Right
  • Nanotech: The Circuits Blog

    Intel ships low-power chips for servers

    New server chips from processor giant draw as little as 12.5 watts per core.

  • Gallery

    Photos: Top 10 reviews of the week

    Here are CNET Reviews' 10 favorite items from the past week, including the TiVo HD XL, Sony Cyber-shot DSC-H50, and the Dish Network's newest digital TV converter box.

  • News - Apple

    Apple watchers spot 'iPod Nano' pix, iTunes hints

    The rumor mill has long been predicting a longer, leaner new version of the iPod Nano, and now it's conjuring up some pictures.

  • Coop's Corner

    Chris Shipley 1, Internet lynch mob 0

    Demo's impresario goes public with a tart and smartly written riposte to the shoot-from-the-lip crowd.

  • Video

    Katie Couric reflects on first Webcast

    The political conventions are over and so are CBS Evening News anchor Katie Couric's first series of Webcasts. CNET's Kara Tsuboi sat down with Couric on the final night of the Republican National Convention to discuss what she liked about Webcasting, some of her most memorable guests, and whether TV news will still be around by the next round of conventions.

  • News - Digital Media

    Ad trade group opposes Yahoo-Google search deal

    Association of National Advertisers announces it has sent a letter to the top antitrust chief for the U.S. Department of Justice, issuing its objections to the controversial Yahoo-Google search ad partnership.

  • Video

    YouTube plays party politics

    During the presidential campaigning four years ago, YouTube didn't even exist. Now it's a tool candidates must master to get their message across. CNET's Kara Tsuboi stops by the YouTube upload booths at the Democratic and Republican conventions to find out why Google's video site has such a big presence in Denver and St. Paul, Minn.

  • News - Gaming and Culture

    Are Demo and TechCrunch50 fragmenting their audiences?

    With both events scheduled to start Monday, many press, as well as venture capitalists and others are having to choose which one to attend.

  • News - Cutting Edge

    Execs predict next Google-like tech

    On eve of company's 10-year anniversary, researchers and business pundits speculate about what technologies might someday have as much impact as Google.

  • Gallery

    Images: The art of 'Spore' prototypes

    Will Wright and his Maxis team worked on dozens of prototypes to test the elements of their soon-to-be-released evolution game. Here's a sampling.

  • Webware

    DemoFall preview: 10 to watch

    If you can only watch 10 pitches from DemoFall, these would be good ones.

  • Green Tech

    TI does energy efficiency on a chip

    Its line of Piccolo microcontrollers can reduce power consumption significantly of home appliances, hybrid cars, LED lighting, and even solar panels.