Turn off API Sampling

This policy is not available in 26H2. Last published: 25H2

Removed on: 2026-09-29 · Last confirmed version: 25H2 · Removed policies list

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