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.

An application or a service that uses the Wmiaprpl.dll module crashes when the application or the service enumerates the returned performance objects under the HKEY_PERFORMANCE_DATA registry key


Symptoms

Consider the following scenario:
  • An application or a service queries the HKEY_PERFORMANCE_DATA registry key for the value name GLOBAL on a computer that is running Windows Server 2008, Windows Vista, Windows Server 2008 R2, or Windows 7.
  • The application or service enumerates the returned performance objects that are provided by the WmiApRpl.dll module. The number of performance objects that are to be accessed is determined by using the value of the NumObjectTypes variable in the returned PERF_DATA_BLOCK data.
In this scenario, the value of the NumObjectTypes variable may become larger than the actual number of performance objects in the buffer. When this occurs, the application or the service tries to read past the end of the buffer. This behavior causes an access violation exception, and then the application or the service crashes.

↑ Back to the top


Cause

This issue occurs because of an issue in the Windows Management Instrumentation (WMI) implementation. The issue causes the functions that are in Wmiaprpl.dll module to return an incorrect performance object number. Therefore, an access violation exception occurs, and the application or the service crashes.

↑ 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, your computer must be running one of the following Windows operating systems:
  • Windows Vista Service Pack 1 (SP1)
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008
  • Windows Server 2008 Service Pack 2 (SP2)
  • Windows Server 2008 R2
  • Windows 7
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

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 English (United States) 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 of these 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
    0.
    20xxx
    Windows VistaRTMLDR
    6.0.600
    1.
    22xxx
    Windows Vista and Windows Server 2008SP1LDR
    6.0.600
    2.
    22xxx
    Windows Vista and Windows Server 2008SP2LDR
  • Service Pack 1 is integrated into the release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxxx version number.
  • 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 and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. 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 7

File nameFile versionFile sizeDateTimePlatform
Winmgmt.exe6.1.7600.1638578,33614-Jul-200901:14x86
Wmiaprpl.dll6.1.7600.2068789,60009-Apr-201007:11x86
Wmisvc.dll6.1.7600.16385168,96014-Jul-200901:16x86
For all supported IA64-based versions of Windows Server 2008 R2

File nameFile versionFile sizeDateTimePlatform
Winmgmt.exe6.1.7600.16385101,37614-Jul-200901:45IA-64
Wmiaprpl.dll6.1.7600.20687281,08809-Apr-201006:28IA-64
Wmisvc.dll6.1.7600.16385483,32814-Jul-200901:50IA-64
Winmgmt.exe6.1.7600.1638578,33614-Jul-200901:14x86
Wmiaprpl.dll6.1.7600.2068789,60009-Apr-201007:11x86
For all supported x64-based versions of Windows Server 2008 R2 and Windows 7

File nameFile versionFile sizeDateTimePlatform
Winmgmt.exe6.1.7600.1638579,87214-Jul-200901:39x64
Wmiaprpl.dll6.1.7600.20687137,72809-Apr-201007:51x64
Wmisvc.dll6.1.7600.16385242,68814-Jul-200901:41x64
Winmgmt.exe6.1.7600.1638578,33614-Jul-200901:14x86
Wmiaprpl.dll6.1.7600.2068789,60009-Apr-201007:11x86
For all supported x86-based versions of Windows Server 2008 and of Windows Vista

File nameFile versionFile sizeDateTimePlatform
Winmgmt.exe6.0.6001.2256477,82416-Nov-200911:47x86
Wmiaprpl.dll6.0.6001.2256490,11216-Nov-200914:12x86
Wmisvc.dll6.0.6001.22564161,79216-Nov-200914:12x86
Wmisvc.tmfNot Applicable26,91916-Nov-200911:47Not Applicable
Winmgmt.exe6.0.6002.2226877,82416-Nov-200911:41x86
Wmiaprpl.dll6.0.6002.2226890,11216-Nov-200914:04x86
Wmisvc.dll6.0.6002.22268162,30416-Nov-200914:04x86
Wmisvc.tmfNot Applicable26,91916-Nov-200911:41Not Applicable
For all supported x64-based versions of Windows Server 2008 and of Windows Vista

File nameFile versionFile sizeDateTimePlatformService branch
Winmgmt.exe6.0.6001.2256478,84816-Nov-200912:07x64Not Applicable
Wmiaprpl.dll6.0.6001.22564143,36016-Nov-200914:50x64Not Applicable
Wmisvc.dll6.0.6001.22564221,69616-Nov-200914:50x64Not Applicable
Wmisvc.tmfNot Applicable32,61416-Nov-200912:07Not ApplicableNot Applicable
Winmgmt.exe6.0.6002.2226878,84816-Nov-200911:53x64Not Applicable
Wmiaprpl.dll6.0.6002.22268143,36016-Nov-200914:02x64Not Applicable
Wmisvc.dll6.0.6002.22268221,69616-Nov-200914:02x64Not Applicable
Wmisvc.tmfNot Applicable32,58316-Nov-200911:53Not ApplicableNot Applicable
Winmgmt.exe6.0.6001.2256477,82416-Nov-200911:47x86WOW
Wmiaprpl.dll6.0.6001.2256490,11216-Nov-200914:12x86WOW
Wmisvc.tmfNot Applicable26,91916-Nov-200911:47Not ApplicableWOW
Winmgmt.exe6.0.6002.2226877,82416-Nov-200911:41x86WOW
Wmiaprpl.dll6.0.6002.2226890,11216-Nov-200914:04x86WOW
Wmisvc.tmfNot Applicable26,91916-Nov-200911:41Not ApplicableWOW
For all supported IA-64-based versions of Windows Server 2008

File nameFile versionFile sizeDateTimePlatformService branch
Winmgmt.exe6.0.6001.2256499,32816-Nov-200911:56IA-64Not Applicable
Wmiaprpl.dll6.0.6001.22564279,55216-Nov-200916:35IA-64Not Applicable
Wmisvc.dll6.0.6001.22564458,75216-Nov-200916:35IA-64Not Applicable
Wmisvc.tmfNot Applicable26,95416-Nov-200911:57Not ApplicableNot Applicable
Winmgmt.exe6.0.6002.2226899,32816-Nov-200911:49IA-64Not Applicable
Wmiaprpl.dll6.0.6002.22268279,55216-Nov-200913:56IA-64Not Applicable
Wmisvc.dll6.0.6002.22268458,75216-Nov-200913:56IA-64Not Applicable
Wmisvc.tmfNot Applicable27,16816-Nov-200911:49Not ApplicableNot Applicable
Winmgmt.exe6.0.6001.2256477,82416-Nov-200911:47x86WOW
Wmiaprpl.dll6.0.6001.2256490,11216-Nov-200914:12x86WOW
Wmisvc.tmfNot Applicable26,91916-Nov-200911:47Not ApplicableWOW
Winmgmt.exe6.0.6002.2226877,82416-Nov-200911:41x86WOW
Wmiaprpl.dll6.0.6002.2226890,11216-Nov-200914:04x86WOW
Wmisvc.tmfNot Applicable26,91916-Nov-200911:41Not ApplicableWOW

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

The fix is included in Service Pack 1 (SP1) for Windows 7 and SP1 for Windows Server 2008 R2.

↑ 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

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 nameFile versionFile sizeDateTimePlatform
Package_for_kb977589_client_1~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,36717-Nov-200908:45Not Applicable
Package_for_kb977589_client_2~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,69317-Nov-200908:45Not Applicable
Package_for_kb977589_client~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,71317-Nov-200908:45Not Applicable
Package_for_kb977589_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,42117-Nov-200908:45Not Applicable
Package_for_kb977589_sc_1~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,69017-Nov-200908:45Not Applicable
Package_for_kb977589_sc~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,70117-Nov-200908:45Not Applicable
Package_for_kb977589_server_0~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,42517-Nov-200908:45Not Applicable
Package_for_kb977589_server_1~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,69417-Nov-200908:45Not Applicable
Package_for_kb977589_server~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,71317-Nov-200908:45Not Applicable
X86_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6001.22564_none_a0ff81d3103bbff6.manifestNot Applicable17,65216-Nov-200917:33Not Applicable
X86_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6002.22268_none_a2e9f4e30d5e7a76.manifestNot Applicable17,65216-Nov-200916:00Not Applicable

Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008

File nameFile versionFile sizeDateTimePlatform
Amd64_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6001.22564_none_fd1e1d56c899312c.manifestNot Applicable17,70216-Nov-200918:58Not Applicable
Amd64_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6002.22268_none_ff089066c5bbebac.manifestNot Applicable17,70216-Nov-200918:40Not Applicable
Package_for_kb977589_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,37517-Nov-200908:45Not Applicable
Package_for_kb977589_client_2~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,70517-Nov-200908:45Not Applicable
Package_for_kb977589_client~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,72317-Nov-200908:45Not Applicable
Package_for_kb977589_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,42917-Nov-200908:45Not Applicable
Package_for_kb977589_sc_1~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,70217-Nov-200908:45Not Applicable
Package_for_kb977589_sc~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,71117-Nov-200908:45Not Applicable
Package_for_kb977589_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,43317-Nov-200908:45Not Applicable
Package_for_kb977589_server_1~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,70617-Nov-200908:45Not Applicable
Package_for_kb977589_server~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,72317-Nov-200908:45Not Applicable
Wow64_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6001.22564_none_0772c7a8fcf9f327.manifestNot Applicable16,08616-Nov-200915:56Not Applicable
Wow64_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6002.22268_none_095d3ab8fa1cada7.manifestNot Applicable16,08616-Nov-200915:48Not Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008

File nameFile versionFile sizeDateTimePlatform
Ia64_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6001.22564_none_a10125c91039c8f2.manifestNot Applicable17,67617-Nov-200902:11Not Applicable
Ia64_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6002.22268_none_a2eb98d90d5c8372.manifestNot Applicable17,67616-Nov-200915:16Not Applicable
Package_for_kb977589_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,42517-Nov-200908:45Not Applicable
Package_for_kb977589_sc_1~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,52917-Nov-200908:45Not Applicable
Package_for_kb977589_sc~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,70617-Nov-200908:45Not Applicable
Package_for_kb977589_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,42917-Nov-200908:45Not Applicable
Package_for_kb977589_server_1~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,53317-Nov-200908:45Not Applicable
Package_for_kb977589_server~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,71717-Nov-200908:45Not Applicable
Wow64_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6001.22564_none_0772c7a8fcf9f327.manifestNot Applicable16,08616-Nov-200915:56Not Applicable
Wow64_microsoft-windows-wmi-core-svc_31bf3856ad364e35_6.0.6002.22268_none_095d3ab8fa1cada7.manifestNot Applicable16,08616-Nov-200915:48Not Applicable

↑ Back to the top


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

↑ Back to the top

Article Info
Article ID : 977589
Revision : 4
Created on : 8/20/2020
Published on : 8/20/2020
Exists online : False
Views : 111