Microsoft KB Archive/306274

= WMI Inadvertently Cancels Intrinsic Event Queries =

Article ID: 306274

Article Last Modified on 10/25/2006

-

APPLIES TO


 * Microsoft Windows Management Instrumentation 1.5, when used with:
 * Microsoft Windows 2000 Standard Edition

-



This article was previously published under Q306274



SYMPTOMS
Windows Management Instrumentation (WMI) may inadvertently cancel intrinsic event query registrations. This problem typically occurs with event queries made against classes that take a relatively long time to complete an enumeration. This problem only affects Windows 2000 Service Pack 2 (SP2).



CAUSE
A problem with the WMI event-polling mechanism in Windows 2000 SP2 causes intrinsic event registrations to be canceled if the associated class takes longer than one second to enumerate. If multiple intrinsic event registrations are being handled by a single STA based provider, two possible problems may occur. First, if one or more of the event queries are made against a class that takes longer than one second to enumerate, WMI may fail to report data from the first event-polling cycle. Second, WMI may cancel some of the event registrations.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English-language version of this fix should have the following file attributes or later:

  Date        Time      Version       Size     File name    Platform --  5-Nov-2001  11:00:12  1.50.1085.74  372,804  Wbemess.dll  Intel

How to Use the Hotfix Installer
NOTE: You can use this method only for Intel-based computers with Windows 2000 Service Pack 2 (SP2) or later installed.
 * 1) Copy the Q306274.exe hotfix file to a local folder on your computer or to a share on your network.
 * 2) Run the Q306274.exe file, and then follow the directions you receive.
 * 3) Restart your computer.



STATUS
Microsoft has confirmed that this is a problem in Windows Management Instrumentation 1.5. This problem was first corrected in Windows 2000 Service Pack 3.



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

Additional query words: kbMgmtAdmin

Keywords: kbhotfixserver kbqfe kbbug kbenv kbfix kbsysadmin kbwin2000sp3fix KB306274

-

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

© Microsoft Corporation. All rights reserved.