Force Windows executable Native Messaging hosts to launch directly
Jump to overview

Policy overview

Key metadata and intent for this policy.

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

Supported OS tags: Windows7

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.

Internal name
NativeHostsExecutablesLaunchDirectly
Policy ID
e5bd9a653c7e
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Path
Software\Policies\Microsoft\Edge
Value name
NativeHostsExecutablesLaunchDirectly
REG_DWORD
HKLM
1
HKCU
1
HKLM
0
HKCU
0
Registry location
Type REG_DWORD · Both
Path
Software\Policies\Microsoft\Edge
Value name
NativeHostsExecutablesLaunchDirectly
Hive
HKLM
Enabled value
1
Disabled value
0
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.