Activer plusieurs notifications toast développées dans centre de notifications
Turn on multiple expanded toast notifications in action center
Explication
Ce paramètre de stratégie active plusieurs notifications toast développées dans centre de notifications.
Si vous activez ce paramètre de stratégie, les trois premières notifications de chaque application sont développées par défaut dans centre de notifications.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, seule la première notification de chaque application est développée par défaut dans centre de notifications.
Windows 10 uniquement. Ceci sera immédiatement déprécié pour Windows 11.
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.
This policy setting turns on multiple expanded toast notifications in action center.
If you enable this policy setting, the first three notifications of each application will be expanded by default in action center.
If you disable or do not configure this policy setting, only the first notification of each application will be expanded by default in action center.
Windows 10 only. This will be immediately deprecated for Windows 11.
No reboots or service restarts are required for this policy setting to take effect.
Registre
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications- Nom de la valeur
EnableExpandedToastNotifications
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : WPN/ExpandedToastNotifications
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableExpandedToastNotifications' -Value 1 -Type DWordDésactiver
# Désactiver : WPN/ExpandedToastNotifications
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableExpandedToastNotifications' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : WPN/ExpandedToastNotifications
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\PushNotifications'
Remove-ItemProperty -Path $k -Name 'EnableExpandedToastNotifications' -ErrorAction SilentlyContinue