windows-itpro-docs/windows/client-management/mdm/policy-csp-admx-leakdiagnostic.md
2024-08-06 13:15:20 -06:00

97 lines
4.2 KiB
Markdown

---
title: ADMX_LeakDiagnostic Policy CSP
description: Learn more about the ADMX_LeakDiagnostic Area in Policy CSP.
ms.date: 08/06/2024
---
<!-- Auto-Generated CSP Document -->
<!-- ADMX_LeakDiagnostic-Begin -->
# Policy CSP - ADMX_LeakDiagnostic
[!INCLUDE [ADMX-backed CSP tip](includes/mdm-admx-csp-note.md)]
<!-- ADMX_LeakDiagnostic-Editable-Begin -->
<!-- Add any additional information about this policy here. Anything outside this section will get overwritten. -->
<!-- ADMX_LeakDiagnostic-Editable-End -->
<!-- WdiScenarioExecutionPolicy-Begin -->
## WdiScenarioExecutionPolicy
<!-- WdiScenarioExecutionPolicy-Applicability-Begin -->
| Scope | Editions | Applicable OS |
|:--|:--|:--|
| ✅ Device <br> ❌ User | ✅ Pro <br> ✅ Enterprise <br> ✅ Education <br> ✅ Windows SE <br> ✅ IoT Enterprise / IoT Enterprise LTSC | ✅ Windows 10, version 2004 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19041.1202] and later <br> ✅ Windows 10, version 20H2 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19042.1202] and later <br> ✅ Windows 10, version 21H1 with [KB5005101](https://support.microsoft.com/help/5005101) [10.0.19043.1202] and later <br> ✅ Windows 11, version 21H2 [10.0.22000] and later |
<!-- WdiScenarioExecutionPolicy-Applicability-End -->
<!-- WdiScenarioExecutionPolicy-OmaUri-Begin -->
```Device
./Device/Vendor/MSFT/Policy/Config/ADMX_LeakDiagnostic/WdiScenarioExecutionPolicy
```
<!-- WdiScenarioExecutionPolicy-OmaUri-End -->
<!-- WdiScenarioExecutionPolicy-Description-Begin -->
<!-- Description-Source-ADMX -->
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.
<!-- WdiScenarioExecutionPolicy-Description-End -->
<!-- WdiScenarioExecutionPolicy-Editable-Begin -->
<!-- Add any additional information about this policy here. Anything outside this section will get overwritten. -->[!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.
<!-- WdiScenarioExecutionPolicy-Editable-End -->
<!-- WdiScenarioExecutionPolicy-DFProperties-Begin -->
**Description framework properties**:
| Property name | Property value |
|:--|:--|
| Format | `chr` (string) |
| Access Type | Add, Delete, Get, Replace |
<!-- WdiScenarioExecutionPolicy-DFProperties-End -->
<!-- WdiScenarioExecutionPolicy-AdmxBacked-Begin -->
[!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 |
<!-- WdiScenarioExecutionPolicy-AdmxBacked-End -->
<!-- WdiScenarioExecutionPolicy-Examples-Begin -->
<!-- Add any examples for this policy here. Examples outside this section will get overwritten. -->
<!-- WdiScenarioExecutionPolicy-Examples-End -->
<!-- WdiScenarioExecutionPolicy-End -->
<!-- ADMX_LeakDiagnostic-CspMoreInfo-Begin -->
<!-- Add any additional information about this CSP here. Anything outside this section will get overwritten. -->
<!-- ADMX_LeakDiagnostic-CspMoreInfo-End -->
<!-- ADMX_LeakDiagnostic-End -->
## Related articles
[Policy configuration service provider](policy-configuration-service-provider.md)