The Win32_PerfRawData_PerfDisk_LogicalDisk WMI class returns an incorrect percentage of free disk space in Windows Vista and in Windows Server 2008

The Win32_PerfRawData_PerfDisk_LogicalDisk WMI class returns an incorrect percentage of free disk space in Windows Vista and in Windows Server 2008

Article ID : 949701
Last Review : March 12, 2008
Revision : 1.0

SYMPTOMS

On a computer that is running Windows Vista or Windows Server 2008, you use the Win32_PerfRawData_PerfDisk_LogicalDisk Windows Management Instrumentation (WMI) class to calculate the percentage of free disk space. However, the free disk space percentage that is returned is incorrect.

Back to the top

CAUSE

This problem occurs because the PercentFreeSpace_Base property that is returned is incorrect.

Back to the top

WORKAROUND

To work around this problem, use the PercentFreeSpace property of the Win32_PerfFormattedData_PerfDisk_LogicalDisk WMI class.

Back to the top

STATUS

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

Back to the top

MORE INFORMATION

For more information about the Win32_PerfFormattedData_PerfDisk_LogicalDisk WMI class, visit the following Microsoft Developer Network Web site:

http://msdn2.microsoft.com/en-us/library/aa394261(VS.85).aspx (http://msdn2.microsoft.com/en-us/library/aa394261(VS.85).aspx)

Back to the top


APPLIES TO
• Windows Server 2008 Standard
• Windows Server 2008 Enterprise
• Windows Server 2008 Datacenter
• Windows Vista Ultimate
• Windows Vista Home Premium
• Windows Vista Home Basic
• Windows Vista Enterprise
• Windows Vista Business

Back to the top

Keywords: 
kbtshoot kbexpertiseinter kbprb KB949701

Back to the top

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Additional Articles From "Commerce Server 2007"