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.

Invalid "Avg. Disk sec/Transfer" value returned by the RegQueryValueEx function in Windows Server 2008 or in Windows Vista


View products that this article applies to.

Important We recommend that you install KB 2710558 instead of or after installing KB 2495300 to avoid issues.

↑ Back to the top


Symptoms

Consider the following scenario:
  • You have a computer that is running Windows Server 2008 or Windows Vista.
  • You query the value of the Avg. Disk sec/Transfer performance counter by using the RegQueryValueEx function.
In this scenario, the function may return a large invalid value.

Notes
  • This issue does not occur if you collect the value of the same performance counter by using the Performance Monitor utility.
  • This issue may occur if an application or service uses the sample code that is described on the following Microsoft Developer Network (MSDN) website:
    For example, you use Microsoft System Center Operations Manager 2007 to monitor the health status of a computer that is running Windows Server 2008. In this scenario, you may receive the wrong alters for troubleshooting.

↑ Back to the top


Cause

This issue occurs because of an error in the volume manager driver (Volmgr.sys).

Some applications or services close the handle to the HKEY_PERFORMANCE_DATA registry key after the RegQueryValueEx function is called. The kernel provider enables or disables the disk counter intermittently. However, the time stamps of some I/O request packets (IRPs) are not recorded when the disk counter is disabled. Therefore, the function calculates and returns some invalid data that does not have a time stamp.

Note In Windows Server 2008 or in Windows Vista, the disk counter in the kernel provider can be dynamically enabled or disabled. If the handle to the HKEY_PERFORMANCE_DATA registry key is closed, the kernel provider disables the I/O performance trace.

↑ 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.

Prerequisites

To apply this hotfix, you must be running Windows Vista Service Pack 2 (SP2) or Windows Server 2008 Service Pack 2 (SP2).

For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:

935791 How to obtain the latest Windows Vista service pack

For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

968849 How to obtain the latest service pack for Windows Server 2008

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    VersionProductSR_LevelService branch
    6.0.600
    2.
    22xxx
    Windows Vista and Windows Server 2008SP2LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Agp440.sys6.0.6002.2257053,13613-Jan-201122:10x86
Amdagp.sys6.0.6002.2257054,16013-Jan-201122:10x86
Isapnp.sys6.0.6002.2257046,48013-Jan-201122:10x86
Msisadrv.sys6.0.6002.2257013,20013-Jan-201122:10x86
Mssmbios.sys6.0.6002.2257028,04813-Jan-201122:10x86
Nv_agp.sys6.0.6002.22570105,87213-Jan-201122:10x86
Pci.sys6.0.6002.22570148,88013-Jan-201122:10x86
Rdpdr.sys6.0.6002.22570250,36813-Jan-201114:12x86
Sisagp.sys6.0.6002.2257052,62413-Jan-201122:10x86
Streamci.dll6.0.6002.2257021,90413-Jan-201122:10x86
Swenum.sys6.0.6002.2257012,04813-Jan-201122:10Not applicable
Termdd.sys6.0.6002.2257051,60013-Jan-201122:10x86
Uliagpkx.sys6.0.6002.2257057,74413-Jan-201122:10x86
Viaagp.sys6.0.6002.2257053,64813-Jan-201122:10x86
Volmgr.sys6.0.6002.2257049,55213-Jan-201122:10x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Agp440.sys6.0.6002.2257061,32813-Jan-201122:05x64
Isapnp.sys6.0.6002.2257020,36813-Jan-201122:05x64
Msisadrv.sys6.0.6002.2257014,73613-Jan-201122:05x64
Mssmbios.sys6.0.6002.2257031,63213-Jan-201122:05x64
Nv_agp.sys6.0.6002.22570123,28013-Jan-201122:05x64
Pci.sys6.0.6002.22570178,57613-Jan-201122:05x64
Rdpdr.sys6.0.6002.22570315,90413-Jan-201114:34x64
Streamci.dll6.0.6002.2257023,44013-Jan-201122:05x64
Swenum.sys6.0.6002.2257012,30413-Jan-201122:05x64
Termdd.sys6.0.6002.2257060,81613-Jan-201122:05x64
Uliagpkx.sys6.0.6002.2257064,91213-Jan-201122:05x64
Volmgr.sys6.0.6002.2257063,37613-Jan-201122:05x64
For all supported IA-64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Agp460.sys6.0.6002.22570136,70413-Jan-201113:31IA-64
Isapnp.sys6.0.6002.2257034,19213-Jan-201122:02IA-64
Msisadrv.sys6.0.6002.2257021,90413-Jan-201122:02IA-64
Mssmbios.sys6.0.6002.2257054,16013-Jan-201122:02IA-64
Pci.sys6.0.6002.22570441,23213-Jan-201122:02IA-64
Rdpdr.sys6.0.6002.22570711,68013-Jan-201114:15IA-64
Streamci.dll6.0.6002.2257042,89613-Jan-201122:02IA-64
Swenum.sys6.0.6002.2257016,01613-Jan-201122:02Not applicable
Termdd.sys6.0.6002.22570156,56013-Jan-201122:02IA-64
Volmgr.sys6.0.6002.22570145,80813-Jan-201122:02IA-64

↑ 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 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

For more information about the RegQueryValueEx function, visit the following Microsoft Developer Network (MSDN) website:
For more information about how to retrieve counter data, visit the following MSDN website:
For more information about a similar issue in Windows 7 or in Windows Server 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base:
2470949 The RegQueryValueEx function returns a very large invalid value of the performance counter "Avg. Disk sec/Transfer" in Windows Server 2008 R2 or in Windows 7

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File nameUpdate.mum
File versionNot applicable
File size3,078
Date (UTC)13-Jan-2011
Time (UTC)22:16
PlatformNot applicable
File nameX86_machine.inf_31bf3856ad364e35_6.0.6002.22570_none_bc3759c4d52d7e10.manifest
File versionNot applicable
File size9,974
Date (UTC)13-Jan-2011
Time (UTC)22:16
PlatformNot applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_machine.inf_31bf3856ad364e35_6.0.6002.22570_none_1855f5488d8aef46.manifest
File versionNot applicable
File size8,242
Date (UTC)13-Jan-2011
Time (UTC)22:16
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size3,102
Date (UTC)13-Jan-2011
Time (UTC)22:16
PlatformNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008
File nameIa64_machine.inf_31bf3856ad364e35_6.0.6002.22570_none_bc38fdbad52b870c.manifest
File versionNot applicable
File size7,081
Date (UTC)13-Jan-2011
Time (UTC)22:16
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,255
Date (UTC)13-Jan-2011
Time (UTC)22:16
PlatformNot applicable

↑ Back to the top


Keywords: kb, kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbsurveynew, kbexpertiseinter

↑ Back to the top

Article Info
Article ID : 2495300
Revision : 1
Created on : 1/7/2017
Published on : 2/17/2014
Exists online : False
Views : 327