Wiederherstellungsverhalten für beschädigte Dateien konfigurieren: Registrierungswert ScenarioExecutionEnabled und 1 weitereComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}

Richtlinien-ID
WdiScenarioExecutionPolicy
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 › Wiederherstellung beschädigter Dateien

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\{8519d925-541e-4a2b-8b1e-8059d16082f2}]

; 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\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -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 Problembehandlung1
Standard2
Unbeaufsichtigt3
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}]

; Optionen (nur eine verwenden)
; Nur Problembehandlung
"EnabledScenarioExecutionLevel"=dword:00000001
; Standard
"EnabledScenarioExecutionLevel"=dword:00000002
; Unbeaufsichtigt
"EnabledScenarioExecutionLevel"=dword:00000003
CMD
:: Optionen (nur eine verwenden)

:: Nur Problembehandlung
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f
:: Standard
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f
:: Unbeaufsichtigt
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 3 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Force | Out-Null

# Optionen (nur eine verwenden)
# Nur Problembehandlung
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Standard
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# Unbeaufsichtigt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 3 -Force | Out-Null