Microsoft KB Archive/824469

= SMS Administrator Console stops responding when you remove a resource while a query runs against a WMI class =

Article ID: 824469

Article Last Modified on 7/24/2007

-

APPLIES TO

 Microsoft Systems Management Server 2003 Microsoft Systems Management Server 2.0 Service Pack 5, when used with:  Microsoft Windows 2000 Service Pack 4

 Microsoft Windows 2000 Advanced Server

 Microsoft Windows 2000 Service Pack 3

 Microsoft Windows 2000 Advanced Server</li></ul> </li></ul>

-

<div class="notice_section">

<div class="symptoms_section">

SYMPTOMS
When you try to remove a collection or other resource while an event query runs against a Windows Management Instrumentation (WMI) class, you experience both of the following symptoms:
 * The SMS Administrator Console stops responding (hangs).
 * The Windows Management Instrumentation service stops responding.

<div class="cause_section">

CAUSE
This problem may occur when Microsoft Systems Management Server(SMS) 2.0 Service Pack 5 (SP5) or the original released version of SMS 2003 is on a computer that is running Microsoft Windows 2000 Service Pack 3 (SP3) or Windows 2000 Service Pack 4 (SP4).

In Windows 2000 SP3 and in Windows 2000 SP4, a polling notification query against the SMS Extension Provider (Extnprov.dll) may cause a deadlock in the WMI subsystem. This problem occurs because of the way that the SMS Extension Provider synchronizes the WMI DeleteClass method. While this problem does not occur during typical operations, you may experience this problem when you create custom procedures to directly monitor certain WMI events.

<div class="resolution_section">

Service pack information
To resolve this problem, obtain the latest service pack for Systems Management Server 2003. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

885643 How to obtain the latest Systems Management Server 2003 service pack

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The German version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. <pre class="fixed_text">Date         Time   Version        Size     File name - 25-Dec-2003  08:35  2.50.2726.119 376,832   Extnprov.dll

Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
You must be running Systems Management Server 2.0 SP5 to install this hotfix. For additional information about how to obtain SP5 for SMS 2.0, click the following article number to view the article in the Microsoft Knowledge Base:

288239 How to obtain the latest Systems Management Server 2.0 service pack

Restart requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

<pre class="fixed_text">Date        Time   Version        Size     File name - 31-Jul-2003 18:32  2.0.1493.5149  290,784  Extnprov.dll

The German version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. <pre class="fixed_text">Date         Time    Version          Size   File name -- 31-Jul-2003  12:33   2.0.1493.5149 290,784   Extnprov.dll Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.Install this hotfix on an SMS Primary site server. However, if the SMS Provider is remote from the SMS Primary site server, you must also install this hotfix on the server where the SMS Provider is located.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
The SMS Extension Provider synchronizes all incoming traffic with a critical section. Consider the following sample scenario:

You activate a query with a 30-second interval to poll the SMS Extension Provider. This requires access to the critical section. While this polling query runs, if a call is made to remove (that is, delete) an SMS instance, such as a collection, the call is routed to ExtnProv.dll and through the critical section. This call results in an attempt to delete a class in the repository. As a result, the WMI core tries to fire an __InstanceDeletionEvent event for the static class that was removed. However, instead, it triggers the polling query in the WMI Event subsystem. The WMI Event subsystem tries to re-enter the critical section. This behavior results in a deadlock situation and results in the symptoms that are described in the &quot;Symptoms&quot; section of this article.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbqfe kbhotfixserver kbsms200presp6fix kbenv kbfix kbbug KB824469

-

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

© Microsoft Corporation. All rights reserved.