Open in the explorer

Override IP address space mappings

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge › Network settings User Configuration › Policies › Administrative Templates › Microsoft Edge › Network settings
Supported on
Microsoft Edge version 146, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/LocalNetworkAccessIpAddressSpaceOverrides

Explanation

Specifies IP address space overrides for Local Network Access restrictions. This policy allows administrators to treat specific IP address ranges as public (exempt from Local Network Access restrictions) or as local (subject to Local Network Access restrictions).

IP address space overrides can be specified using one of the following formats:

• [cidr]=[public|local|loopback]
where [cidr] is an IP address range in CIDR notation. CIDR overrides apply to all ports.

• [ip-address]:[port]=[public|local|loopback]

IPv6 addresses must be specified in URL-safe (bracketed) format.

For more information about Local Network Access, see https://wicg.github.io/local-network-access/.

This policy does not support dynamic refresh. Changes take effect only after browser restart.

Overrides from the command-line switch --ip-address-space-overrides take precedence over overrides set by this policy.

Example value:

100.64.0.0/10=public
[2001:db8::]/32=local
192.168.0.1:8000=public
[2001:DB8::8:800:200C:417A]:8080=local

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: msedge/LocalNetworkAccessIpAddressSpaceOverrides
$k = 'HKLM:\Software\Policies\Microsoft\Edge\LocalNetworkAccessIpAddressSpaceOverrides'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Override IP address space mappings
# Non-additive list: existing values of the key are cleared first
if (Test-Path -Path $k) { (Get-Item -Path $k).Property | ForEach-Object { Remove-ItemProperty -Path $k -Name ([WildcardPattern]::Escape($_)) -ErrorAction SilentlyContinue } }
$values = @('<value1>', '<value2>')  # Replace the values with your own
$i = 1
foreach ($v in $values) { Set-ItemProperty -Path $k -Name ('' + $i) -Value $v -Type String; $i++ }

Disable

# Disable: msedge/LocalNetworkAccessIpAddressSpaceOverrides
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": msedge/LocalNetworkAccessIpAddressSpaceOverrides
$k = 'HKLM:\Software\Policies\Microsoft\Edge\LocalNetworkAccessIpAddressSpaceOverrides'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Override IP address space mappingsLocalNetworkAccessIpAddressSpaceOverridesDescList (table)listSoftware\Policies\Microsoft\Edge\LocalNetworkAccessIpAddressSpaceOverridesValues named “” + numberREG_SZ (values under the key)

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.