Policy

Turn off API Sampling

This policy controls the state of API Sampling. API Sampling monitors the sampled collection of application programming interfaces used during system runtime to help diagnose compatibility problems. If you enable this policy, API Sampling will not be run. If you disable or do not configure this policy, API Sampling will be turned on.

Policy
PackMicrosoft Windows
CategoryWindows Components / App and Device Inventory
Policy IDde0ca6f6c5d7
Internal nameTurnOffAPISamping

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\AppCompat\DisableAPISamping (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\AppCompat\DisableAPISamping (disabled) = 0

Policy notes

This policy controls the state of API Sampling. API Sampling monitors the sampled collection of application programming interfaces used during system runtime to help diagnose compatibility problems. If you enable this policy, API Sampling will not be run. If you disable or do not configure this policy, API Sampling will be turned on.

Related policies