Display options for update notifications
Options d’affichage des notifications de mise à jour
Explanation
0 (default) – Use the default Windows Update notifications
1 – Turn off all notifications, excluding restart warnings
2 – Turn off all notifications, including restart warnings
This policy allows you to define what Windows Update notifications users see. This policy doesn’t control how and when updates are downloaded and installed.
Important: if you choose not to get update notifications and also define other Group policy so that devices aren’t automatically getting updates, neither you nor device users will be aware of critical security, quality, or feature updates, and your devices may be at risk.
If you select “Apply only during active hours” in conjunction with Option 1 or 2, then notifications will only be disabled during active hours. You can set active hours by setting “Turn off auto-restart for updates during active hours” or allow the device to set active hours based on user behavior. To ensure that the device stays secure, a notification will still be shown if this option is selected once “Specify deadlines for automatic updates and restarts” deadline has been reached if configured, regardless of active hours.
0 (par défaut) – Utiliser les notifications de Windows Update par défaut
1 – Désactiver toutes les notifications, à l’exception des avertissements de redémarrage
2 – Désactiver toutes les notifications, y compris les avertissements de redémarrage
Cette stratégie vous permet de définir les notifications Windows Update que les utilisateurs voient. Cette stratégie ne contrôle pas le mode et le moment où les mises à jour sont téléchargées et installées.
Important : si vous choisissez de ne pas recevoir de notifications de mise à jour et de définir une autre stratégie de groupe de sorte que les appareils ne reçoivent pas automatiquement les mises à jour, ni vous ni les utilisateurs de l’appareil ne serez informé des mises à jour critiques de sécurité, de qualité ou de fonctionnalité, et vos appareils risquent d’être exposés à des risques.
Si vous sélectionnez « Appliquer uniquement pendant les heures d’activité » conjointement avec l’option 1 ou 2, les notifications ne sont désactivées que pendant les heures d’activité. Vous pouvez définir les heures d’activité en définissant « Désactiver le redémarrage automatique pour les mises à jour pendant les heures d’activité » ou autoriser l’appareil à définir des heures d’activité en fonction du comportement de l’utilisateur. Pour garantir la sécurité de l’appareil, une notification s’affiche toujours si cette option est sélectionnée une fois que l’échéance « Spécifier des échéances pour les mises à jour automatiques et les redémarrages » a été atteinte si elle est configurée, indépendamment des heures d’activité.
Use cases
Controls Windows Update notifications: 0 (default) keeps standard notifications, 1 turns off most while keeping restart warnings, 2 turns off all including those warnings. Since Windows 11 22H2 you can limit the suppression to active hours.
Microsoft advises against hiding notifications except for kiosks or digital signage: a restart with no warning surprises users.
Microsoft sources: Manage device restarts after updates · Update policies
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate- Value name
SetUpdateNotificationLevel
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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/UpdateNotificationLevel
$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 'SetUpdateNotificationLevel' -Value 1 -Type DWord
# Specify the update notifications display options
# Possible options:
# 0 (default) – Default OS Windows Update notifications = 0
# 1 – Disable all notifications, excluding restart warnings = 1
# 2 – Disable all notifications, including restart warnings = 2
Set-ItemProperty -Path $k -Name 'UpdateNotificationLevel' -Value 0 -Type DWord
# Apply only during active hours
# value not defined in the ADMX (the GPO editor usually writes 1/0)
# 1 = checked, 0 = unchecked; default state taken from the ADML
Set-ItemProperty -Path $k -Name 'NoUpdateNotificationsDuringActiveHours' -Value 0 -Type DWordDisable
# Disable: WindowsUpdate/UpdateNotificationLevel
$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 'SetUpdateNotificationLevel' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsUpdate/UpdateNotificationLevel
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'SetUpdateNotificationLevel' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'UpdateNotificationLevel' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'NoUpdateNotificationsDuringActiveHours' -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Specify the update notifications display options :Spécifier les options d’affichage des notifications de mise à jour :UpdateNotificationLevel | Drop-down listenum | UpdateNotificationLevel | REG_DWORD | Required · Default choice (UI): #0
| ||||||||
| Apply only during active hoursAppliquer uniquement pendant les heures d’activitéNoUpdateNotificationsDuringActiveHours | Check boxboolean | NoUpdateNotificationsDuringActiveHours | REG_DWORD | Default (UI): false Checked: implicit: 1Unchecked: implicit: 0 |