Turn off account notifications in Start
Désactiver les notifications de compte dans Démarrer
Explanation
This policy allows you to prevent Windows from displaying notifications to Microsoft account (MSA) and local users in Start (user tile).
Notifications include getting users to: reauthenticate; backup their device; manage cloud storage quotas as well as manage their Microsoft 365 or XBOX subscription.
If you enable this policy setting, Windows will not send account related notifications for local and MSA users to the user tile in Start.
If you disable or do not configure this policy setting, Windows will send account related notifications for local and MSA users to the user tile in Start.
No reboots or service restarts are required for this policy setting to take effect.
Cette stratégie vous permet d’empêcher Windows d’afficher des notifications à compte Microsoft (MSA) et aux utilisateurs locaux dans l’écran de démarrage (vignette utilisateur).
Les notifications incluent l’obtention des utilisateurs à : réauthentifier ; sauvegarder leur appareil ; gérer les quotas de stockage cloud et gérer leur Microsoft 365 ou abonnement XBOX.
Si vous activez ce paramètre de stratégie, Windows n’envoie pas de notifications liées au compte pour les utilisateurs locaux et MSA à la vignette de l’utilisateur dans Démarrer.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Windows envoie des notifications liées au compte pour les utilisateurs locaux et MSA à la vignette de l’utilisateur dans Démarrer.
Aucun redémarrage de redémarrage du service ou de redémarrage du service n’est nécessaire pour que ce paramètre de stratégie prenne effet.
Registry
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\AccountNotifications- Value name
DisableAccountNotifications
| 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: AccountNotifications/DisableAccountNotifications
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\AccountNotifications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableAccountNotifications' -Value 1 -Type DWordDisable
# Disable: AccountNotifications/DisableAccountNotifications
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\AccountNotifications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableAccountNotifications' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": AccountNotifications/DisableAccountNotifications
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\AccountNotifications'
Remove-ItemProperty -Path $k -Name 'DisableAccountNotifications' -ErrorAction SilentlyContinue