Office Admin Explorer

Disable AutoDiscover

Classic Outlook only. The new Outlook for Windows ignores most of these Office policies – it is configured through Exchange Online (OWA mailbox policy) instead.

Registry value
excludelastknowngoodurl
Group PolicyDisable AutoDiscover
German versionAutoErmittlung deaktivieren
Intune settings catalogDisable AutoDiscover (User)
ScopeUser · HKCU
ADMXoutlk16.admx · L_OutlookDisableAutoDiscover
Open in the interactive explorer+ Add to my collection

Group Policy path

User Configuration\Policies\Administrative Templates\Microsoft Outlook 2016\Account Settings\Exchange
Benutzerkonfiguration\Richtlinien\Administrative Vorlagen\Microsoft Outlook 2016\Kontoeinstellungen\Exchange

Registry

ValueData
HKCU\Software\policies\microsoft\office\16.0\outlook\autodiscover
excludelastknowngoodurlEnabled = 1 · Disabled = 0
excludescplookupEnabled = 1 · Disabled = 0
excludehttpsrootdomainEnabled = 1 · Disabled = 0
excludehttpsautodiscoverdomainEnabled = 1 · Disabled = 0
excludehttpredirectEnabled = 1 · Disabled = 0
excludesrvrecordEnabled = 1 · Disabled = 0
excludeexplicito365endpointEnabled = 1 · Disabled = 0
disableautodiscoverv2serviceEnabled = 1 · Disabled = 0

Not configured = the value does not exist – the application default applies and users may change the setting.

PowerShell

Check the current value (read-only)

# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

$key = "$root\Software\policies\microsoft\office\16.0\outlook\autodiscover"
foreach ($name in @('excludelastknowngoodurl', 'excludescplookup', 'excludehttpsrootdomain', 'excludehttpsautodiscoverdomain', 'excludehttpredirect', 'excludesrvrecord', 'excludeexplicito365endpoint', 'disableautodiscoverv2service')) {
    try   { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
    catch { '{0}: not configured' -f $name }
}

Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.

Enable

# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

try {
    $key = "$root\Software\policies\microsoft\office\16.0\outlook\autodiscover"
    if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
    New-ItemProperty -Path $key -Name 'excludelastknowngoodurl' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'excludescplookup' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'excludehttpsrootdomain' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'excludehttpsautodiscoverdomain' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'excludehttpredirect' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'excludesrvrecord' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'excludeexplicito365endpoint' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    New-ItemProperty -Path $key -Name 'disableautodiscoverv2service' -PropertyType DWord -Value 1 -Force -ErrorAction Stop | Out-Null   # Enabled
    'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }
Reset to Not configured
# --- Settings ---
$root = 'HKCU:'   # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'

$key = "$root\Software\policies\microsoft\office\16.0\outlook\autodiscover"
Remove-ItemProperty -Path $key -Name 'excludelastknowngoodurl', 'excludescplookup', 'excludehttpsrootdomain', 'excludehttpsautodiscoverdomain', 'excludehttpredirect', 'excludesrvrecord', 'excludeexplicito365endpoint', 'disableautodiscoverv2service' -ErrorAction SilentlyContinue
'Policy values removed (Not configured).'

Intune (settings catalog)

Disable AutoDiscover (User)

Settings catalog → Add settings → search for the name above.

Intune Settings Catalog Viewer ↗

Alternative: custom profile (OMA-URI)
OMA-URI
./User/Vendor/MSFT/Policy/Config/outlk16v2~Policy~L_MicrosoftOfficeOutlook~L_ToolsAccounts~L_Exchangesettings/L_OutlookDisableAutoDiscover
Data typeString
Value<enabled/> · <disabled/>

This policy has options: add one <data id="…" value="…"/> per element after <enabled/>. The element IDs are in the ADMX file.

Cloud Policy

Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Disable AutoDiscover. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.

Microsoft explanation

This policy setting allows you to disable AutoDiscover.

If you enable this policy setting, you can select one or more of the following options to disable in the AutoDiscover feature.

"Exclude the last known good URL” – Outlook does not use the last known good Autodiscover URL.

"Exclude the SCP object lookup" – Outlook does not perform Active Directory queries for Service Connection Point (SCP) objects with Autodiscover information.

"Exclude the root domain query based on your primary SMTP address" - Outlook does not use the root domain of your primary SMTP address to locate the AutoDiscover service. For example, you select this optionOutlook does not use the following URL: https://<smtp-address-domain>/autodiscover/autodiscover.xml.

"Exclude the query for the AutoDiscover domain" - Outlook does not use the Autodiscover domain to locate the Autodiscover service. For example, Outlook does not use the following URL: https://autodiscover.<smtp-address-domain>/autodiscover/autodiscover.xml

"Exclude the HTTP redirect method" - Outlook does not use the HTTP redirect method in the event it is unable to reach the AutoDiscover service via either of the HTTPS URLs: https://<smtp-address-domain>/autodiscover/autodiscover.xml or https://autodiscover.<smtp-address-domain>/autodiscover/autodiscover.xml.

"Exclude the SRV record query in DNS" - Outlook does not use an SRV record lookup in DNS to locate the AutoDiscover service.

Same category: Microsoft Outlook 2016 › Account Settings › Exchange

All policies in this category · All 406 policies of outlk16.admx