Notificar drivers bloqueados: valor do Registro ScenarioExecutionEnabled e mais 1ComputadorHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}
- ID da política
- DetectBlockedDriversPolicy
- Escopo
- Configuração do Computador
- Compatível com
- Windows Vista ou posterior
- Fonte
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
- Categoria
- Sistema › Solução de Problemas e Diagnóstico › Diagnóstico de Compatibilidade de Aplicativo
Registro
ScenarioExecutionEnabled
REG_DWORDComputador- Valor habilitado
- 1
- Valor desabilitado
- 1
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}] ; Opções (use apenas uma) ; Habilitada "ScenarioExecutionEnabled"=dword:00000001 ; Desabilitada "ScenarioExecutionEnabled"=dword:00000001
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada 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_DWORDComputador- Valor habilitado
- 2
- Valor desabilitado
- 1
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}] ; Opções (use apenas uma) ; Habilitada "EnabledScenarioExecutionLevel"=dword:00000002 ; Desabilitada "EnabledScenarioExecutionLevel"=dword:00000001
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 2 /f :: Desabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 2 -Force | Out-Null # Desabilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{affc81e2-612a-4f70-6fb2-916ff5c7e3f8}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null