Permitir restauração do sistema ao estado padrão: valor do Registro DisableSetupComputadorHKLM\SOFTWARE\Policies\Microsoft\Windows\WinRE

ID da política
ConfigureWinRESetup
Escopo
Configuração do Computador
Compatível com
Windows Server 2008 R2 e Windows 7
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Sistema › Recuperação

Registro

DisableSetup

REG_DWORDComputador
Valor habilitado
0
Valor desabilitado
1
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WinRE]

; Opções (use apenas uma)
; Habilitada
"DisableSetup"=dword:00000000
; Desabilitada
"DisableSetup"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WinRE" /v "DisableSetup" /t REG_DWORD /d 0 /f
:: Desabilitada
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WinRE" /v "DisableSetup" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRE' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRE' -Name 'DisableSetup' -PropertyType DWord -Value 0 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRE' -Name 'DisableSetup' -PropertyType DWord -Value 1 -Force | Out-Null