An application may crash when it uses legacy methods to query performance counter values in Windows Vista or in Windows Server 2008

Article translations Article translations
Article ID: 953290 - View products that this article applies to.
Support for Windows Vista Service Pack 1 (SP1) ends on July 12, 2011. To continue receiving security updates for Windows, make sure you're running Windows Vista with Service Pack 2 (SP2). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • On a computer that is running Windows Vista or Windows Server 2008, an application uses legacy methods to query performance counter values. For example, the application uses the RegQueryValueEx function to perform a global query for performance counter data.
  • Counter data is returned from more than 64 counter sets that are registered by performance counter version 2.0 APIs. For example, the application performs a global query on a system on which more than 64 of these counter sets are registered.
In this scenario, the application may crash.

CAUSE

This problem occurs because of incorrect memory management behavior in the performance counter version 2.0 interface.

RESOLUTION

Update information

The following files are available for download from the Microsoft Download Center:

Collapse this imageExpand this image
Download
Download the Update for Windows Vista (KB953290) package now.

Collapse this imageExpand this image
Download
Download the Update for Windows Vista for x64-based Systems (KB953290) package now.

Collapse this imageExpand this image
Download
Download the Update for Windows Server 2008 (KB953290) package now.

Collapse this imageExpand this image
Download
Download the Update for Windows Server 2008 for Itanium-based Systems (KB953290) package now.

Collapse this imageExpand this image
Download
Download the Update for Windows Server 2008 x64 Edition (KB953290) package now.

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Hotfix information

Windows Vista hotfix information

Prerequisites
No prerequisites are required.
Restart requirement
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
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, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.0.6000.20836770,56017-May-200803:29x86
Regsvc.dll6.0.6000.20836106,49617-May-200803:33x86

Windows Vista with Service Pack 1, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Advapi32.dll6.0.6001.22181798,72017-May-200803:21x86SP1
Regsvc.dll6.0.6001.22181107,00817-May-200803:26x86SP1

Windows Vista, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.0.6000.208361,032,19217-May-200803:36x64
Regsvc.dll6.0.6000.20836203,77617-May-200803:40x64

Windows Vista with Service Pack 1, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Advapi32.dll6.0.6001.221811,062,40017-May-200803:49x64SP1
Regsvc.dll6.0.6001.22181206,84817-May-200803:55x64SP1

Windows Vista with Service Pack 1, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.0.6001.221811,960,44817-May-200803:36IA-64
Regsvc.dll6.0.6001.22181354,81617-May-200803:45IA-64

Windows Server 2008 hotfix information

Prerequisites
No prerequisites are required.
Restart requirement
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
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 Server 2008, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Advapi32.dll6.0.6001.22181798,72017-May-200803:21x86SP1
Regsvc.dll6.0.6001.22181107,00817-May-200803:26x86SP1

Windows Server 2008, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.0.6001.221811,960,44817-May-200803:36IA-64
Regsvc.dll6.0.6001.22181354,81617-May-200803:45IA-64

Windows Server 2008, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Advapi32.dll6.0.6001.221811,062,40017-May-200803:49x64SP1
Regsvc.dll6.0.6001.22181206,84817-May-200803:55x64SP1

STATUS

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

MORE INFORMATION

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

Properties

Article ID: 953290 - Last Review: October 8, 2011 - Revision: 3.0
APPLIES TO
  • Windows Vista Ultimate
  • Windows Vista Home Premium
  • Windows Vista Home Basic
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Service Pack 1
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 for Itanium-Based Systems
  • Windows Server 2008 Standard without Hyper-V
  • Windows Web Server 2008
Keywords: 
kbautohotfix kbexpertiseinter kbbug kbfix kbqfe KB953290

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com