Show message when opening sites in Microsoft Edge using Enterprise Mode
Affiche un message à l’ouverture de site dans Microsoft Edge en mode Entreprise
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.
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\EnterpriseModeHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode- Value name
ShowMessageWhenOpeningSitesInMicrosoftEdge
| 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: 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 DWordDisable
# 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 DWordRevert 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 SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"