Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The PdhLookupPerfNameByIndex API in Windows Server 2008 returns incorrect values for V2 performance counters


View products that this article applies to.

Symptoms

If you have applications in Windows Server 2008 that use the PdhLookupPerfNameByIndex API to query performance counters, the query results for V2 performance counters, such as Hyper-V related counters, are incorrect.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the �Hotfix Request� page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.

Prerequisites

To apply this hotfix, you must have Windows Server 2008 installed.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Vista and Windows Server 2008 file information notes

The MANIFEST files (.manifest) and MUM files (.mum) installed for each environment are listed separately. MUM and MANIFEST files, and the associated security catalog (.cat) files, are important to maintaining the state of the updated component. The security catalog files (attributes not listed) are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Pdh.dll6.0.6000.20968242,17603-Dec-200805:29x86
Pla.dll6.0.6000.209681,499,13603-Dec-200805:29x86
Plamig.dll6.0.6000.2096895,74403-Dec-200805:30x86
Plasrv.exe6.0.6000.209687,68003-Dec-200802:59x86
Report.system.common.xmlNot Applicable1,92713-Dec-200719:59Not Applicable
Report.system.configuration.xmlNot Applicable27,57013-Dec-200719:59Not Applicable
Report.system.cpu.xmlNot Applicable4,43813-Dec-200719:59Not Applicable
Report.system.diagnostics.xmlNot Applicable7,24213-Dec-200719:59Not Applicable
Report.system.disk.xmlNot Applicable3,19813-Dec-200719:59Not Applicable
Report.system.memory.xmlNot Applicable4,82213-Dec-200719:59Not Applicable
Report.system.network.xmlNot Applicable5,08813-Dec-200719:59Not Applicable
Report.system.performance.xmlNot Applicable47113-Dec-200719:59Not Applicable
Report.system.summary.xmlNot Applicable73813-Dec-200719:59Not Applicable
Rules.system.common.xmlNot Applicable3,05913-Dec-200719:59Not Applicable
Rules.system.configuration.xmlNot Applicable288,26913-Dec-200719:59Not Applicable
Rules.system.cpu.xmlNot Applicable9,06213-Dec-200719:59Not Applicable
Rules.system.diagnostics.xmlNot Applicable177,22613-Dec-200719:59Not Applicable
Rules.system.disk.xmlNot Applicable6,25113-Dec-200719:59Not Applicable
Rules.system.finale.xmlNot Applicable7,03613-Dec-200719:59Not Applicable
Rules.system.memory.xmlNot Applicable12,91513-Dec-200719:59Not Applicable
Rules.system.network.xmlNot Applicable3,35713-Dec-200719:59Not Applicable
Rules.system.performance.xmlNot Applicable3,43413-Dec-200719:59Not Applicable
Rules.system.summary.xmlNot Applicable18,54913-Dec-200719:59Not Applicable
System diagnostics.xmlNot Applicable13,53913-Dec-200719:59Not Applicable
System performance.xmlNot Applicable4,83013-Dec-200719:59Not Applicable
Pdh.dll6.0.6001.22321242,68803-Dec-200805:52x86
Pla.dll6.0.6001.223211,502,20803-Dec-200805:52x86
Plamig.dll6.0.6001.2232196,25603-Dec-200805:52x86
Plasrv.exe6.0.6001.223217,68003-Dec-200805:51x86
Report.system.common.xmlNot Applicable1,92718-Dec-200721:14Not Applicable
Report.system.configuration.xmlNot Applicable27,57018-Dec-200721:14Not Applicable
Report.system.cpu.xmlNot Applicable4,43818-Dec-200721:14Not Applicable
Report.system.diagnostics.xmlNot Applicable7,24218-Dec-200721:14Not Applicable
Report.system.disk.xmlNot Applicable3,19818-Dec-200721:14Not Applicable
Report.system.memory.xmlNot Applicable4,82218-Dec-200721:14Not Applicable
Report.system.network.xmlNot Applicable5,08818-Dec-200721:14Not Applicable
Report.system.performance.xmlNot Applicable47118-Dec-200721:14Not Applicable
Report.system.summary.xmlNot Applicable73818-Dec-200721:14Not Applicable
Rules.system.common.xmlNot Applicable3,05918-Dec-200721:14Not Applicable
Rules.system.configuration.xmlNot Applicable288,26918-Dec-200721:14Not Applicable
Rules.system.cpu.xmlNot Applicable9,06218-Dec-200721:14Not Applicable
Rules.system.diagnostics.xmlNot Applicable177,15018-Dec-200721:14Not Applicable
Rules.system.disk.xmlNot Applicable6,25118-Dec-200721:14Not Applicable
Rules.system.finale.xmlNot Applicable7,03618-Dec-200721:14Not Applicable
Rules.system.memory.xmlNot Applicable12,91518-Dec-200721:14Not Applicable
Rules.system.network.xmlNot Applicable3,35718-Dec-200721:14Not Applicable
Rules.system.performance.xmlNot Applicable3,43418-Dec-200721:14Not Applicable
Rules.system.summary.xmlNot Applicable18,54918-Dec-200721:14Not Applicable
System diagnostics.xmlNot Applicable13,53918-Dec-200721:14Not Applicable
System performance.xmlNot Applicable4,83018-Dec-200721:14Not Applicable
For all supported x64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Pdh.dll6.0.6000.20968309,76003-Dec-200805:42x64
Pla.dll6.0.6000.209681,378,30403-Dec-200805:42x64
Plamig.dll6.0.6000.20968102,91203-Dec-200805:42x64
Plasrv.exe6.0.6000.209688,70403-Dec-200803:22x64
Report.system.common.xmlNot Applicable1,92714-Dec-200721:38Not Applicable
Report.system.configuration.xmlNot Applicable27,57014-Dec-200721:38Not Applicable
Report.system.cpu.xmlNot Applicable4,43814-Dec-200721:38Not Applicable
Report.system.diagnostics.xmlNot Applicable7,24214-Dec-200721:38Not Applicable
Report.system.disk.xmlNot Applicable3,19814-Dec-200721:38Not Applicable
Report.system.memory.xmlNot Applicable4,82214-Dec-200721:38Not Applicable
Report.system.network.xmlNot Applicable5,08814-Dec-200721:38Not Applicable
Report.system.performance.xmlNot Applicable47114-Dec-200721:38Not Applicable
Report.system.summary.xmlNot Applicable73814-Dec-200721:38Not Applicable
Rules.system.common.xmlNot Applicable3,05914-Dec-200721:38Not Applicable
Rules.system.configuration.xmlNot Applicable288,26914-Dec-200721:38Not Applicable
Rules.system.cpu.xmlNot Applicable9,06214-Dec-200721:38Not Applicable
Rules.system.diagnostics.xmlNot Applicable177,22614-Dec-200721:38Not Applicable
Rules.system.disk.xmlNot Applicable6,25114-Dec-200721:38Not Applicable
Rules.system.finale.xmlNot Applicable7,03614-Dec-200721:38Not Applicable
Rules.system.memory.xmlNot Applicable12,91514-Dec-200721:38Not Applicable
Rules.system.network.xmlNot Applicable3,35714-Dec-200721:38Not Applicable
Rules.system.performance.xmlNot Applicable3,43414-Dec-200721:38Not Applicable
Rules.system.summary.xmlNot Applicable18,54914-Dec-200721:38Not Applicable
System diagnostics.xmlNot Applicable13,53914-Dec-200721:38Not Applicable
System performance.xmlNot Applicable4,83014-Dec-200721:38Not Applicable
Pdh.dll6.0.6001.22321308,22403-Dec-200806:25x64
Pla.dll6.0.6001.223211,373,18403-Dec-200806:25x64
Plamig.dll6.0.6001.22321103,42403-Dec-200806:25x64
Plasrv.exe6.0.6001.223218,70403-Dec-200806:24x64
Report.system.common.xmlNot Applicable1,92718-Dec-200721:14Not Applicable
Report.system.configuration.xmlNot Applicable27,57018-Dec-200721:14Not Applicable
Report.system.cpu.xmlNot Applicable4,43818-Dec-200721:14Not Applicable
Report.system.diagnostics.xmlNot Applicable7,24218-Dec-200721:14Not Applicable
Report.system.disk.xmlNot Applicable3,19818-Dec-200721:14Not Applicable
Report.system.memory.xmlNot Applicable4,82218-Dec-200721:14Not Applicable
Report.system.network.xmlNot Applicable5,08818-Dec-200721:14Not Applicable
Report.system.performance.xmlNot Applicable47118-Dec-200721:14Not Applicable
Report.system.summary.xmlNot Applicable73818-Dec-200721:14Not Applicable
Rules.system.common.xmlNot Applicable3,05918-Dec-200721:14Not Applicable
Rules.system.configuration.xmlNot Applicable288,26918-Dec-200721:14Not Applicable
Rules.system.cpu.xmlNot Applicable9,06218-Dec-200721:14Not Applicable
Rules.system.diagnostics.xmlNot Applicable177,15018-Dec-200721:14Not Applicable
Rules.system.disk.xmlNot Applicable6,25118-Dec-200721:14Not Applicable
Rules.system.finale.xmlNot Applicable7,03618-Dec-200721:14Not Applicable
Rules.system.memory.xmlNot Applicable12,91518-Dec-200721:14Not Applicable
Rules.system.network.xmlNot Applicable3,35718-Dec-200721:14Not Applicable
Rules.system.performance.xmlNot Applicable3,43418-Dec-200721:14Not Applicable
Rules.system.summary.xmlNot Applicable18,54918-Dec-200721:14Not Applicable
System diagnostics.xmlNot Applicable13,53918-Dec-200721:14Not Applicable
System performance.xmlNot Applicable4,83018-Dec-200721:14Not Applicable
Pdh.dll6.0.6000.20968242,17603-Dec-200805:29x86
Pla.dll6.0.6000.209681,499,13603-Dec-200805:29x86
Plamig.dll6.0.6000.2096895,74403-Dec-200805:30x86
Pdh.dll6.0.6001.22321242,68803-Dec-200805:52x86
Pla.dll6.0.6001.223211,502,20803-Dec-200805:52x86
Plamig.dll6.0.6001.2232196,25603-Dec-200805:52x86
For all supported IA-64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Pdh.dll6.0.6001.22321664,06403-Dec-200806:16IA-64
Pla.dll6.0.6001.223213,428,86403-Dec-200806:16IA-64
Plamig.dll6.0.6001.22321239,10403-Dec-200806:17IA-64
Plasrv.exe6.0.6001.2232116,38403-Dec-200806:05IA-64
Report.system.common.xmlNot Applicable1,92718-Dec-200721:14Not Applicable
Report.system.configuration.xmlNot Applicable27,57018-Dec-200721:14Not Applicable
Report.system.cpu.xmlNot Applicable4,43818-Dec-200721:14Not Applicable
Report.system.diagnostics.xmlNot Applicable7,24218-Dec-200721:14Not Applicable
Report.system.disk.xmlNot Applicable3,19818-Dec-200721:14Not Applicable
Report.system.memory.xmlNot Applicable4,82218-Dec-200721:14Not Applicable
Report.system.network.xmlNot Applicable5,08818-Dec-200721:14Not Applicable
Report.system.performance.xmlNot Applicable47118-Dec-200721:14Not Applicable
Report.system.summary.xmlNot Applicable73818-Dec-200721:14Not Applicable
Rules.system.common.xmlNot Applicable3,05918-Dec-200721:14Not Applicable
Rules.system.configuration.xmlNot Applicable288,26918-Dec-200721:14Not Applicable
Rules.system.cpu.xmlNot Applicable9,06218-Dec-200721:14Not Applicable
Rules.system.diagnostics.xmlNot Applicable177,15018-Dec-200721:14Not Applicable
Rules.system.disk.xmlNot Applicable6,25118-Dec-200721:14Not Applicable
Rules.system.finale.xmlNot Applicable7,03618-Dec-200721:14Not Applicable
Rules.system.memory.xmlNot Applicable12,91518-Dec-200721:14Not Applicable
Rules.system.network.xmlNot Applicable3,35718-Dec-200721:14Not Applicable
Rules.system.performance.xmlNot Applicable3,43418-Dec-200721:14Not Applicable
Rules.system.summary.xmlNot Applicable18,54918-Dec-200721:14Not Applicable
System diagnostics.xmlNot Applicable13,53918-Dec-200721:14Not Applicable
System performance.xmlNot Applicable4,83018-Dec-200721:14Not Applicable
Pdh.dll6.0.6001.22321242,68803-Dec-200805:52x86
Pla.dll6.0.6001.223211,502,20803-Dec-200805:52x86
Plamig.dll6.0.6001.2232196,25603-Dec-200805:52x86

↑ 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


References

For more information about the API PdhLookupPerfNameByIndex , visit the following Web site:

http://msdn.microsoft.com/en-us/library/aa372648.aspx

Performance counter version 2.0 APIs provide a new architecture for collecting counter data in Windows Vista and in Windows Server 2008. For more information about these performance counter APIs, visit the following Microsoft Web site:

http://msdn.microsoft.com/en-us/library/aa373102.aspx

For more information about how an application can provide performance counter data by using the performance counter version 2.0 APIs, visit the following Microsoft Web site:
http://msdn.microsoft.com/en-us/library/aa965334.aspx

↑ Back to the top


More information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information for Windows Server 2008

Additional files for all supported x86-based versions of Windows Server 2008
File namePackage_for_kb960751_client_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,425
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,367
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_client~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,712
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,421
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_sc~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,423
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,425
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,431
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File nameX86_microsoft-windows-p..rastructureconsumer_31bf3856ad364e35_6.0.6000.20968_none_b24713584c928862.manifest
File versionNot Applicable
File size167,984
Date (UTC)03-Dec-2008
Time (UTC)05:47
PlatformNot Applicable
File nameX86_microsoft-windows-p..rastructureconsumer_31bf3856ad364e35_6.0.6001.22321_none_b4518fa8499ef82e.manifest
File versionNot Applicable
File size168,881
Date (UTC)03-Dec-2008
Time (UTC)07:59
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008
File nameIa64_microsoft-windows-p..rastructureconsumer_31bf3856ad364e35_6.0.6001.22321_none_b453339e499d012a.manifest
File versionNot Applicable
File size168,905
Date (UTC)03-Dec-2008
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb960751_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,425
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_sc~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,426
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,429
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_server~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,434
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File nameWow64_microsoft-windows-p..rastructureconsumer_31bf3856ad364e35_6.0.6001.22321_none_1ac4d57e365d2b5f.manifest
File versionNot Applicable
File size152,555
Date (UTC)03-Dec-2008
Time (UTC)07:44
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows Server 2008
File nameAmd64_microsoft-windows-p..rastructureconsumer_31bf3856ad364e35_6.0.6000.20968_none_0e65aedc04eff998.manifest
File versionNot Applicable
File size168,032
Date (UTC)03-Dec-2008
Time (UTC)06:11
PlatformNot Applicable
File nameAmd64_microsoft-windows-p..rastructureconsumer_31bf3856ad364e35_6.0.6001.22321_none_10702b2c01fc6964.manifest
File versionNot Applicable
File size168,929
Date (UTC)03-Dec-2008
Time (UTC)07:14
PlatformNot Applicable
File namePackage_for_kb960751_client_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,433
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,375
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,722
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,429
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,431
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,433
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File namePackage_for_kb960751_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,439
Date (UTC)03-Dec-2008
Time (UTC)20:58
PlatformNot Applicable
File nameWow64_microsoft-windows-p..rastructureconsumer_31bf3856ad364e35_6.0.6000.20968_none_18ba592e3950bb93.manifest
File versionNot Applicable
File size151,658
Date (UTC)03-Dec-2008
Time (UTC)05:40
PlatformNot Applicable
File nameWow64_microsoft-windows-p..rastructureconsumer_31bf3856ad364e35_6.0.6001.22321_none_1ac4d57e365d2b5f.manifest
File versionNot Applicable
File size152,555
Date (UTC)03-Dec-2008
Time (UTC)07:44
PlatformNot Applicable

↑ Back to the top


Keywords: kbsurveynew, kbautohotfix, kbexpertiseadvanced, kbfix, kbqfe, KB960751

↑ Back to the top

Article Info
Article ID : 960751
Revision : 2
Created on : 10/8/2011
Published on : 10/8/2011
Exists online : False
Views : 284