Configura le notifiche dei promemoria di riavvio automatico per gli aggiornamenti: valore del Registro di sistema SetAutoRestartNotificationConfig e altri 1ComputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate
- ID criterio
- AutoRestartNotificationConfig
- Ambito
- Configurazione computer
- Supportato in
- da Windows Server 2016 a Windows Server 2022 o Windows 10
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Componenti di Windows › Windows Update › Criteri legacy
Registro
SetAutoRestartNotificationConfig
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate Chiave corrente
- Valore abilitato
- 1
- Valore disabilitato
- 0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate] ; Opzioni (usarne solo una) ; Abilitato "SetAutoRestartNotificationConfig"=dword:00000001 ; Disabilitato "SetAutoRestartNotificationConfig"=dword:00000000
CMD
:: Opzioni (usarne solo una) :: Abilitato reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetAutoRestartNotificationConfig" /t REG_DWORD /d 1 /f :: Disabilitato reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /v "SetAutoRestartNotificationConfig" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null # Opzioni (usarne solo una) # Abilitato New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetAutoRestartNotificationConfig' -PropertyType DWord -Value 1 -Force | Out-Null # Disabilitato New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetAutoRestartNotificationConfig' -PropertyType DWord -Value 0 -Force | Out-Null
AutoRestartNotificationSchedule
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\WindowsUpdate Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Periodo (min):
| Voce | Valore memorizzato |
|---|---|
| 15 | 15 |
| 30 | 30 |
| 60 | 60 |
| 120 | 120 |
| 240 | 240 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate] ; Opzioni (usarne solo una) ; 15 "AutoRestartNotificationSchedule"=dword:0000000f ; 30 "AutoRestartNotificationSchedule"=dword:0000001e ; 60 "AutoRestartNotificationSchedule"=dword:0000003c ; 120 "AutoRestartNotificationSchedule"=dword:00000078 ; 240 "AutoRestartNotificationSchedule"=dword:000000f0
CMD
:: Opzioni (usarne solo una) :: 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
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Force | Out-Null # Opzioni (usarne solo una) # 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