Configurar el comportamiento de recuperación de archivos dañados: valor del Registro ScenarioExecutionEnabled y 1 másEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}
- Id. de directiva
- WdiScenarioExecutionPolicy
- Ámbito
- Configuración del equipo
- Compatible con
- Al menos Windows Vista
- Origen
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
- Categoría
- Sistema › Solución de problemas y diagnósticos › Recuperación de archivos dañados
Registro
ScenarioExecutionEnabled
REG_DWORDEquipo- Valor al habilitar
- 1
- Valor al deshabilitar
- 0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}] ; Opciones (usar solo una) ; Habilitada "ScenarioExecutionEnabled"=dword:00000001 ; Deshabilitada "ScenarioExecutionEnabled"=dword:00000000
CMD
:: Opciones (usar solo una) :: Habilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada 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_DWORDEquipo- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Nivel de ejecución de escenario
| Elemento de lista | Valor almacenado |
|---|---|
| Solo reparación | 1 |
| Normal | 2 |
| Silencioso | 3 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}] ; Opciones (usar solo una) ; Solo reparación "EnabledScenarioExecutionLevel"=dword:00000001 ; Normal "EnabledScenarioExecutionLevel"=dword:00000002 ; Silencioso "EnabledScenarioExecutionLevel"=dword:00000003
CMD
:: Opciones (usar solo una) :: Solo reparación reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f :: Normal reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f :: Silencioso reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 3 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Force | Out-Null # Opciones (usar solo una) # Solo reparación New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null # Normal New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null # Silencioso New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 3 -Force | Out-Null