en-US

Allow local MHTML files to open automatically in Internet Explorer mode

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

Registry

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

Value name: InternetExplorerIntegrationLocalMhtFileAllowed

Enabled: InternetExplorerIntegrationLocalMhtFileAllowed = 1

Disabled: InternetExplorerIntegrationLocalMhtFileAllowed = 0

Description

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