Configure Outlook Anywhere user interface options: registry value enablerpctunnelinguiUserHKCU\software\policies\microsoft\office\16.0\outlook\rpc

Policy ID
L_EnableExchangeOverInternetUserInterface
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Outlook 2016 › Account Settings › Exchange

Registry

enablerpctunnelingui

REG_DWORDUser
Enabled value
Depends on the option value
Element
Choose UI State when OS can support feature:
Options
ItemStored value
Hidden0
All config UI enabled1
Enable only On/Off control but not config UI2
Enable config UI when settings are pre-deployed3
Disable but show all config UI4
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\rpc]

; Options (use only one)
; Hidden
"enablerpctunnelingui"=dword:00000000
; All config UI enabled
"enablerpctunnelingui"=dword:00000001
; Enable only On/Off control but not config UI
"enablerpctunnelingui"=dword:00000002
; Enable config UI when settings are pre-deployed
"enablerpctunnelingui"=dword:00000003
; Disable but show all config UI
"enablerpctunnelingui"=dword:00000004
CMD
:: Options (use only one)

:: Hidden
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\rpc" /v "enablerpctunnelingui" /t REG_DWORD /d 0 /f
:: All config UI enabled
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\rpc" /v "enablerpctunnelingui" /t REG_DWORD /d 1 /f
:: Enable only On/Off control but not config UI
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\rpc" /v "enablerpctunnelingui" /t REG_DWORD /d 2 /f
:: Enable config UI when settings are pre-deployed
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\rpc" /v "enablerpctunnelingui" /t REG_DWORD /d 3 /f
:: Disable but show all config UI
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\rpc" /v "enablerpctunnelingui" /t REG_DWORD /d 4 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\rpc' -Force | Out-Null

# Options (use only one)
# Hidden
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\rpc' -Name 'enablerpctunnelingui' -PropertyType DWord -Value 0 -Force | Out-Null
# All config UI enabled
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\rpc' -Name 'enablerpctunnelingui' -PropertyType DWord -Value 1 -Force | Out-Null
# Enable only On/Off control but not config UI
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\rpc' -Name 'enablerpctunnelingui' -PropertyType DWord -Value 2 -Force | Out-Null
# Enable config UI when settings are pre-deployed
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\rpc' -Name 'enablerpctunnelingui' -PropertyType DWord -Value 3 -Force | Out-Null
# Disable but show all config UI
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\rpc' -Name 'enablerpctunnelingui' -PropertyType DWord -Value 4 -Force | Out-Null