Policy
Turn off API Sampling
Microsoft Windows
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows11
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.
Internal name
TurnOffAPISampling
Policy ID
f7a17fd0082a
Elements
0
Registry values
How enabled and disabled states update the registry.
| Scope | Registry location | Type | Enabled value | Disabled value | Copy |
|---|---|---|---|---|---|
| Computer | Path Software\Policies\Microsoft\Windows\AppCompat Value name DisableAPISampling | REG_DWORD | HKLM 1 | HKLM 0 |
Registry location
Path
Software\Policies\Microsoft\Windows\AppCompat
Value name
DisableAPISampling
Hive
HKLM
Enabled value
1
Disabled value
0
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.