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.
PackMicrosoft Windows
CategoryWindows Components / App and Device Inventory
Policy ID
de0ca6f6c5d7Internal name
TurnOffAPISampingRegistry
Copy registry mappings
HKLM\Software\Policies\Microsoft\Windows\AppCompat\DisableAPISamping (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\AppCompat\DisableAPISamping (disabled) = 0Policy 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.