Keep all intranet sites in Internet Explorer
Conserver tous les sites intranet dans Internet Explorer
Explanation
Prevents intranet sites from being opened in any browser except Internet Explorer. But note that If the ‘Send all sites not included in the Enterprise Mode Site List to Microsoft Edge’ (‘RestrictIE’) policy isn’t enabled, this policy has no effect.
If you enable this policy, all intranet sites are opened in Internet Explorer 11. The only exceptions are sites listed in your Enterprise Mode Site List.
If you disable or don’t configure this policy, all intranet sites are automatically opened in Microsoft Edge.
We strongly recommend keeping this policy in sync with the ‘Send all intranet sites to Internet Explorer’ (‘SendIntranetToInternetExplorer’) policy. Additionally, it’s best to enable this policy only if your intranet sites have known compatibility problems with Microsoft Edge.
Related policies:
- Send all intranet sites to Internet Explorer (‘SendIntranetToInternetExplorer’)
- Send all sites not included in the Enterprise Mode Site List to Microsoft Edge (‘RestrictIE’)
For more info about how to use this policy together with other related policies to create the optimal configuration for your organization, see https://go.microsoft.com/fwlink/?linkid=2094210.
Empêche l’ouverture des sites intranet dans un navigateur, à l’exception d’Internet Explorer. Mais, si la stratégie « Envoyer tous les sites non inclus dans la liste des sites en mode Entreprise vers Microsoft Edge » (« RestrictIE ») n’est pas activée, cette stratégie n’a aucun effet.
Si vous activez cette stratégie, tous les sites intranet sont ouverts dans Internet Explorer 11. Les seules exceptions sont les sites répertoriés dans votre liste des sites en mode Entreprise.
Si vous désactivez cette stratégie ou si vous ne la configurez pas, tous les sites intranet sont automatiquement ouverts dans Microsoft Edge.
Nous vous recommandons vivement de garder cette stratégie synchronisée avec la stratégie « Envoyer tout le trafic intranet vers Internet Explorer » (« SendIntranetToInternetExplorer »). En outre, il est recommandé de n’activer cette stratégie que si vos sites intranet présentent des problèmes de compatibilité connus avec Microsoft Edge.
Stratégies associées :
- Envoyer tout le trafic intranet vers Internet Explorer (« SendIntranetToInternetExplorer »)
- Envoyer tous les sites non inclus dans la liste des sites en mode Entreprise vers Microsoft Edge (« RestrictIE »)
Pour plus d’informations sur l’utilisation de cette stratégie avec d’autres stratégies associées afin de créer la configuration optimale pour votre organisation, voir https://go.microsoft.com/fwlink/?linkid=2094210.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseModeHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode- Value name
KeepIntranetSitesInInternetExplorer
| 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/KeepIntranetSitesInInternetExplorer
$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 'KeepIntranetSitesInInternetExplorer' -Value 1 -Type DWordDisable
# Disable: inetres/KeepIntranetSitesInInternetExplorer
$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 'KeepIntranetSitesInInternetExplorer' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/KeepIntranetSitesInInternetExplorer
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode'
Remove-ItemProperty -Path $k -Name 'KeepIntranetSitesInInternetExplorer' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"