Disable AutoDiscover
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.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\autodiscover- 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_OutlookDisableAutoDiscover
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Exclude the last known goode URL
# unchecked: 0
Set-ItemProperty -Path $k -Name 'excludelastknowngoodurl' -Value 1 -Type DWord
# Exclude the SCP object lookup
# unchecked: 0
Set-ItemProperty -Path $k -Name 'excludescplookup' -Value 1 -Type DWord
# Exclude the root domain query based on your primary SMTP address
# unchecked: 0
Set-ItemProperty -Path $k -Name 'excludehttpsrootdomain' -Value 1 -Type DWord
# Exclude the query for the AutoDiscover domain
# unchecked: 0
Set-ItemProperty -Path $k -Name 'excludehttpsautodiscoverdomain' -Value 1 -Type DWord
# Exclude the HTTP redirect method
# unchecked: 0
Set-ItemProperty -Path $k -Name 'excludehttpredirect' -Value 1 -Type DWord
# Exclude the SRV record query in DNS
# unchecked: 0
Set-ItemProperty -Path $k -Name 'excludesrvrecord' -Value 1 -Type DWord
# Exclude initial check to Office 365 Autodiscover URL
# unchecked: 0
Set-ItemProperty -Path $k -Name 'excludeexplicito365endpoint' -Value 1 -Type DWord
# Disable the Autodiscover V2 service
# unchecked: 0
Set-ItemProperty -Path $k -Name 'disableautodiscoverv2service' -Value 1 -Type DWordDisable
# Disable: outlk16/L_OutlookDisableAutoDiscover
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": outlk16/L_OutlookDisableAutoDiscover
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover'
Remove-ItemProperty -Path $k -Name 'excludelastknowngoodurl' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'excludescplookup' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'excludehttpsrootdomain' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'excludehttpsautodiscoverdomain' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'excludehttpredirect' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'excludesrvrecord' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'excludeexplicito365endpoint' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'disableautodiscoverv2service' -ErrorAction SilentlyContinueOptions (8)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Exclude the last known goode URLL_OutlookDisableAutoDiscoverLkgUrl | Check boxboolean | excludelastknowngoodurl | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Exclude the SCP object lookupL_OutlookDisableAutoDiscoverScpLookup | Check boxboolean | excludescplookup | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Exclude the root domain query based on your primary SMTP addressL_OutlookDisableAutoDiscoverRootDomain | Check boxboolean | excludehttpsrootdomain | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Exclude the query for the AutoDiscover domainL_OutlookDisableAutoDiscoverAutoDiscoverSubDomain | Check boxboolean | excludehttpsautodiscoverdomain | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Exclude the HTTP redirect methodL_OutlookDisableAutoDiscoverHttpRedirect | Check boxboolean | excludehttpredirect | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Exclude the SRV record query in DNSL_OutlookDisableAutoDiscoverSrvRecord | Check boxboolean | excludesrvrecord | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Exclude initial check to Office 365 Autodiscover URLL_OutlookDisableAutoDiscoverExplicitO365Endpoint | Check boxboolean | excludeexplicito365endpoint | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Disable the Autodiscover V2 serviceL_OutlookDisableAutodiscoverV2Service | Check boxboolean | disableautodiscoverv2service | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.