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) · WDI.admx

WDI.admx: 2 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.

Diagnostics: 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
Value nameScenarioExecutionEnabled
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Scenario Execution LevelEnabledScenarioExecutionLevel1 (REG_DWORD) = Detection and Troubleshooting Only
2 (REG_DWORD) = Detection, Troubleshooting and Resolution
What it does (vendor explanation)

This policy setting determines the execution level for Diagnostic Policy Service (DPS) scenarios.

If you enable this policy setting, you must select an execution level from the drop-down menu. If you select problem detection and troubleshooting only, the DPS will detect problems and attempt to determine their root causes. These root causes will be logged to the event log when detected, but no corrective action will be taken. If you select detection, troubleshooting and resolution, the DPS will attempt to automatically fix problems it detects or indicate to the user that assisted resolution is available.

If you disable this policy setting, Windows cannot detect, troubleshoot, or resolve any problems that are handled by the DPS.

If you do not configure this policy setting, the DPS enables all scenarios for resolution by default, unless you configure separate scenario-specific policy settings.

This policy setting takes precedence over any scenario-specific policy settings when it is enabled or disabled. Scenario-specific policy settings only take effect if this policy setting is not configured.

No reboots or service restarts are required for this policy setting to take effect: changes take effect immediately.

Group Policy path: Computer Configuration > Administrative Templates > System > Troubleshooting and Diagnostics > Diagnostics: Configure scenario execution level

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Name 'ScenarioExecutionEnabled' -Value 1 -PropertyType DWord -Force
# Scenario Execution Level
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Name 'EnabledScenarioExecutionLevel' -Value 1 -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: WDI.admx · policy name WdiDpsScenarioExecutionPolicy

Diagnostics: Configure scenario retention

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
Value nameDataRetentionBySizeEnabled
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Scenario data size limit (in MB)DirSizeLimitREG_DWORDNumber 0 to max
What it does (vendor explanation)

This policy setting determines the data retention limit for Diagnostic Policy Service (DPS) scenario data.

If you enable this policy setting, you must enter the maximum size of scenario data that should be retained in megabytes. Detailed troubleshooting data related to scenarios will be retained until this limit is reached.

If you disable or do not configure this policy setting, the DPS deletes scenario data once it exceeds 128 megabytes in size.

No reboots or service restarts are required for this policy setting to take effect: changes take effect immediately.

This policy setting will only take effect when the Diagnostic Policy Service is in the running state. When the service is stopped or disabled, diagnostic scenario data will not be deleted. The DPS can be configured with the Services snap-in to the Microsoft Management Console.

Group Policy path: Computer Configuration > Administrative Templates > System > Troubleshooting and Diagnostics > Diagnostics: Configure scenario retention

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Name 'DataRetentionBySizeEnabled' -Value 1 -PropertyType DWord -Force
# Scenario data size limit (in MB)
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Name 'DirSizeLimit' -Value <value> -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: WDI.admx · policy name WdiDpsScenarioDataSizeLimitPolicy