Open in the explorer

Specifies whether to apply restrictions to requests to more private network endpoints (obsolete)

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Microsoft Edge › Private Network Request Settings User Configuration › Policies › Administrative Templates › Microsoft Edge › Private Network Request Settings
Supported on
Microsoft Edge version 131-137, Windows 7 or later
ADMX file
msedge.admx
Internal name
msedge/PrivateNetworkAccessRestrictionsEnabled

Explanation

OBSOLETE: This policy is obsolete and doesn't work after Microsoft Edge 137.

Specifies whether to apply restrictions to requests to more private
network endpoints

When this policy is Enabled, anytime when a warning is supposed to be displayed in the DevTools due to Private Network Access checks failing, the request is blocked.

When this policy is Disabled or unset, all Private Network Access warnings aren't enforced and the requests aren't blocked.

See https://wicg.github.io/private-network-access/ for Private Network Access restrictions.

Note: A network endpoint is more private than another if:
1) Its IP address is localhost and the other isn't.
2) Its IP address is private and the other is public.

This policy is obsolete. The earlier blanket override has been replaced by the permission-based Local Network Access model, which blocks cross-space requests until users give explicit consent.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
Value name
PrivateNetworkAccessRestrictionsEnabled
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: msedge/PrivateNetworkAccessRestrictionsEnabled
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PrivateNetworkAccessRestrictionsEnabled' -Value 1 -Type DWord

Disable

# Disable: msedge/PrivateNetworkAccessRestrictionsEnabled
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PrivateNetworkAccessRestrictionsEnabled' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": msedge/PrivateNetworkAccessRestrictionsEnabled
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'PrivateNetworkAccessRestrictionsEnabled' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Application

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

Official templates downloaded on November 12, 2026.