Open in the explorer

Turn off auto-restart notifications for update installations

Désactiver les notifications de redémarrage automatique pour les installations de mise à jour

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Update › Legacy Policies FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Update › Stratégies héritées
Supported on
Windows Server 2016 through Windows Server 2022, or Windows 10​ FR: Windows Server 2016 via Windows Server 2022 ou Windows 10
ADMX file
WindowsUpdate.admx
Internal name
WindowsUpdate/AutoRestartNotificationDisable

Explanation

This policy setting allows you to control whether users receive notifications for auto restarts for update installations including reminder and warning notifications.

Enable this policy to turn off all auto restart notifications.

If you disable or do not configure this policy, the default notification behaviors will be unchanged.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de contrôler si un utilisateur reçoit des notifications de redémarrage automatique pour l’installation des mises à jour, y compris des notifications de rappel et d’avertissement .

Activez cette stratégie pour désactiver toutes les notifications de redémarrage automatique.

Si vous désactivez ou ne configurez pas cette stratégie, les comportements de notification par défaut resteront inchangés.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
SetAutoRestartNotificationDisable
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: WindowsUpdate/AutoRestartNotificationDisable
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SetAutoRestartNotificationDisable' -Value 1 -Type DWord

Disable

# Disable: WindowsUpdate/AutoRestartNotificationDisable
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SetAutoRestartNotificationDisable' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsUpdate/AutoRestartNotificationDisable
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'SetAutoRestartNotificationDisable' -ErrorAction SilentlyContinue

Availability