en-US

Force Windows executable Native Messaging hosts to launch directly

Supported on: Microsoft Edge version 121, Windows 7 or later

Registry

HKLM Software\Policies\Microsoft\Edge
HKCU Software\Policies\Microsoft\Edge

Value name: NativeHostsExecutablesLaunchDirectly

Enabled: NativeHostsExecutablesLaunchDirectly = 1

Disabled: NativeHostsExecutablesLaunchDirectly = 0

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 launches hosts using cmd.exe as an intermediary process. If you don't configure this policy, Microsoft Edge decides which approach to use based on a progressive rollout from the legacy behavior to the Launch Directly behavior, guided by ecosystem compatibility.