Show context menu to open a file:// link in Internet Explorer mode
Explanation
This policy controls the visibility of the 'Open link in new Internet Explorer mode tab' option on the context menu for file:// links.
This setting works in conjunction with:
'InternetExplorerIntegrationLevel' (Configure Internet Explorer integration), which is set to 'IEMode'.
If you enable this policy, the 'Open link in new Internet Explorer mode tab' context menu item is available for file:// links.
If you disable or don't configure this policy, the context menu item won't be added.
If the 'InternetExplorerIntegrationReloadInIEModeAllowed' (Allow unconfigured sites to be reloaded in Internet Explorer mode) policy allows users to reload sites in Internet Explorer mode, then the 'Open link in new Internet Explorer mode tab' context menu item is available for all links, except links to sites explicitly configured by the site list to use Microsoft Edge mode. In this case, if you enable this policy, the context menu item is available for file:// links even for sites configured to use Microsoft Edge mode. If you disable or don't configure this policy, the policy has no effect.
To learn more about Internet Explorer mode, see https://go.microsoft.com/fwlink/?linkid=2094210
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeHKEY_CURRENT_USER\Software\Policies\Microsoft\Edge- Value name
InternetExplorerIntegrationLocalFileShowContextMenu
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: msedge/InternetExplorerIntegrationLocalFileShowContextMenu
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'InternetExplorerIntegrationLocalFileShowContextMenu' -Value 1 -Type DWordDisable
# Disable: msedge/InternetExplorerIntegrationLocalFileShowContextMenu
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'InternetExplorerIntegrationLocalFileShowContextMenu' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": msedge/InternetExplorerIntegrationLocalFileShowContextMenu
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'InternetExplorerIntegrationLocalFileShowContextMenu' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.