Open in the explorer

Show message when opening sites in Microsoft Edge using Enterprise Mode

Affiche un message à l’ouverture de site dans Microsoft Edge en mode Entreprise

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet ExplorerFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer
Supported on
At least Internet Explorer 11.0 on Windows 10, vertion 1607 or later FR: Au moins Internet Explorer 11.0 sous Windows 10, version 1607 ou ultérieure
ADMX file
inetres.admx
Internal name
inetres/ShowMessageWhenOpeningSitesInMicrosoftEdge

Explanation

This policy setting lets you decide whether employees see an additional page in Internet Explorer 11, stating that a site has been opened using Microsoft Edge with Enterprise Mode.

If you enable this setting, employees see an additional page in Internet Explorer 11, stating that a site has been opened using Microsoft Edge with Enterprise Mode.

If you disable or don't configure this setting, the default app behavior occurs and no additional page appears.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de décider si les employés voient une page supplémentaire dans Internet Explorer 11, indiquant qu’un site a été ouvert avec Microsoft Edge en mode Entreprise.

Si vous activez ce paramètre, les employés voient une page supplémentaire dans Internet Explorer 11, indiquant qu’un site a été ouvert avec Microsoft Edge en mode Entreprise.

Si vous désactivez ce paramètre ou si vous ne le configurez pas, le comportement par défaut de l’application s’applique et aucune page supplémentaire n’apparaît.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode
Value name
ShowMessageWhenOpeningSitesInMicrosoftEdge
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: inetres/ShowMessageWhenOpeningSitesInMicrosoftEdge
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ShowMessageWhenOpeningSitesInMicrosoftEdge' -Value 1 -Type DWord

Disable

# Disable: inetres/ShowMessageWhenOpeningSitesInMicrosoftEdge
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ShowMessageWhenOpeningSitesInMicrosoftEdge' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/ShowMessageWhenOpeningSitesInMicrosoftEdge
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode'
Remove-ItemProperty -Path $k -Name 'ShowMessageWhenOpeningSitesInMicrosoftEdge' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability