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
Pack Microsoft Windows
Category Windows Components / App and Device Inventory
Policy ID de0ca6f6c5d7
Internal name TurnOffAPISamping

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