Microsoft KB Archive/925640

= Client computers are not updated with advertised packages, and exit code 1058 is generated, after you configure the Inventory Tool for Microsoft Updates (ITMU) in SMS 2003 =

Article ID: 925640

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2003

-



SYMPTOMS
After you install and configure the Inventory Tool for Microsoft Updates (ITMU) in Microsoft Systems Management Server (SMS) 2003, you experience the following symptoms:  When you advertise the Microsoft Updates package, certain client computers are not updated with the advertised updates. Entries that resemble the following are logged in the %WINDIR%\System32\CCM\Logs\Patchinstall.log file on the affected client computers:

 Processing [&quot;C:\WINDOWS\system32\VPCache\VJC0000C\SmsWusHandler.exe&quot; /Catalog:C:\WINDOWS\system32\VPCache\VJC0000C\wsusscan.cab /OutputXml:C:\WINDOWS\system32\VPCache\VJC0000C\Results.xml] with CurrentDir=[C:\WINDOWS\system32\VPCache\VJC0000C] ERROR: Failed while processing the executable. Cmdline=[&quot;C:\WINDOWS\system32\VPCache\VJC0000C\SmsWusHandler.exe&quot; /Catalog:C:\WINDOWS\system32\VPCache\VJC0000C\wsusscan.cab /OutputXml:C:\WINDOWS\system32\VPCache\VJC0000C\Results.xml], CurrentDir=[C:\WINDOWS\system32\VPCache\VJC0000C], ExitCode=[1058] Loaded &quot;D:\SMS_CCM\smscstat.dll&quot;; the module handle is 0x18890000. CreateSMSStatusMessage succeeded; the status message object handle is 0x0067F6A8. ReportSMSStatusMessage succeeded. ERROR: An error was encountered. Exiting Scan process ...

 Entries that resemble the following are logged in the %WINDIR%\System32\CCM\Logs\SMSWusHandler.log file on the affected client computers:

Scan process started with cmdline = /Catalog:C:\WINDOWS\system32\VPCache\VJC0000C\wsusscan.cab /OutputXml:C:\WINDOWS\system32\VPCache\VJC0000C\Results.xml WUS client version detected on the machine = 5.8.0.2469. Running the SMS WUS Handler in scan mode LocaleID= will be used to get localised properties. Searchinging for all the ServicePacks now Search filter - CategoryIDs contains '68C5B0A3-D1A6-4553-AE49-01D3A7827828' Using C:\WINDOWS\system32\VPCache\VJC0000C\wsusscan.cab as the offline-catalog. AddScanPackageService failed. ERROR: Search failed with hRes=0x80070422 0x80070422 is the hresult value for the operation. Returning 1058 as the exit code.

Note In the previous entry, &quot;localizing&quot; is misspelled as &quot;localising.&quot; Also, &quot;searching&quot; is misspelled as &quot;searchinging.&quot;



CAUSE
This problem occurs if the Automatic Updates service on the SMS 2003 client computer is stopped or disabled.



RESOLUTION
To resolve this problem, make sure that the Automatic Updates service is enabled and running on the SMS 2003 client computers.



MORE INFORMATION
After the client computer receives the WSUSScan.cab file from the SMS 2003 server, the AddScanPackageService method registers the scan package with the Windows Update Agent service. Then, AddScanPackageService verifies the signature on the .cab file. After AddScanPackageService performs these actions, the Windows Update Agent service can use the .cab file to scan the client computer.

In the scenario that is described in this article, AddScanPackageService does not to contact the Windows Update Agent service. Therefore, AddScanPackageService generates error code 1058. You can examine the error message that corresponds to this error by using the following command:

net helpmsg 1058

This error code corresponds to the following error message:

The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

