ADMX Viewer
Microsoft.Policies.AppDeviceInventory• Machine

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 Details

Policy Name
TurnOffAPISamping
Registry Key
Software\Policies\Microsoft\Windows\AppCompat
Value Name
DisableAPISamping
Supported On
At least Windows 11 Version 24H2
OMA-URI (CSP)
AppDeviceInventory/TurnOffAPISamping
OS Build Version:99.9.99999
CSP Version:9.9
Conflict Resolution:LastWrite
Allowed Editions:
EnterpriseEnterprise NProfessionalProfessional NEnterprise EvaluationEnterprise N EvaluationEducationEducation NEnterprise SEnterprise S NEnterprise S EvaluationEnterprise S N EvaluationPro Single LanguagePro ChinaPro WorkstationPro Workstation NPro For EducationPro For Education NEnterprisegEnterprisegnServerrdshIotenterpriseIotenterprisesCloudeditionnCloudedition
Policy State Values
Enabled: 1
Disabled: 0
Available Languages
en-us