en-US windows computer user

Turn on automatic detection of intranet

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: At least Internet Explorer 7.0

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page

Description

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.

Registry

HKLM Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
HKCU Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap

Value name: AutoDetect

Enabled: AutoDetect = 1

Disabled: AutoDetect = 0

MDM / Intune (CSP)

Device ./Device/Vendor/MSFT/Policy/Config/InternetExplorer/AutoDetectIntranet
User ./User/Vendor/MSFT/Policy/Config/InternetExplorer/AutoDetectIntranet
DeviceUser Since Windows 11, version 24H2 with KB5062660 [10.0.26100.4770] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

Scope

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Turn on automatic detection of intranet
; State: Enabled
; Scope: Computer (HKLM)
; Supported on: At least Internet Explorer 7.0

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap]
"AutoDetect"=dword:00000001
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Turn on automatic detection of intranet
# State: Enabled
# Scope: Computer (HKLM)
# Supported on: At least Internet Explorer 7.0

$path = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'AutoDetect' -Value 1 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview