Del via


DefaultNotificationsSetting

Default notification setting

Supported versions

  • Windows: ≥ 77
  • macOS: ≥ 77
  • Android: Not supported
  • iOS: Not supported

Description

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.

Policy options mapping:

Use this information when configuring this policy.

  • 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

Supported features

  • Can be mandatory: Yes
  • Can be recommended: No
  • Dynamic Policy Refresh: Yes
  • Per Profile: Yes
  • Applies to a profile that is signed in with a Microsoft account: No

Data type

  • Integer

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: DefaultNotificationsSetting
  • GP name: Default notification setting
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/Content settings
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

Don't allow any site to show desktop notifications

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
  • Path (Recommended): N/A
  • Value name: DefaultNotificationsSetting
  • Value type: REG_DWORD

Example registry value

0x00000002

Mac information and settings

  • Preference Key name: DefaultNotificationsSetting
  • Example value:
<integer>2</integer>

See also