Set the IPv4 route-probe address for PAC scripts
Explanation
This policy sets the IPv4 destination that Microsoft Edge uses to determine the local network address or addresses returned to PAC scripts by the myIpAddress() and myIpAddressEx() helper functions. The route probe sends no application data.
This policy applies only when Microsoft Edge uses its built-in proxy resolver to evaluate PAC scripts. It doesn't apply when a native or system resolver is used.
If you configure this policy, set it to a valid IPv4 address literal. Host names, malformed values, IPv6 addresses, loopback addresses, link-local addresses, and multicast addresses are rejected. Addresses in 0.0.0.0/8, the reserved 240.0.0.0/4 range, and the limited broadcast address are also rejected. Private addresses are supported.
If you don't configure this policy or configure it with an empty string, Microsoft Edge uses its built-in default IPv4 destination. The built-in destination can change between versions.
A browser restart is required for changes to take effect.
Example value: 192.0.2.1
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeHKEY_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/PacMyIpAddressIPv4ProbeAddress
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set the IPv4 route-probe address for PAC scripts
Set-ItemProperty -Path $k -Name 'PacMyIpAddressIPv4ProbeAddress' -Value '<value>' -Type StringDisable
# Disable: msedge/PacMyIpAddressIPv4ProbeAddress
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": msedge/PacMyIpAddressIPv4ProbeAddress
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'PacMyIpAddressIPv4ProbeAddress' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Set the IPv4 route-probe address for PAC scriptsPacMyIpAddressIPv4ProbeAddress | Text boxtext | PacMyIpAddressIPv4ProbeAddress | REG_SZ | Max length: 1000000 |
Application
Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.