Share via


NativeMessagingBlocklist

Configure native messaging block list

Supported versions

  • On Windows and macOS since 77 or later

Description

Setting this policy specifies which native messaging hosts shouldn't be loaded. A deny list value of * means all native messaging hosts are denied unless they're explicitly allowed.

If you leave this policy unset , Microsoft Edge loads all installed native messaging hosts.

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

  • List of strings

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: NativeMessagingBlocklist
  • GP name: Configure native messaging block list
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/Native Messaging
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

com.native.messaging.host.name1
com.native.messaging.host.name2

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge\NativeMessagingBlocklist
  • Path (Recommended): N/A
  • Value name: 1, 2, 3, ...
  • Value type: List of REG_SZ

Example registry value

SOFTWARE\Policies\Microsoft\Edge\NativeMessagingBlocklist\1 =

com.native.messaging.host.name1

SOFTWARE\Policies\Microsoft\Edge\NativeMessagingBlocklist\2 =

com.native.messaging.host.name2

Mac information and settings

  • Preference Key name: NativeMessagingBlocklist
  • Example value:
<array>
  <string>com.native.messaging.host.name1</string>
  <string>com.native.messaging.host.name2</string>
</array>

See also