WMI Cannot Query Win32_NTlogEvent Across Different Operating System Languages (308502)
The information in this article applies to:
- Microsoft Windows Management Instrumentation 1.5, when used with:
- the operating system: Microsoft Windows NT 4.0
- the operating system: Microsoft Windows 2000
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.
RESOLUTIONA 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.
STATUSMicrosoft has confirmed that this is a problem in Windows Management Instrumentation 1.5.
Modification Type: | Major | Last Reviewed: | 4/7/2006 |
---|
Keywords: | kbQFE KBHotfixServer kbbug kbfix KB308502 |
---|
|