Edit

Share via


NativeHostsExecutablesLaunchDirectly

Force Windows executable Native Messaging hosts to launch directly

Supported versions

  • On Windows since 121 or later

Description

This policy controls whether native host executables launch directly on Windows.

If you enable this policy, Microsoft Edge is forced to launch native messaging hosts implemented as executables directly.

If you disable this policy, Microsoft Edge will launch hosts using cmd.exe as an intermediary process.

If you don't configure this policy, Microsoft Edge will decide which approach to use based on a progressive rollout from the legacy behavior to the Launch Directly behavior, guided by ecosystem compatibility.

Supported features

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

Data type

  • Boolean

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: NativeHostsExecutablesLaunchDirectly
  • GP name: Force Windows executable Native Messaging hosts to launch directly
  • GP path (Mandatory): Administrative Templates/Microsoft Edge
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

Disabled

Registry settings

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

Example registry value

0x00000000

See also