Allow local MHTML files to open automatically in Internet Explorer mode
Jump to overview

Policy overview

Key metadata and intent for this policy.

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

Supported OS tags: Windows7

This policy controls whether local mht or mhtml files launched from the command line open automatically in Internet Explorer mode based on the file content without specifying the --ie-mode-file-url command line. This setting works when 'InternetExplorerIntegrationLevel' (Configure Internet Explorer integration) is set to 'IEMode' and 'InternetExplorerIntegrationLocalFileAllowed' (Allow launching of local files in Internet Explorer mode) is enabled or not configured. If you enable or don't configure this policy, local mht or mhtml files launch in Microsoft Edge or Internet Explorer mode. Then, you can view these files in the best way. If you disable this policy, local mht or mhtml files launch in Microsoft Edge. If you use the --ie-mode-file-url command line argument for launching local mht or mhtml files, it takes precedence over how you configured this policy. To learn more about Internet Explorer mode, see https://go.microsoft.com/fwlink/?linkid=2094210

Internal name
InternetExplorerIntegrationLocalMhtFileAllowed
Policy ID
4f9290e4d24d
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Path
Software\Policies\Microsoft\Edge
Value name
InternetExplorerIntegrationLocalMhtFileAllowed
REG_DWORD
HKLM
1
HKCU
1
HKLM
0
HKCU
0
Registry location
Type REG_DWORD · Both
Path
Software\Policies\Microsoft\Edge
Value name
InternetExplorerIntegrationLocalMhtFileAllowed
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.