Microsoft KB Archive/320199

= Windows 2000 WMI Query Only Returns 32 Disk Drives Although More Exist =

Article ID: 320199

Article Last Modified on 2/20/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q320199



SYMPTOMS
When you run a programmatic WMI query against &quot;root\CIMV2&quot; - &quot;SELECT * FROM Win32_DiskDrive&quot;, only 32 disk drives are returned. This is \\.\PHYSICALDRIVE0 through \\.\PHYSICALDRIVE31. Similarly, when you run CIM Studio and retrieve all instances of the Win32_DiskDrive class, only the same 32 disk drives are returned.



CAUSE
This problem occurs because of a hardcoded limit.



Service Pack Information
To resolve this problem, obtain the latest service pack for Microsoft 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

Hotfix Information
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

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

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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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

  Date       Time      Version       Size       File name --  15-Apr-02  14:49:14  1.50.1085.81  1,030,000  Cimwin32.dll



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 Microsoft Windows 2000 Service Pack 4.



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

After you apply this hotfix, the hardcoded limit is removed.

Keywords: kbhotfixserver kbqfe kbsysadmin kbwin2ksp4fix kbbug kbenv kbfix kbui kbwin2000presp4fix KB320199

-

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

© Microsoft Corporation. All rights reserved.