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/922358Problem: Error in ScanWrapper.log that states:
Solution: Verify
Local System is the logon account for the
Automatic Updates service.
Problem: Error in ScanWrapper.log that states:
Solution: Install Windows Sharepoint Services SP2 -
http://support.microsoft.com/kb/922369Problem: Error in ScanWrapper.log that states:
Solution: Install Windows Update Agent
Problem: Error in ScanWrapper.log that states:
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