Show message when opening sites in Internet Explorer
Afficher un message lors de l’ouverture d’un site dans Internet Explorer
Explanation
You can configure Microsoft Edge to open a site automatically in Internet Explorer 11 and choose to display a notification before the site opens. If you want to display a notification, you must enable Configure the Enterprise Mode Site List or Send all intranets sites to Internet Explorer 11 or both.
If enabled, the notification appears on a new page. If you want users to continue in Microsoft Edge, select the Show Keep going in Microsoft Edge option from the drop-down list under Options.
If disabled or not configured, the default app behavior occurs and no additional page displays.
Default setting: Disabled or not configured
Related policies:
-Configure the Enterprise Mode Site List
-Send all intranet sites to Internet Explorer 11
Vous pouvez configurer Microsoft Edge pour ouvrir automatiquement un site dans Internet Explorer 11 et choisir d'afficher une notification avant l'ouverture du site. Si vous souhaitez afficher une notification, vous devez activer Configurer la liste des sites en mode Entreprise ou Envoyer tous les sites intranet vers Internet Explorer 11 ou les deux.
Si cette option est activée, la notification apparaît sur une nouvelle page. Si vous souhaitez que les utilisateurs continuent dans Microsoft Edge, sélectionnez l'option Afficher Poursuivre dans Microsoft Edge dans la liste déroulante, sous Options.
Si cette option est désactivé ou n'est pas configurée, le comportement de l'application par défaut se produit et aucune page supplémentaire n'est affichée.
Paramètre par défaut : désactivé ou non configuré
Stratégies liées :
- Configurer la liste des sites en mode Entreprise
- Envoyer tous les sites intranet vers Internet Explorer 11
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main- Value name
ShowMessageWhenOpeningSitesInInternetExplorer
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX (see the options below) |
| Disabled | not defined in the ADMX (see the options below) |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
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: MicrosoftEdge/ShowMessageWhenOpeningSitesInInternetExplorer
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
# Show Keep going in Microsoft Edge link
# Possible options:
# Hide Keep going in Microsoft Edge link = 1
# Show Keep going in Microsoft Edge link = 2
Set-ItemProperty -Path $k -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -Value 1 -Type DWordDisable
# Disable: MicrosoftEdge/ShowMessageWhenOpeningSitesInInternetExplorer
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": MicrosoftEdge/ShowMessageWhenOpeningSitesInInternetExplorer
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main'
Remove-ItemProperty -Path $k -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Show Keep going in Microsoft Edge linkAfficher le lien Poursuivre dans Microsoft EdgeShowMessageWhenOpeningSitesInInternetExplorer_Dropdown | Drop-down listenum | ShowMessageWhenOpeningSitesInInternetExplorer | REG_DWORD | Required · Default choice (UI): #0
|