Error message when you try to scan a client computer by using System Management Server 2003 Inventory Tool for Microsoft Updates (Scanwrapper.exe): "GetFileAttributes() failed" (916142)
The information in this article applies to:
- Microsoft Systems Management Server 2003
SYMPTOMSWhen you try to use the Inventory Tool for Microsoft Updates (Scanwrapper.exe) in System Management Server (SMS) 2003 to scan a client computer for update applicability or for update compliance, the scan may not run. Additionally, an error message that is similar to the following may be logged in the Scanwrapper.log file on the client computer:
Checking [C:\WINNT\system32\VPCache\ABC00101\c:\winnt\system32\wuaueng.dll] with VersionString=[5.8.0.2469].
ERROR: GetFileAttributes() failed for C:\WINNT\system32\VPCache\ABC00101\c:\winnt\system32\wuaueng.dll with GetLastError()=[123].
Note In the error message, ABC00101 represents the SMS package ID for the Inventory Tool for Microsoft Updates scan package.
The ABC00101\c:\winnt\ reference that appears in this error message indicates that this is the problem because of the incorrect joining of the two path strings. CAUSEThis problem occurs when the value for the %Windir% environment variable starts with a lowercase letter. For example, a lowercase drive letter in "c:\windows" provokes the error message that is mentioned in the "Symptoms" section. Alternatively, "C:\windows" does not provoke the error message.
WORKAROUNDTo work around this problem, modify the %Windir% environment variable to start with an uppercase letter on the client computer so that the computer starts. Note Changes to the %Windir% environment variable may not take effect until you restart the computer. To modify the %Windir% environment variable, follow these steps: - On the client computer, click Start, click Run, type sysdm.cpl, and then click OK.
- In the System Properties dialog box, click the Advanced tab, and then click Environment Variables.
- Under System Variables, click windir, and then click Edit.
Note You may have to move the scroll box next to the list to see this entry. - In the Variable value box, capitalize the first letter, and then click OK. For example, change "c:\windows" to "C:\windows."
- Click OK to close the Environment Variables dialog box, and then click OK to close the System Properties dialog box.
- Restart the computer to make sure that the new environment variable takes effect.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 4/17/2006 |
---|
Keywords: | kbExpertiseInter kbtshoot kbpending kberrmsg kbBug kbSMSInventory kbprb KB916142 kbAudITPRO |
---|
|