Configurar nivel de ejecución de escenario: valor del Registro ScenarioExecutionEnabled y 1 más ({dc42ff48-e40d-4a60-8675-e71f7e64aa9a})EquipoHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}
- Id. de directiva
- WdiScenarioExecutionPolicy
- Ámbito
- Configuración del equipo
- Compatible con
- Al menos Windows Server 2008 R2 o Windows 7
- Origen
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
- Categoría
- Sistema › Solución de problemas y diagnósticos › Montón de tolerancia a errores
Registro
ScenarioExecutionEnabled
-EquipoScenarioExecutionEnabled
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\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}] ; 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\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
EnabledScenarioExecutionLevel
REG_DWORDEquipo- Valor al habilitar
- 2
- Valor al deshabilitar
- 1
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}] ; Opciones (usar solo una) ; Habilitada "EnabledScenarioExecutionLevel"=dword:00000002 ; Deshabilitada "EnabledScenarioExecutionLevel"=dword:00000001
CMD
:: Opciones (usar solo una) :: Habilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f :: Deshabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{dc42ff48-e40d-4a60-8675-e71f7e64aa9a}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null