en-US office user

RPC/HTTP Connection Flags

Verified with Microsoft 365/Office 5568.1000 — updated on September 4, 2026

Microsoft 365/Office 5568.1000

Supported on: At least Windows Server 2008 R2 or Windows 7

Path in the GPO console

User Configuration\Administrative Templates\Microsoft Outlook 2016\Account Settings\Exchange

Description

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

HKCU software\policies\microsoft\office\16.0\outlook\rpc

More options available

Options

Select a combination of RPC/HTTP connection flags (see Explain tab for details):
proxyserverflags enum
  • No Flags -> 0
  • Flags: 1 + 2 + 3 + 4 + 5 -> 47 (default)
  • 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

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: RPC/HTTP Connection Flags
; State: Enabled
; Supported on: At least Windows Server 2008 R2 or Windows 7

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\rpc]
"proxyserverflags"=dword:0000002f
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: RPC/HTTP Connection Flags
# State: Enabled
# Supported on: At least Windows Server 2008 R2 or Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.

$path = 'HKCU:\software\policies\microsoft\office\16.0\outlook\rpc'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'proxyserverflags' -Value 47 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview