Article ID: 956708 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

When you try to install updates by using the Windows Update or Microsoft Update Web site, you may receive the following error message:
0x80004002
You may experience this problem if one or more of the following conditions are true:
  • You repair your Windows XP Service Pack 2 (SP2) installation by using the Windows XP SP2 CD. Then, you install Windows XP Service Pack 3 (SP3) before you update the Windows Update software to the current version.
  • You perform a clean install of Windows XP SP2. Then, you install Windows XP SP3 before you update the Windows Update software to the current version.
  • The current version of Windows Update is not installed and registered correctly.

CAUSE

This problem occurs when the Windows Update agent file, Wups2.dll, is registered incorrectly. When the registry files that correspond to the Wups2.dll file are missing, update installations are unsuccessful.

RESOLUTION

To resolve this issue, use the following methods in the order in which they are presented.

To have us perform Method 1 for you, go to the "Fix it for me" section. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.

Fix it for me



To fix this problem automatically, click the Fix it button or link. In the File Download dialog box, Click Run, and then follow the steps in the Fix it Wizard.


Fix this problem
Microsoft Fix it 50687


Notes
  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
  • If you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.

Then, go to the "Did this fix the problem?" section.



Let me fix it myself

Method 1: Register the Windows Update files

If you are running Windows XP, Windows Server 2003, or Windows 2000, follow these steps:
  1. Click Start, click Run, type notepad and then click OK.
  2. Copy the following commands, and then paste them into the Notepad window.
    REGSVR32 WUPS2.DLL /S
    REGSVR32 WUPS.DLL /S
    REGSVR32 WUAUENG.DLL /S
    REGSVR32 WUAPI.DLL /S
    REGSVR32 MUCLTUI.DLL /S
    REGSVR32 WUCLTUI.DLL /S
    REGSVR32 WUWEB.DLL /S
    REGSVR32 MUWEB.DLL /S
    REGSVR32 QMGR.DLL /S
    REGSVR32 QMGRPRXY.DLL /S
  3. On the Notepad File menu, click Save As.
  4. In the File name box, type register.bat, and then click All Files in the Save as type box.
  5. Save the register.bat file to the desktop.
  6. Double-click the register.bat file to register the Windows Update files.
  7. Try to install updates again.
If you are running Windows Vista or Windows Server 2008, follow these steps:
  1. Click Start
    Collapse this imageExpand this image
    Start button
    , type notepad in the Start Search box, and then click notepad in the Programs list.
  2. Copy the following commands, and then paste them into the Notepad window.
    REGSVR32 WUPS2.DLL /S
    REGSVR32 WUPS.DLL /S
    REGSVR32 WUAUENG.DLL /S
    REGSVR32 WUAPI.DLL /S
    REGSVR32 WUCLTUX.DLL /S
    REGSVR32 WUWEBV.DLL /S
    REGSVR32 JSCRIPT.DLL /S
    REGSVR32 MSXML3.DLL /S
  3. On the Notepad File menu, click Save As.
  4. In the File name box, type register.bat, and then click All Files (*.*) in the Save as type box.
  5. Save the register.bat file to the desktop.
  6. Right-click the register.bat file, and then click Run as administrator.
    Collapse this imageExpand this image
    User Account Control permission
    If you are prompted for an administrator password or for confirmation, type the password, or click Continue.
  7. Try to install updates again.

Method 2: Download and install the Windows Update Agent

For more information about how to download the latest version of Windows Update Agent, click the following article number to view the article in the Microsoft Knowledge Base:
949104 How to obtain the latest version of the Windows Update Agent to help manage updates on a computer

Did this fix the problem?

  • Check whether the problem is fixed. If the problem is fixed, you are finished with this section. If the problem is not fixed, you can contact support.
  • We would appreciate your feedback. To provide feedback or to report any issues with this solution, please leave a comment on the "Fix it for me" blog or send us an email.

MORE INFORMATION

Error code 0x80004002 is triggered when registry keys for Wups2.dll are missing. This error code may also be triggered when additional keys are missing. By registering the Windows Update file and the other .dll files that are listed in Method 1, you make sure that any additional keys are also registered.

Properties

Article ID: 956708 - Last Review: June 1, 2011 - Revision: 4.0
APPLIES TO
  • Microsoft Update
  • Microsoft Windows Update
Keywords: 
kbtshoot kbprb kbexpertisebeginner kbfixme kbmsifixme KB956708

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com