You are currently offline, waiting for your internet to reconnect

Your browser is out-of-date

You need to update your browser to use the site.

Update to the latest version of Internet Explorer

Description of the Patch Registration Cleanup Tool

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

Support for Windows Server 2003 ended on July 14, 2015

Microsoft ended support for Windows Server 2003 on July 14, 2015. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

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.
INTRODUCTION
Microsoft has released the Patch Registration Cleanup Tool. To download the tool, visit the following Microsoft Web site:Note To see usage information for this tool, type PatchRegCleanup /? at the command prompt.
Overview
Windows Installer uses the registry to record information about updates installed for each Windows Installer-based product. These registry keys help identify the state of each update: registered, applied, superseded, or obsoleted. Information about installed updates is stored across several registry keys and values. To allow for the product to be in a serviceable state in which it can be repaired, updated, or uninstalled, it is critical for the data in these registry keys to be synchronized. When the data in these registry keys is no longer synchronized, maintenance mode operations cannot be performed on the product .msi file.

The Patch Registration Cleanup Tool helps resolve some issues that are related to invalid or corrupted update registration. This tool lets you bring the product back to a known state so that you can reinstall updates.
MORE INFORMATION
Windows Installer stores information about each Windows Installer-based product under the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\<Squished GUID for Product>
The squished GUID (or SQUID for short) is an internal representation of the GUID that represents the product code property in the .msi file. Information about the updates that are installed for the particular product is recorded under the following Patches subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\<Squished GUID for Product>\Patches\
The information about each update is listed in the following two locations:
  • Under the AllPatches multi-string value. The SQUID for each update, regardless of whether the update is registered, applied, superseded, or obsoleted, is listed here.
  • A subkey under the Patches node that is named by using the SQUID of the particular update. This subkey provides more details about an update.

Patches node registry key


Valid update registration requires that all updates that have their SQUIDs listed under the Patches node and that are either registered or applied updates should also be included under the AllPatches multi-string value. Also, the AllPatches multi-string value should not contain SQUIDs for updates that do not have corresponding registry keys under the Patches node.

When the update registration information is not as expected, Windows Installer cannot perform any maintenance mode operations on the product.

The Patch Registration Cleanup tool addresses some of these issues by removing any registry keys under the Patches node that do not have corresponding entries under the AllPatches multi-string value.

For more information about update registration problems, click the following article number to view the article in the Microsoft Knowledge Base:
971187How to fix MSI software update registration corruption issues
Patch Registration Cleanup Tool Windows Installer Registry Key
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 976220 - Last Review: 06/10/2011 15:42:00 - Revision: 3.3

  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Ultimate
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 Service Pack 2
  • 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 Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • Windows Web Server 2008
  • Windows Vista Service Pack 2
  • Windows Vista Service Pack 1
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Starter
  • Windows Vista Ultimate
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business 64-bit Edition
  • Microsoft Windows Server 2003 Service Pack 2
  • Microsoft Windows XP Service Pack 2
  • Microsoft Windows XP Service Pack 3
  • kbtshoot atdownload kbexpertiseinter kbsecurity kbsurveynew KB976220
Feedback
>