Show message when opening sites in Internet Explorer: registry value ShowMessageWhenOpeningSitesInInternetExplorerUserHKCU\Software\Policies\Microsoft\MicrosoftEdge\Main

Policy ID
ShowMessageWhenOpeningSitesInInternetExplorer
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge on Windows 10, Version 1607 or later
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Microsoft Edge

Registry

ShowMessageWhenOpeningSitesInInternetExplorer

-UserComputer

ShowMessageWhenOpeningSitesInInternetExplorer

REG_DWORDUserComputer
Enabled value
Depends on the option value
Element
Show Keep going in Microsoft Edge link
Options
ItemStored value
Hide Keep going in Microsoft Edge link1
Show Keep going in Microsoft Edge link2
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main]

; Options (use only one)
; Hide Keep going in Microsoft Edge link
"ShowMessageWhenOpeningSitesInInternetExplorer"=dword:00000001
; Show Keep going in Microsoft Edge link
"ShowMessageWhenOpeningSitesInInternetExplorer"=dword:00000002
CMD
:: Options (use only one)

:: Hide Keep going in Microsoft Edge link
reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "ShowMessageWhenOpeningSitesInInternetExplorer" /t REG_DWORD /d 1 /f
:: Show Keep going in Microsoft Edge link
reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "ShowMessageWhenOpeningSitesInInternetExplorer" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Force | Out-Null

# Options (use only one)
# Hide Keep going in Microsoft Edge link
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -PropertyType DWord -Value 1 -Force | Out-Null
# Show Keep going in Microsoft Edge link
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -PropertyType DWord -Value 2 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Main]

; Options (use only one)
; Hide Keep going in Microsoft Edge link
"ShowMessageWhenOpeningSitesInInternetExplorer"=dword:00000001
; Show Keep going in Microsoft Edge link
"ShowMessageWhenOpeningSitesInInternetExplorer"=dword:00000002
CMD
:: Options (use only one)

:: Hide Keep going in Microsoft Edge link
reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "ShowMessageWhenOpeningSitesInInternetExplorer" /t REG_DWORD /d 1 /f
:: Show Keep going in Microsoft Edge link
reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "ShowMessageWhenOpeningSitesInInternetExplorer" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Force | Out-Null

# Options (use only one)
# Hide Keep going in Microsoft Edge link
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -PropertyType DWord -Value 1 -Force | Out-Null
# Show Keep going in Microsoft Edge link
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -PropertyType DWord -Value 2 -Force | Out-Null