Ouvrir dans l'explorateur

Désactiver les notifications des applications sur l’écran de verrouillage

Turn off app notifications on the lock screen

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Système › Ouverture de session EN : Computer Configuration › Policies › Administrative Templates › System › Logon
Pris en charge sur
Au minimum Windows Server 2012, Windows 8 ou Windows RT EN : At least Windows Server 2012, Windows 8 or Windows RT
Fichier ADMX
Logon.admx
Nom interne
Logon/DisableLockScreenAppNotifications

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie vous permet d’empêcher les notifications des applications d’apparaître sur l’écran de verrouillage.

Si vous activez ce paramètre de stratégie, aucune notification d’application ne s’affiche sur l’écran de verrouillage.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les utilisateurs peuvent choisir les applications qui affichent des notifications sur l’écran de verrouillage.

This policy setting allows you to prevent app notifications from appearing on the lock screen.

If you enable this policy setting, no app notifications are displayed on the lock screen.

If you disable or do not configure this policy setting, users can choose which apps display notifications on the lock screen.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System
Nom de la valeur
DisableLockScreenAppNotifications
ÉtatValeur é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 : Logon/DisableLockScreenAppNotifications
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableLockScreenAppNotifications' -Value 1 -Type DWord

Désactiver

# Désactiver : Logon/DisableLockScreenAppNotifications
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableLockScreenAppNotifications' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : Logon/DisableLockScreenAppNotifications
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'DisableLockScreenAppNotifications' -ErrorAction SilentlyContinue

Disponibilité