Microsoft KB Archive/259681

= SMS: Hardware Inventory Does Not Capture Environment Variables on Windows 9x Clients =

Article ID: 259681

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Service Pack 2

-



This article was previously published under Q259681



SYMPTOMS
Some environment variables that are seen on a Microsoft Windows 95 or Microsoft Windows 98 client by a set command, are not reported during the hardware inventory cycle even though the Sms_def.mof file has been modified to do so.



CAUSE
Upon startup, Microsoft Windows Management Instrumentation (WMI) reads the global environment variables when it enumerates the Sms_def.mof. Any environment variables added after that time (such as through logon scripts), are not recognized because the Web-Based Enterprise Management (WBEM) does not requery the environment variables.



WORKAROUND
To work around this issue, you need to set environment variables prior to the start of WMI, such as in the Autoexec.bat file.



STATUS
Microsoft has confirmed this to be a problem in Systems Management Server version 2.0.

Additional query words: prodsms

Keywords: kbbug kbprb kbwbem KB259681

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.