Configura comportamento di ripristino file danneggiati: valore del Registro di sistema ScenarioExecutionEnabled e altri 1ComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}
- ID criterio
- WdiScenarioExecutionPolicy
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows Vista
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Sistema › Risoluzione dei problemi e diagnostica › Ripristino file danneggiati
Registro
ScenarioExecutionEnabled
REG_DWORDComputer- Valore abilitato
- 1
- Valore disabilitato
- 0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}] ; Opzioni (usarne solo una) ; Abilitato "ScenarioExecutionEnabled"=dword:00000001 ; Disabilitato "ScenarioExecutionEnabled"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Abilitato reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f :: Disabilitato reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Force | Out-Null # Opzioni (usarne solo una) # Abilitato New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Disabilitato 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- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Livello di esecuzione dello scenario
| Voce | Valore memorizzato |
|---|---|
| Solo risoluzione dei problemi | 1 |
| Normale | 2 |
| Invisibile all'utente | 3 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}] ; Opzioni (usarne solo una) ; Solo risoluzione dei problemi "EnabledScenarioExecutionLevel"=dword:00000001 ; Normale "EnabledScenarioExecutionLevel"=dword:00000002 ; Invisibile all'utente "EnabledScenarioExecutionLevel"=dword:00000003
CMD
:: Opzioni (usarne solo una) :: Solo risoluzione dei problemi reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f :: Normale reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f :: Invisibile all'utente reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Force | Out-Null # Opzioni (usarne solo una) # Solo risoluzione dei problemi New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null # Normale New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null # Invisibile all'utente New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 3 -Force | Out-Null