Microsoft Knowledge Base Email Alertz

Error message and scan fails when you use Systems Management Server 2003 Inventory Tool for Microsoft Updates: 0x80040154

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 921129 - Last Review: October 27, 2006 - Revision: 1.1

Error message and scan fails when you use Systems Management Server 2003 Inventory Tool for Microsoft Updates: "0x80040154"

SYMPTOMS

When you use the Microsoft Systems Management Server (SMS) 2003 Inventory Tool for Microsoft Updates (ITMU) to scan for updates, ITMU may not run on some client computers. Additionally, you may receive error messages that resemble the following in the SMS log files:
  • Smswushandler.log file:
    AddScanPackageService() failed. ERROR: Search() failed with hRes=0x80040154 0x80004002 is the hresult value for the operation. Returning 16386 as the exit code.
  • ScanWrapper.log file:
    ERROR: An error was encountered. Exiting Scan process ...
  • Windowsupdate.log file:
    FATAL: Failed to get agent interface pointers, hr=80040154

CAUSE

The problem occurs because one or more of the required .dll files that Windows Update uses are not correctly registered.

RESOLUTION

To resolve this problem, manually register the Windows Update and XML .dll files on the client computer. To do this, type the following commands at a command prompt. Press ENTER after you type each command.
  • %Windir%\system32\net.exe stop bits
  • %Windir%\system32\net.exe stop wuauserv
  • %Windir%\system32\regsvr32.exe %Windir%\system32\atl.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\jscript.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\msxml3.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\softpub.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\wuapi.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\wuaueng.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\wuaueng1.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\wucltui.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\wups.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\wups2.dll
  • %Windir%\system32\regsvr32.exe %Windir%\system32\wuweb.dll
  • %Windir%\system32\net.exe start bits
  • %Windir%\system32\net.exe start wuauserv

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

When the SMS 2003 ITMU is installed, ITMU creates a package and a program that runs WindowsUpdateAgent20-x86.exe /q on the client computers before the package and program runs ScanWrapper.exe. ITMU gives the package and program a name that resembles "Windows Update Agent."

If you run WindowsUpdateAgent20-x86.exe /q on a client computer, Windows Update does not reregister the .dll files that have the same file versions that are already present on the client computer.

To prevent the client computers from displaying the problem that this article discusses, you can force Windows Update to reregister the required .dll files. To do this, add the /f switch to the SMS program command line. For example, add the /f switch so that the command line appears as the following:
WindowsUpdateAgent20-x86.exe /f /q

APPLIES TO
  • Microsoft Systems Management Server 2003
Keywords: 
kbtshoot kbsmsinventory kbsmsupdates kbprb KB921129
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate