Open in the explorer

Maximum number of concurrent connections to the proxy server for WebSocket requests

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

Explanation

Specifies the maximum number of simultaneous connections to a proxy server for WebSocket requests.

To configure limits for non-WebSocket requests, see the 'MaxConnectionsPerProxy' (Maximum number of concurrent connections to the proxy server for non-WebSocket requests) policy.

If you don't configure this policy, the default value of 128 is used.

Some web applications maintain multiple concurrent connections, such as long-lived or hanging requests. Setting a value lower than the default can cause networking delays when many of these applications are open.

Some proxy servers can't handle a high number of concurrent connections per client. In these cases, reducing this value might improve reliability.

The supported range is 6 to 256:
- Values less than 6 are treated as 6.
- Values greater than 256 are treated as 256.

When the 'AllowSocketPoolSizeRandomizationForProxies' (Allow socket pool size randomization for proxies) policy is enabled, which is the default, the effective upper limit can be randomized up to 2x the value specified by this policy as a security mechanism.

We recommend modifying this value only if required by your proxy server configuration or network environment.

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/MaxConnectionsPerProxyForWebSocket
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Maximum number of concurrent connections to the proxy server for WebSocket requests
Set-ItemProperty -Path $k -Name 'MaxConnectionsPerProxyForWebSocket' -Value 6 -Type DWord  # between 6 and 256

Disable

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

Revert to "Not configured"

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

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Maximum number of concurrent connections to the proxy server for WebSocket requests:MaxConnectionsPerProxyForWebSocketNumeric boxdecimalMaxConnectionsPerProxyForWebSocketREG_DWORD
Min: 6 · Max: 256

Application

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

Official templates downloaded on November 12, 2026.