Sempre reiniciar automaticamente no horário agendado: valor do Registro AlwaysAutoRebootAtScheduledTime e mais 1ComputadorHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
- ID da política
- AlwaysAutoRebootAtScheduledTime
- Escopo
- Configuração do Computador
- Compatível com
- Windows Server 2012, Windows 8 ou Windows RT
- Fonte
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
- Categoria
- Componentes do Windows › Windows Update › Políticas Herdadas
Registro
AlwaysAutoRebootAtScheduledTime
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\WindowsUpdate\AU] ; Opções (use apenas uma) ; Habilitada "AlwaysAutoRebootAtScheduledTime"=dword:00000001 ; Desabilitada "AlwaysAutoRebootAtScheduledTime"=dword:00000000
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AlwaysAutoRebootAtScheduledTime" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AlwaysAutoRebootAtScheduledTime" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AlwaysAutoRebootAtScheduledTime' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AlwaysAutoRebootAtScheduledTime' -PropertyType DWord -Value 0 -Force | Out-Null
AlwaysAutoRebootAtScheduledTimeMinutes
REG_DWORDComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- trabalho (minutos):
- Tipo de valor
- REG_DWORD
- Obrigatório
- true
- Valor mínimo
- 15
- Valor máximo
- 180
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU] ; Nomes e tipos de valor seguem o ADMX. Substitua <inserir valor> abaixo pelos seus próprios dados "AlwaysAutoRebootAtScheduledTimeMinutes"=dword:<inserir valor>
CMD
:: Nomes e tipos de valor seguem o ADMX. Substitua <inserir valor> abaixo pelos seus próprios dados reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "AlwaysAutoRebootAtScheduledTimeMinutes" /t REG_DWORD /d "<inserir valor>" /f
PowerShell
# Nomes e tipos de valor seguem o ADMX. Substitua <inserir valor> abaixo pelos seus próprios dados New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'AlwaysAutoRebootAtScheduledTimeMinutes' -PropertyType DWord -Value '<inserir valor>' -Force | Out-Null