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.
CAUSE
This problem occurs because the PercentFreeSpace_Base property that is returned is incorrect.
WORKAROUND
To work around this problem, use the PercentFreeSpace property of the Win32_PerfFormattedData_PerfDisk_LogicalDisk WMI class.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.
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)
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 |
Keywords:Â |
kbtshoot kbexpertiseinter kbprb KB949701 |
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.
Back to the top
Leave a Reply