Windows App Compatibility Shims Registry Path

The Windows Application Compatibility (AppCompat) engine uses specific registry keys to manage, register, and apply compatibility shims across the operating system. This guide details the exact system-wide Windows Registry paths used to store installed Shim Databases (SDB files), active compatibility layer flags, and custom runtime configurations applied to legacy applications.

Primary System-Wide Registry Path

The central registry location for system-wide application compatibility settings is located under the Local Machine hive at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags

Key Subkeys and Their Functions

Within the AppCompatFlags branch, Windows organizes compatibility shims into distinct subkeys depending on how the fix is applied:

32-Bit Applications on 64-Bit Windows (WOW64)

For 32-bit applications running on a 64-bit version of Windows, the operating system mirrors these settings under the WOW6432Node registry hive:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\AppCompatFlags

This ensures that 32-bit processes interacting with the Windows registry can resolve installed shim databases and compatibility layers seamlessly.