Article ID: 268715 - View products that this article applies to.
This article was previously published under Q268715
This article has been archived. It is offered "as is" and will no longer be updated.
Windows Management Instrumentation (WMI) query support for Win32_Group is not optimized to handle the case where both key properties, Domain and Name, are specified in the query. For example, queries of the following form are not optimized:
SELECT * FROM Win32_Group WHERE Domain="workgroup" AND Name="smith"Similar queries against the parent class, Win32_Account, also experience poor performance because WMI passes the query to Win32_Group. Queries of this form may result in high CPU utilization on the primary domain controller (PDC).
This problem can occur because when both the Domain and Name keys are specified in a query against the Win32_Group class, all groups in the specified domain are enumerated by using the PDC. This results in performance problems on networks with numerous groups.
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:
260910The English version of this fix should have the following file attributes or later:
(https://support.microsoft.com/kb/260910/EN-US/ )How to Obtain the Latest Windows 2000 Service Pack
Version Size File name Platform ------------------------------------------------ 1.50.1085.25 1,073,232 Cimwin32.dll i386
Using the Hotfix InstallerNOTE: You can use this method only for Intel-based computers.
To work around this problem and obtain information about a particular user, queries should be made against the Win32_UserAccount class instead of Win32_Account. To obtain information about a specific group, GetObject should be used instead of a query. In general, if both the Domain and Account are specified, GetObject should be used instead of ExecQuery.
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 Windows 2000 Service Pack 2.
Article ID: 268715 - Last Review: January 10, 2015 - Revision: 2.1