Turn off API Sampling
- Policy ID
- TurnOffAPISamping
- Scope
- Computer Configuration
- Supported on
- At least Windows 11 Version 24H2
- Source
- Administrative Templates (.admx) for Windows 11 2025 Update (25H2) (version 1)
- Category
- Windows Components › App and Device Inventory
Description
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.
Registry
ComputerHKEY_LOCAL_MACHINE
- DisableAPISampingREG_DWORD