Configurar comportamento de Recuperação de Arquivo Corrompido: valor do Registro ScenarioExecutionEnabled e mais 1ComputadorHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}
- ID da política
- WdiScenarioExecutionPolicy
- 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 › Recuperação de Arquivo Corrompido
Registro
ScenarioExecutionEnabled
REG_DWORDComputador- Valor habilitado
- 1
- Valor desabilitado
- 0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}] ; Opções (use apenas uma) ; Habilitada "ScenarioExecutionEnabled"=dword:00000001 ; Desabilitada "ScenarioExecutionEnabled"=dword:00000000
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "ScenarioExecutionEnabled" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'ScenarioExecutionEnabled' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada 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_DWORDComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- Nível de Execução do Cenário
| Item | Valor armazenado |
|---|---|
| Somente Solução de Problemas | 1 |
| Regular | 2 |
| Silencioso | 3 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}] ; Opções (use apenas uma) ; Somente Solução de Problemas "EnabledScenarioExecutionLevel"=dword:00000001 ; Regular "EnabledScenarioExecutionLevel"=dword:00000002 ; Silencioso "EnabledScenarioExecutionLevel"=dword:00000003
CMD
:: Opções (use apenas uma) :: Somente Solução de Problemas reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}" /v "EnabledScenarioExecutionLevel" /t REG_DWORD /d 1 /f :: Regular 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
# Comum: criar a chave New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Force | Out-Null # Opções (use apenas uma) # Somente Solução de Problemas New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{8519d925-541e-4a2b-8b1e-8059d16082f2}' -Name 'EnabledScenarioExecutionLevel' -PropertyType DWord -Value 1 -Force | Out-Null # Regular 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