Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · LeakDiagnostic.admx

LeakDiagnostic.admx: 1 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Configure Scenario Execution Level

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{eb73b633-3f4e-4ba0-8f60-8f3c6f53168f}
Enabled also writesSOFTWARE\Policies\Microsoft\Windows\WDI\{eb73b633-3f4e-4ba0-8f60-8f3c6f53168f} ScenarioExecutionEnabled = 1 (REG_DWORD)
Enabled also writesSOFTWARE\Policies\Microsoft\Windows\WDI\{eb73b633-3f4e-4ba0-8f60-8f3c6f53168f} EnabledScenarioExecutionLevel = 2 (REG_DWORD)
Disabled also writesSOFTWARE\Policies\Microsoft\Windows\WDI\{eb73b633-3f4e-4ba0-8f60-8f3c6f53168f} ScenarioExecutionEnabled = 0 (REG_DWORD)
Disabled also writesSOFTWARE\Policies\Microsoft\Windows\WDI\{eb73b633-3f4e-4ba0-8f60-8f3c6f53168f} EnabledScenarioExecutionLevel = 1 (REG_DWORD)
What it does (vendor explanation)

This policy setting determines whether Diagnostic Policy Service (DPS) diagnoses memory leak problems.

If you enable or do not configure this policy setting, the DPS enables Windows Memory Leak Diagnosis by default.

If you disable this policy setting, the DPS is not able to diagnose memory leak problems.

This policy setting takes effect only under the following conditions: -- If the diagnostics-wide scenario execution policy is not configured. -- When the Diagnostic Policy Service is in the running state. When the service is stopped or disabled, diagnostic scenarios are not 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.

Group Policy path: Computer Configuration > Administrative Templates > System > Troubleshooting and Diagnostics > Windows Memory Leak Diagnosis > Configure Scenario Execution Level

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{eb73b633-3f4e-4ba0-8f60-8f3c6f53168f}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{eb73b633-3f4e-4ba0-8f60-8f3c6f53168f}' -Name 'ScenarioExecutionEnabled' -Value 1 -PropertyType DWord -Force
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{eb73b633-3f4e-4ba0-8f60-8f3c6f53168f}' -Name 'EnabledScenarioExecutionLevel' -Value 2 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Crash dumps, error reporting and event logsADMX: LeakDiagnostic.admx · policy name WdiScenarioExecutionPolicy