Open in the explorer

Turn on automatic detection of intranet

Activer la détection automatique du réseau intranet

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet SécuritéFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Sécurité
Supported on
At least Internet Explorer 7.0 FR: Au moins Internet Explorer 7.0
ADMX file
inetres.admx
Internal name
inetres/SecurityPage_AutoDetect

Explanation

This policy setting enables intranet mapping rules to be applied automatically if the computer belongs to a domain.

If you enable this policy setting, automatic detection of the intranet is turned on, and intranet mapping rules are applied automatically if the computer belongs to a domain.

If you disable this policy setting, automatic detection of the intranet is turned off, and intranet mapping rules are applied however they are configured.

If this policy setting is not configured, the user can choose whether or not to automatically detect the intranet through the intranet settings dialog in Control Panel.

French text from Windows 11 26H2

Ce paramètre de stratégie active les règles de mappage intranet à appliquer automatiquement si l’ordinateur est membre d’un domaine.

Si vous activez ce paramètre de stratégie, la détection automatique du réseau intranet est activée. En outre, les règles de mappage intranet sont appliquées automatiquement si l’ordinateur appartient à un domaine.

Si vous désactivez ce paramètre de stratégie, la détection automatique du réseau intranet est désactivée. En outre, les règles de mappage intranet sont appliquées quelle que soit leur configuration.

Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur peut choisir d’activer ou non la détection automatique du réseau intranet via la boîte de dialogue des paramètres intranet dans le Panneau de configuration.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
Value name
AutoDetect
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/SecurityPage_AutoDetect
$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 'AutoDetect' -Value 1 -Type DWord

Disable

# Disable: inetres/SecurityPage_AutoDetect
$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 'AutoDetect' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/SecurityPage_AutoDetect
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap'
Remove-ItemProperty -Path $k -Name 'AutoDetect' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability