Article ID: 308502
Article Last Modified on 10/25/2006
APPLIES TO
- Microsoft Windows Management Instrumentation 1.5, when used with:
- Microsoft Windows NT 4.0
- Microsoft Windows 2000 Standard Edition
This article was previously published under Q308502
SYMPTOMS
When you specify a computer locale durring a connection, Windows Management Instrumentation (WMI) Win32_NTLogEvent notification queries do not use the locale that you specify. The Win32_NTLogEvent Type property (information, warning, error, and so on) is always returned as a localized string that is based on the computer locale. This prevents the Win32_NTLogEvent class from being queried across different operating system languages.
CAUSE
This problem occurs because the WMI event provider runs the "event subsystem" context, which always uses the computer locale. The Type property for Win32_NTLogEvent can not be queried across different operating system languages because it is localized when it is returned by the provider.
RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English-language version of this fix should have the following file attributes or later:
Date Time Version Size File name Platform ----------------------------------------------------------------- 29-Nov-2001 16:01:24 1.50.1085.72 196,671 Ntevt.dll Intel 29-Nov-2001 12:40:08 14,072 Ntevt.mof Intel
How to Use the Hotfix Installer
- Copy the Q308502.exe hotfix file to a local folder on your computer or to a share on your network.
- Run the Q308502.exe file and follow the prompts.
- Restart your computer.
Information About the Win32_NTLogEvent EventType Property
This hotfix adds the EventType property to the Win32_NTLogEvent class. This property is an integer field (uint8) that contains a numeric representation of the data that is contained in the Type property. For example, EventType is set to 1 when Type is "error", 2 for "warning", 3 for "information", and so on. You can use the EventType property to perform language-independent queries against Win32_NTLogEvent.
STATUS
Microsoft has confirmed that this is a problem in Windows Management Instrumentation 1.5.
MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:
265173 The Datacenter Program and Windows 2000 Datacenter Server Product
For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:
296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot
For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:
249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes
Keywords: kbqfe kbhotfixserver kbbug kbfix KB308502