Open in the explorer

Don’t show redirect warnings for Autodiscover for the specified HTTPS server names

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_AutoDiscoverRedirectServers

Explanation

This policy setting allows you to specify HTTPS server names for which Autodiscover won’t show a warning message when redirecting from HTTP to HTTPS.

By default, when an Autodiscover operation redirects from HTTP to HTTPS, you may be shown a warning message about the redirection.

If you enable this policy setting, you need to specify HTTPS server names, and for those server names, you won’t be shown a warning message. For example, if you enter contoso.com, you won’t be shown a warning message when Autodiscover redirects to https://contoso.com.

If you disable or don’t configure this policy setting, you may be shown a warning message when an Autodiscover operation redirects from HTTP to HTTPS.

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\autodiscover\redirectservers
Value name
not defined in the ADMX
StateValue written
Enabled
KeyValueData
software\policies\microsoft\office\16.0\outlook\autodiscover\redirectserverspolicyonREG_DWORD = 1
Disabled
KeyValueData
software\policies\microsoft\office\16.0\outlook\autodiscover\redirectserverspolicyonDeletes the value

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_AutoDiscoverRedirectServers
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover\redirectservers'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'policyon' -Value 1 -Type DWord
# HTTPS server names
# Non-additive list: when enabled, the GPO first clears the previous values of this list
$values = @('<value1>', '<value2>')  # Replace the values with your own
foreach ($v in $values) { Set-ItemProperty -Path $k -Name $v -Value $v -Type String }

Disable

# Disable: outlk16/L_AutoDiscoverRedirectServers
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover\redirectservers'
Remove-ItemProperty -Path $k -Name 'policyon' -ErrorAction SilentlyContinue

Revert to "Not configured"

# Revert to "Not configured": outlk16/L_AutoDiscoverRedirectServers
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover\redirectservers'
Remove-ItemProperty -Path $k -Name 'policyon' -ErrorAction SilentlyContinue
# names to adapt
# Remove-ItemProperty -Path $k -Name '<name1>' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
HTTPS server names:L_AutoDiscoverRedirectServersListList (table)listpolicy keyNumbered values (1, 2, 3…)REG_SZ (values under the key)

Application

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

Official templates downloaded on November 12, 2026.