Turn off API Sampling

Policy ID
TurnOffAPISampling
Scope
Computer Configuration
Supported on
At least Windows 11 Version 24H2
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
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
  • DisableAPISamplingREG_DWORD

Other policies in the same category

View all policies in this category (5)