When you try to install updates by using the Windows Update or Microsoft Update Web site, you may receive the following error message:
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.
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.
To resolve this issue, use the following methods in the order in which they are presented.
Method 1: Register the Windows Update files
If you are running Windows XP, Windows Server 2003, or Windows 2000, follow these steps:
- Click Start, click Run, type notepad and then click OK.
- 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
- On the Notepad File menu, click Save As.
- In the File name box, type register.bat, and then click All Files in the Save as type box.
- Save the register.bat file to the desktop.
- Double-click the register.bat file to register the Windows Update files.
- Try to install updates again.
If you are running Windows Vista or Windows Server 2008, follow these steps:
- Click Start
Collapse this imageExpand this image
, type notepad in the Start Search box, and then click notepad in the Programs list. - 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
- On the Notepad File menu, click Save As.
- In the File name box, type register.bat, and then click All Files (*.*) in the Save as type box.
- Save the register.bat file to the desktop.
- Right-click the register.bat file, and then click Run as administrator.
Collapse this imageExpand this image
If you are prompted for an administrator password or for confirmation, type the password, or click Continue. - 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
(http://support.microsoft.com/kb/949104/
)
How to obtain the latest version of the Windows Update Agent to help manage updates on a computer
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.