Microsoft KB Archive/310577

= Winmgmt Service May Cause Access Violation During Hardware Inventory =

Article ID: 310577

Article Last Modified on 10/25/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition
 * Microsoft Windows Management Instrumentation 1.1

-



This article was previously published under Q310577



SYMPTOMS
When you run Windows Management Instrumentation (WMI) version 1.1 (698) under Microsoft Windows NT 4.0, the Winmgmt service may cause an access violation error during an SMS hardware inventory.



CAUSE
On some hardware configurations, WMI enumeration of the following WMI classes may lead to an access violation error in the Winmgmt service:
 * Win32_NetworkAdapter
 * Win32_NetworkadapterConfiguration
 * Win32_Operatingsystem



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

288239 SMS: How to Obtain the Latest Systems Management Server 2.0 Service Pack



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Systems Management Server 2.0 Service Pack 4.



MORE INFORMATION
It may be possible to determine if the WMI classes that are listed in the &quot;Cause&quot; section of this article are the problematic classes by attempting class-instance enumeration with the Wbemtest.exe WMI utility.

Using Wbemtest.exe

 * 1) Connect to the root\Cimv2 namespace on the computer with the problem.
 * 2) Click the Query button to open the WQL query window.
 * 3) Type Select * from Win32_NetAdapter.
 * 4) Click Apply.

Try each of the WMI classes that are listed in the &quot;Cause&quot; section of this article in the WMI query. If the Winmgmt service causes an access violation error during instance enumeration, upgrade WMI on the affected computer or computers to WMI version 1.5.

Keywords: kbhotfixserver kbqfe kbbug kbenv kberrmsg kbfix kbnetwork kbsms200presp4fix KB310577

-

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

© Microsoft Corporation. All rights reserved.