Configurar nivel de ejecución de escenario: valor del Registro ScenarioExecutionEnabled y 1 más ({a7a5847a-7511-4e4e-90b1-45ad2a002f51})EquipoHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}
- Id. de directiva
- WdiScenarioExecutionPolicy_2
- Á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 › Diagnóstico de rendimiento de respuesta del sistema de Windows
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\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}] ; 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\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
ScenarioExecutionEnabled
REG_DWORDEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{186f47ef-626c-4670-800a-4a30756babad}
- 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\{186f47ef-626c-4670-800a-4a30756babad}] ; 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\{186f47ef-626c-4670-800a-4a30756babad}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{186f47ef-626c-4670-800a-4a30756babad}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{186f47ef-626c-4670-800a-4a30756babad}' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{186f47ef-626c-4670-800a-4a30756babad}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{186f47ef-626c-4670-800a-4a30756babad}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
ScenarioExecutionEnabled
REG_DWORDEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{ecfb03d1-58ee-4cc7-a1b5-9bc6febcb915}
- 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\{ecfb03d1-58ee-4cc7-a1b5-9bc6febcb915}] ; 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\{ecfb03d1-58ee-4cc7-a1b5-9bc6febcb915}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{ecfb03d1-58ee-4cc7-a1b5-9bc6febcb915}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{ecfb03d1-58ee-4cc7-a1b5-9bc6febcb915}' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{ecfb03d1-58ee-4cc7-a1b5-9bc6febcb915}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{ecfb03d1-58ee-4cc7-a1b5-9bc6febcb915}' -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 detección y solución de problemas | 1 |
| Detección, solución y resolución de problemas | 2 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}] ; Opciones (usar solo una) ; Solo detección y solución de problemas "EnabledScenarioExecutionLevel"=dword:00000001 ; Detección, solución y resolución de problemas "EnabledScenarioExecutionLevel"=dword:00000002
CMD
:: Opciones (usar solo una) :: Solo detección y solución de problemas reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f :: Detección, solución y resolución de problemas reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}' -Force | Out-Null # Opciones (usar solo una) # Solo detección y solución de problemas New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null # Detección, solución y resolución de problemas New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{a7a5847a-7511-4e4e-90b1-45ad2a002f51}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null