Welcome Guest, you are in: Login

myITforum.com Wiki

Scan Process

ITMU Scan - ScanWrapper Begins

Problem: Error in ScanWrapper.log that states:
ERROR: Search() failed with hRes=0xc8000408 SmsWusHandler 9/28/2005 3:55:44 PM 1892 (0x0764) 0xc8000408 is the result value for the operation. Returning 1032 as the exit code.
Solution: Exclude %windir%\SoftwareDistrubtion from McAfee File Scan - http://support.microsoft.com/kb/922358

Problem: Error in ScanWrapper.log that states:
ERROR: Failed while processing the executable. Cmdline="C:\WINDOWS\system32\VPCache\GMR000E6\SmsWusHandler.exe" /Catalog:C:\WINDOWS\system32\VPCache\GMR000E6\wsusscn2.cab /OutputXml:C:\WINDOWS\system32\VPCache\GMR000E6\Results.xml, CurrentDir=\WINDOWS\system32\VPCache\GMR000E6, ExitCode=[1079]
ERROR: An error was encountered. Exiting Scan process ...
Solution: Verify Local System is the logon account for the Automatic Updates service.

Problem: Error in ScanWrapper.log that states:
ERROR: Failed while processing the executable. Cmdline="C:\WINNT\system32\VPCache\HK30000A\SmsWusHandler.exe" /Catalog:C:\WINNT\system32\VPCache\HK30000A\wsusscan.cab /OutputXml:C:\WINNT\system32\VPCache\HK30000A\Results.xml, CurrentDir=C:\WINNT\system32\VPCache\HK30000A, ExitCode=[50]
ERROR: An error was encountered. Exiting Scan process ...
Solution: Install Windows Sharepoint Services SP2 - http://support.microsoft.com/kb/922369

Problem: Error in ScanWrapper.log that states:
ERROR: Failed while processing the executable. Cmdline="C:\WINNT\system32\VPCache\GMR000E6\SmsWusHandler.exe" /Catalog:C:\WINNT\system32\VPCache\GMR000E6\wsusscan.cab /OutputXml:C:\WINNT\system32\VPCache\GMR000E6\Results.xml, CurrentDir=C:\WINNT\system32\VPCache\GMR000E6, ExitCode=[14]
ERROR: An error was encountered. Exiting Scan process ...
Solution: Install Windows Update Agent

Problem: Error in ScanWrapper.log that states:
ERROR: Failed while processing the executable. Cmdline="C:\WINNT\system32\VPCache\HK30000A\SmsWusHandler.exe" /Catalog:C:\WINNT\system32\VPCache\HK30000A\wsusscan.cab /OutputXml:C:\WINNT\system32\VPCache\HK30000A\Results.xml, CurrentDir=C:\WINNT\system32\VPCache\HK30000A, ExitCode=[3]
ERROR: An error was encountered. Exiting Scan process ...
Solution: Try deleting the package in the VPCache folder (e.g., C:\WINNT\system32\VPCache\HK30000A\). You may need to look deeper, into SMSWusHandler.log or WindowsUpdate.log for more detail.

Problem: Scan process hangs at
Processing "C:\WINNT\system32\VPCache\GBL000E6\SmsWusHandler.exe
(this step should be fast - the scan should complete in under five minutes) and you may find several processes for "SMSWusHandler.exe" on the system.
Solution: Modify DCOM settings. Start->Run, dcomcnfg [enter] (instructions from here vary on OS version). Modify the Local Access default security configuration. Grant the local system account "Local Access".

Problem: Error in ScanWrapper.log that states:
ERROR: An error was encountered. Exiting Scan process ....
Solution: This is a very vague error, and may require more investigation in SMSWusHandler.log and WindowsUpdate.log For starters, you may try running FIXWSUS.CMD to re-register windows update, and reset ACLs for BITS and WSUS.

Problem: Error in ScanWrapper.log that states:
ERROR: GetFileAttributes() failed for C:\WINNT\system32\VPCache\ABC00101\c:\winnt\system32\wuaueng.dll with GetLastError()=[123].
Solution: This error will occur if the drive for the %windir% environment variable is lowercase. (e.g., "c:\Windows" must be "C:\Windows") - KB 916142
Example code to automate the process:

on error resume next
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "SYSTEM\ControlSet001\Control\Session Manager\Environment"
strValueName = "windir"
oReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue

if not ucase(strValue) = strValue then
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName, ucase(strValue)
end if

ScrewTurn Wiki version 3.0.5.600. Some of the icons created by FamFamFam.