Intranet Sites: Include all local (intranet) sites not listed in other zones
Sites intranet : inclure tous les sites locaux (intranet) non mentionnés dans d’autres zones
Explanation
This policy setting controls whether local sites which are not explicitly mapped into any Security Zone are forced into the local Intranet security zone.
If you enable this policy setting, local sites which are not explicitly mapped into a zone are considered to be in the Intranet Zone.
If you disable this policy setting, local sites which are not explicitly mapped into a zone will not be considered to be in the Intranet Zone (so would typically be in the Internet Zone).
If you do not configure this policy setting, users choose whether to force local sites into the Intranet Zone.
Ce paramètre de stratégie détermine si les sites locaux qui ne sont pas associés explicitement à une zone de sécurité sont placés de force dans la zone de sécurité Intranet local.
Si vous activez ce paramètre de stratégie, les sites locaux qui ne sont pas associés explicitement à une zone de sécurité sont considérés comme étant dans la zone de sécurité Intranet local.
Si vous désactivez ce paramètre de stratégie, les sites locaux qui ne sont pas associés explicitement à une zone de sécurité ne sont pas considérés comme étant dans la zone de sécurité Intranet local (ils sont donc par défaut associés à la zone Internet).
Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs indiquent s’ils souhaitent placer les sites locaux dans la zone Intranet.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMapHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap- Value name
IntranetName
| 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/IZ_IncludeUnspecifiedLocalSites
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'IntranetName' -Value 1 -Type DWordDisable
# Disable: inetres/IZ_IncludeUnspecifiedLocalSites
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'IntranetName' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/IZ_IncludeUnspecifiedLocalSites
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap'
Remove-ItemProperty -Path $k -Name 'IntranetName' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"