RPC/HTTP Connection Flags
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 DWordDisable
# 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 SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Select a combination of RPC/HTTP connection flags (see Explain tab for details):L_SelectRPCHTTPConnectionFlags | Drop-down listenum | proxyserverflags | REG_DWORD | Default choice (UI): #1
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.