Intranet Sites: Include all sites that bypass the proxy server
Sites intranet : inclure tous les sites qui n’utilisent pas de serveur proxy
Explanation
This policy setting controls whether sites which bypass the proxy server are mapped into the local Intranet security zone.
If you enable this policy setting, sites which bypass the proxy server are mapped into the Intranet Zone.
If you disable this policy setting, sites which bypass the proxy server aren't necessarily mapped into the Intranet Zone (other rules might map one there).
If you do not configure this policy setting, users choose whether sites which bypass the proxy server are mapped into the Intranet Zone.
Ce paramètre de stratégie détermine si les sites qui n’utilisent pas le serveur proxy sont associés à la zone de sécurité Intranet local.
Si vous activez ce paramètre de stratégie, les sites qui n’utilisent pas le serveur proxy sont associés à la zone de sécurité Intranet local.
Si vous désactivez ce paramètre de stratégie, les sites qui n’utilisent pas le serveur proxy ne sont pas nécessairement associés à la zone de sécurité Intranet (d’autres règles peuvent en mapper un ici).
Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs indiquent si les sites qui n’utilisent pas le serveur proxy sont associés à la zone de sécurité Intranet local.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMapHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap- Value name
ProxyByPass
| 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_ProxyByPass
$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 'ProxyByPass' -Value 1 -Type DWordDisable
# Disable: inetres/IZ_ProxyByPass
$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 'ProxyByPass' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/IZ_ProxyByPass
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap'
Remove-ItemProperty -Path $k -Name 'ProxyByPass' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"