Allow local MHTML files to open automatically in Internet Explorer mode

Policy ID
InternetExplorerIntegrationLocalMhtFileAllowed
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 107, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge

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

Registry

ComputerHKEY_LOCAL_MACHINE
  • InternetExplorerIntegrationLocalMhtFileAllowedREG_DWORD
UserHKEY_CURRENT_USER
  • InternetExplorerIntegrationLocalMhtFileAllowedREG_DWORD

Other policies in the same category

View all policies in this category (438)