Open in the explorer

Turn off notifications network usage

Désactiver l’utilisation du réseau pour les notifications

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Start Menu and Taskbar › Notifications FR: Configuration ordinateur › Stratégies › Modèles d'administration › Menu Démarrer et barre des tâches › Notifications
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
WPN.admx
Internal name
WPN/NoCloudNotification

Explanation

This policy setting blocks applications from using the network to send notifications to update tiles, tile badges, toast, or raw notifications. This policy setting turns off the connection between Windows and the Windows Push Notification Service (WNS). This policy setting also stops applications from being able to poll application services to update tiles.

If you enable this policy setting, applications and system features will not be able receive notifications from the network from WNS or via notification polling APIs.

If you enable this policy setting, notifications can still be raised by applications running on the machine via local API calls from within the application.

If you disable or do not configure this policy setting, the client computer will connect to WNS at user login and applications will be allowed to poll for tile notification updates in the background.

No reboots or service restarts are required for this policy setting to take effect.

French text from Windows 11 26H2

Ce paramètre de stratégie empêche les applications d’utiliser le réseau pour envoyer des notifications pour la mise à jour des vignettes, des badges de vignette, des notifications toast ou brutes. Ce paramètre de stratégie désactive la connexion entre Windows et le service des notifications de transmission Windows (WNS, Windows Push Notification Service). Ce paramètre de stratégie empêche également les applications d’interroger les services d’application pour mettre à jour les vignettes.

Si vous activez ce paramètre de stratégie, les applications et les fonctionnalités système ne reçoivent pas de notifications du réseau WNS ou via les API d’interrogation de notification.

Si vous activez ce paramètre de stratégie, les notifications peuvent toujours être générées par les applications exécutées sur l’ordinateur via des appels d’API locaux à partir de l’application.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’ordinateur client se connectera au service WNS à la connexion de l’utilisateur et les applications pourront interroger les mises à jour de notification par vignette en arrière-plan.

Aucun redémarrage du système ou du service n’est requis pour que cette stratégie prenne effet.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications
Value name
NoCloudApplicationNotification
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: WPN/NoCloudNotification
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoCloudApplicationNotification' -Value 1 -Type DWord

Disable

# Disable: WPN/NoCloudNotification
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoCloudApplicationNotification' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WPN/NoCloudNotification
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications'
Remove-ItemProperty -Path $k -Name 'NoCloudApplicationNotification' -ErrorAction SilentlyContinue

Availability