Common Tasks

Recent Posts

Community

Email Notifications

Personal Links

Archives

Security Protection - Harry Waldron (CS)

Security Best Practices, Breaking News, & Updates

Windows Update - Solution if it stops working after XP repair mode

Computer Microsoft recently introduced improvements to Windows Update and this appears to be working well, except in cases where a PC becomes unusable and the "repair mode" process is used. After restoring XP to an earlier state, there is a glitch between the old and new versions of Windows Update.  The Windows Secrets article below is excellent and outlines steps that corporate users can employ now, until Microsoft corrects this issue. The links and key quotes from the article are noted below:
 
 
 Stealth Windows update prevents XP repair Printable version
 http://windowssecrets.com/2007/09/27/03-Stealth-Windows-update-prevents-XP-repair
 
 QUOTE:
 
 Repaired installations of XP can't be updated
 
 The trouble occurs when users reinstall XP's system files using the repair capability found on genuine XP CD-ROMs. (The feature is not present on "Restore CDs.") The repair option, which is typically employed when XP for some reason becomes unbootable, rolls many aspects of XP back to a pristine state. It wipes out many updates and patches and sets Internet Explorer back to the version that originally shipped with the operating system.
 
 However, after using the repair option from an XP CD-ROM, Windows Update now downloads and installs the new 7.0.600.381 executable files. Some WU executables aren't registered with the operating system, preventing Windows Update from working as intended. This, in turn, prevents Microsoft's 80 latest patches from installing — even if the patches successfully downloaded to the PC.
 
 
 
Manually registering files solves the problem
 
 If you find that Windows Update refuses to install most patches, you can register its missing DLLs yourself. This can be accomplished by manually entering seven commands (shown in Step 2, below) at a command prompt. If you need to run the fix on multiple machines, it's easiest to use a batch file, as Steps 1 through 5 explain:
 
 Step 1. Open Notepad (or any text editor).
 
 Step 2. Copy and paste the following command lines into the Notepad window (the /s switch runs the commands silently, freeing you from having to press Enter after each line):
 
 regsvr32 /s wuapi.dll
 regsvr32 /s wuaueng1.dll
 regsvr32 /s wuaueng.dll
 regsvr32 /s wucltui.dll
 regsvr32 /s wups2.dll
 regsvr32 /s wups.dll
 regsvr32 /s wuweb.dll
 
 Step 3. Save the file to your desktop, using a .bat or .cmd extension.
 
 Step 4. Double-click the icon of the .bat or .cmd file.
 
 Step 5. A command window will open, run the commands, and then close.
 
 The next time you visit the Windows Update site, you should not have any problem installing the latest patches.

Comments

Santos said:

Works fine.. THANKS

# October 2, 2007 3:09 PM

Pablo Maiorino said:

A lifesaver ! No other solutions worked. Tried deleting softwaredistribution and catroot2 folders in %windir% and %windir%\system32  as per microsoft instructions from a while back when I had this issue.

After using repair was the key. It is strange that no errors are returned. It just fails and  gives no further info.  

Thanks a bunch

Pablo Maiorino

# October 4, 2007 1:59 PM

Bill said:

This solution worked for me after seeing the windows update log files spammed with:

Setup encountered an error:  The  update.ver file is not correct.

Setup encountered an error:  The  update.ver file is not correct.

Setup encountered an error:  The  update.ver file is not correct.

# October 6, 2007 9:21 AM

Tri said:

Wonderfull, thx for the help :)

# November 4, 2007 5:08 AM

roger Louis Gundberg said:

Worked like a champ! You're a genius!

# December 6, 2007 11:46 AM

Jim said:

Thanks a lot. Worked like a charm

# December 11, 2007 9:08 PM

Andrew said:

Finally... I've found the solution, and it works. I've been stuffing about for hours with google and searching in forums trying to find a solution, and this is it.

I am so keeping a copy of that batch file on a USB stick for next time I upgrade my motherboard, processor and ram and have to do a revert to the CD rebuild.

Great work Harry, I was really pulling my hair out over this one.

# December 13, 2007 6:45 AM

John Morgan said:

Thank you!  Thank You!  Microsoft's own repair does not give you the real story (whats new).  Tried the Microsoft's manual registration procedure with no success.  The updater kept trying to install the already downloaded updates.  Did not realize that:  "The next time you visit the Windows Update site, you should not have any problem installing the latest patches."  Worked like a charm!

# January 2, 2008 3:34 PM

clonedvd movie said:

Fortune Magazine estimated that by the end of 2008 there would be more then 18 million VoIP users in the US.

# March 31, 2008 8:23 PM

Peter said:

Just another boring thanks :) I've had this issue a few times before but found a working solution here. I wonder why MS does not know what's happening and why would not they give us the proper solution...

Anyway, a big thank you!!!

# May 7, 2008 7:24 PM

Chasity Z said:

Thanks so much, worked like a charm

# June 30, 2008 6:48 AM

Lalayaksa said:

thank you so much! You the genius!

# January 1, 2009 8:21 AM