Open in the explorer

RPC/HTTP Connection Flags

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Outlook 2016 › Account Settings › Exchange
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
outlk16.admx
Internal name
outlk16/L_RPCHTTPConnectionFlags

Explanation

This policy setting configures connection options for Outlook Anywhere.

If you enable this policy setting, you can configure multiple connection options by selecting the flag in the drop down menu that contains the combination of settings you need. The following flags are available:

If you disable or do not configure this policy setting, Outlook uses the settings specified in Autodiscover.

Flag 1: Enables the 'Connect to Microsoft Exchange using HTTP checkbox' on the Connection tab.

The following flags configure options in the Microsoft Exchange Proxy Settings dialog box:

Flag 2: Enables the 'Connect using SSL only' checkbox
Flag 3: Enables the 'Only connect to proxy servers that have this principal name in their certificate' checkbox
Flag 4: Enables the 'On fast networks, connect using HTTP first, then connect using TCP/IP' checkbox
Flag 5: Enables the 'On slow networks, connect using HTTP first, then connect using TCP/IP' checkbox

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\rpc
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.

Enable

# Enable: outlk16/L_RPCHTTPConnectionFlags
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\rpc'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Select a combination of RPC/HTTP connection flags (see Explain tab for details)
# Possible options:
#   No Flags = 0
#   Flags: 1 + 2 + 3 + 4 + 5 = 47
#   Flags: 1 + 2 + 3 + 5 = 39
#   Flags: 1 + 2 + 4 + 5 = 43
#   Flags: 1 + 2 + 5 = 35
#   Flags: 1 + 4 + 5 = 41
#   Flags: 1 + 5 = 33
Set-ItemProperty -Path $k -Name 'proxyserverflags' -Value 47 -Type DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": outlk16/L_RPCHTTPConnectionFlags
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\rpc'
Remove-ItemProperty -Path $k -Name 'proxyserverflags' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Select a combination of RPC/HTTP connection flags (see Explain tab for details):L_SelectRPCHTTPConnectionFlagsDrop-down listenumproxyserverflagsREG_DWORD
Default choice (UI): #1
LabelValue
No FlagsREG_DWORD = 0
Flags: 1 + 2 + 3 + 4 + 5REG_DWORD = 47
Flags: 1 + 2 + 3 + 5REG_DWORD = 39
Flags: 1 + 2 + 4 + 5REG_DWORD = 43
Flags: 1 + 2 + 5REG_DWORD = 35
Flags: 1 + 4 + 5REG_DWORD = 41
Flags: 1 + 5REG_DWORD = 33

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.