Exploit Guard Control Flow Guard Registry Keys

This article provides an overview of the specific Windows Registry keys used to manage Control Flow Guard (CFG) settings within Windows Defender Exploit Guard. It covers the exact registry paths for system-wide configuration, per-application overrides, and enterprise policy deployments, detailing how Windows stores and enforces these exploit mitigation settings.

System-Wide Control Flow Guard Registry Key

System-wide Exploit Guard mitigation policies, including default Control Flow Guard states, are managed at the kernel level. The primary registry path for system-wide mitigation settings is:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel

Per-Application Control Flow Guard Registry Key

When Control Flow Guard is configured for individual applications (either via Windows Security or PowerShell), Windows writes the mitigation flags under Image File Execution Options (IFEO):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\<ExecutableName.exe>

Enterprise and Group Policy Exploit Guard Key

When Exploit Protection settings are deployed centrally via Group Policy or Microsoft Intune, the configuration XML path is defined under the Windows Defender policy key:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Exploit Guard\Exploit Protection

Because the MitigationOptions values use complex 64-bit binary bitmasks, modifying the raw hex values directly in regedit can lead to misconfigurations. The recommended administrative method to manipulate these keys is via PowerShell cmdlets: