You are currently offline, waiting for your internet to reconnect

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=0x800401540x80004002 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
Properties

Article ID: 921129 - Last Review: 10/27/2006 15:31:39 - Revision: 1.1

Microsoft Systems Management Server 2003

  • kbtshoot kbsmsinventory kbsmsupdates kbprb KB921129
Feedback
com/c.gif?DI=4050&did=1&t=">