--- title: ADMX_LeakDiagnostic Policy CSP description: Learn more about the ADMX_LeakDiagnostic Area in Policy CSP. ms.date: 08/06/2024 --- # Policy CSP - ADMX_LeakDiagnostic [!INCLUDE [ADMX-backed CSP tip](includes/mdm-admx-csp-note.md)] ## WdiScenarioExecutionPolicy | Scope | Editions | Applicable OS | |:--|:--|:--| | ✅ Device
❌ User | ✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC | ✅ Windows 10, version 2004 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19041.1202] and later
✅ Windows 10, version 20H2 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19042.1202] and later
✅ Windows 10, version 21H1 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later | ```Device ./Device/Vendor/MSFT/Policy/Config/ADMX_LeakDiagnostic/WdiScenarioExecutionPolicy ``` This policy setting determines whether Diagnostic Policy Service (DPS) diagnoses memory leak problems. - If you enable or don't configure this policy setting, the DPS enables Windows Memory Leak Diagnosis by default. - If you disable this policy setting, the DPS isn't able to diagnose memory leak problems. This policy setting takes effect only under the following conditions: - If the diagnostics-wide scenario execution policy isn't configured. - When the Diagnostic Policy Service is in the running state. When the service is stopped or disabled, diagnostic scenarios aren't executed. > [!NOTE] > The DPS can be configured with the Services snap-in to the Microsoft Management Console. No operating system restart or service restart is required for this policy to take effect. Changes take effect immediately. [!NOTE] For Windows Server systems, this policy setting applies only if the Desktop Experience optional component is installed and the Remote Desktop Services role is not installed. **Description framework properties**: | Property name | Property value | |:--|:--| | Format | `chr` (string) | | Access Type | Add, Delete, Get, Replace | [!INCLUDE [ADMX-backed policy note](includes/mdm-admx-policy-note.md)] **ADMX mapping**: | Name | Value | |:--|:--| | Name | WdiScenarioExecutionPolicy | | Friendly Name | Configure Scenario Execution Level | | Location | Computer Configuration | | Path | System > Troubleshooting and Diagnostics > Windows Memory Leak Diagnosis | | Registry Key Name | SOFTWARE\Policies\Microsoft\Windows\WDI\{eb73b633-3f4e-4ba0-8f60-8f3c6f53168f} | | ADMX File Name | LeakDiagnostic.admx | ## Related articles [Policy configuration service provider](policy-configuration-service-provider.md)