Configurar notificações de lembrete do reinício automático para atualizações: valor do Registro SetAutoRestartNotificationConfig e mais 1ComputadorHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate

ID da política
AutoRestartNotificationConfig
Escopo
Configuração do Computador
Compatível com
Windows Server 2016 até Windows Server 2022 ou Windows 10
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Windows Update › Políticas Herdadas

Registro

SetAutoRestartNotificationConfig

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]

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

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

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

AutoRestartNotificationSchedule

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Período (min):
Opções
ItemValor armazenado
1515
3030
6060
120120
240240
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]

; Opções (use apenas uma)
; 15
"AutoRestartNotificationSchedule"=dword:0000000f
; 30
"AutoRestartNotificationSchedule"=dword:0000001e
; 60
"AutoRestartNotificationSchedule"=dword:0000003c
; 120
"AutoRestartNotificationSchedule"=dword:00000078
; 240
"AutoRestartNotificationSchedule"=dword:000000f0
CMD
:: Opções (use apenas uma)

:: 15
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 15 /f
:: 30
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 30 /f
:: 60
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 60 /f
:: 120
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 120 /f
:: 240
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "AutoRestartNotificationSchedule" /t REG_DWORD /d 240 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null

# Opções (use apenas uma)
# 15
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 15 -Force | Out-Null
# 30
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 30 -Force | Out-Null
# 60
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 60 -Force | Out-Null
# 120
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 120 -Force | Out-Null
# 240
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'AutoRestartNotificationSchedule' -PropertyType DWord -Value 240 -Force | Out-Null