Ouvrir dans l'explorateur

Default notification setting

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft Edge › Paramètres de contenu Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Edge › Paramètres de contenu EN : Computer Configuration › Policies › Administrative Templates › Microsoft Edge › Content settingsEN : User Configuration › Policies › Administrative Templates › Microsoft Edge › Content settings
Pris en charge sur
Microsoft Edge version 77, Windows 7 or later
Fichier ADMX
msedge.admx
Nom interne
msedge/DefaultNotificationsSetting

Explication

Set whether websites can display desktop notifications. You can allow them by default ('AllowNotifications'), deny them by default ('BlockNotifications'), or have the user be asked each time a website wants to show a notification ('AskNotifications').

If you don't configure this policy, notifications are allowed by default, and the user can change this setting.

Policy options mapping:

* AllowNotifications (1) = Allow sites to show desktop notifications

* BlockNotifications (2) = Don't allow any site to show desktop notifications

* AskNotifications (3) = Ask every time a site wants to show desktop notifications

Use the preceding information when configuring this policy.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

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.

Ordinateur (HKLM)

Activer

# Activer : msedge/DefaultNotificationsSetting
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Default notification setting
# Options possibles :
#   Allow sites to show desktop notifications = 1
#   Don't allow any site to show desktop notifications = 2
#   Ask every time a site wants to show desktop notifications = 3
Set-ItemProperty -Path $k -Name 'DefaultNotificationsSetting' -Value 1 -Type DWord

Désactiver

# Désactiver : msedge/DefaultNotificationsSetting
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : msedge/DefaultNotificationsSetting
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'DefaultNotificationsSetting' -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Default notification settingDefaultNotificationsSettingListe déroulanteenumDefaultNotificationsSettingREG_DWORD
LibelléValeur
Allow sites to show desktop notificationsREG_DWORD = 1
Don't allow any site to show desktop notificationsREG_DWORD = 2
Ask every time a site wants to show desktop notificationsREG_DWORD = 3

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.