Diagnose: Szenarioausführungsebene konfigurieren: Registrierungswert ScenarioExecutionEnabled und 1 weitereComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI

Richtlinien-ID
WdiDpsScenarioExecutionPolicy
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Vista
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
System › Problembehandlung und Diagnose

Registrierung

ScenarioExecutionEnabled

REG_DWORDComputer
Wert bei Aktivierung
1
Wert bei Deaktivierung
0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI]

; Optionen (nur eine verwenden)
; Aktiviert
"ScenarioExecutionEnabled"=dword:00000001
; Deaktiviert
"ScenarioExecutionEnabled"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 0 -Force | Out-Null

EnabledScenarioExecutionLevel

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Szenarioausführungsebene
Optionen
EintragGespeicherter Wert
Nur Erkennung und Problembehandlung1
Erkennung, Problembehandlung und Lösung2
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI]

; Optionen (nur eine verwenden)
; Nur Erkennung und Problembehandlung
"EnabledScenarioExecutionLevel"=dword:00000001
; Erkennung, Problembehandlung und Lösung
"EnabledScenarioExecutionLevel"=dword:00000002
CMD
:: Optionen (nur eine verwenden)

:: Nur Erkennung und Problembehandlung
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f
:: Erkennung, Problembehandlung und Lösung
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Force | Out-Null

# Optionen (nur eine verwenden)
# Nur Erkennung und Problembehandlung
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Erkennung, Problembehandlung und Lösung
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null