Notificar acerca de controladores bloqueados: valor del Registro ScenarioExecutionEnabled y 1 másEquipoHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}
- Id. de directiva
- DetectBlockedDriversPolicy
- Á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ósticos de compatibilidad de aplicaciones
Registro
ScenarioExecutionEnabled
REG_DWORDEquipo- Valor al habilitar
- 1
- Valor al deshabilitar
- 1
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}] ; Opciones (usar solo una) ; Habilitada "ScenarioExecutionEnabled"=dword:00000001 ; Deshabilitada "ScenarioExecutionEnabled"=dword:00000001
CMD
:: Opciones (usar solo una) :: Habilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f :: Deshabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -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\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}] ; 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\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f :: Deshabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Force | Out-Null # Opciones (usar solo una) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null # Deshabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null