Outlook takes too long to discover your settings

​In case you run into slow account setup with the newly released Outlook 2016 version (and later), which can take up to 10 mins or more, here’s a possible fix. Add the following key to your registry:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover]
ExcludeHttpsRootDomain"=dword:00000001

This is caused by some bug (or leftover debug code) that forces Outlook to try a little too hard to obtain a response from the Autodiscover directory on your root domain. If the domain resolves in DNS but does not respond to HTTP queries (i.e. you don’t have an actual server to acknowledge them), this will cause timeout error, and Outlook will try again and again and again. Here’s how it looks like:

autodiscovertimeout

If you wait long enough (11 attempts or so, each taking at least 30 seconds), Outlook will actually give up and move on. But if you don’t like waiting, the reg key above will force Outlook to bypass this particular check and it will continue to the next method. So as a result the process will take a substantially smaller amount of time.

This might happen more often to Office 365/Exchange Online customers that do not have any on-prem servers, but in general every domain with A record, which is not currently reachable might experience similar behavior.

5 thoughts on “Outlook takes too long to discover your settings

  1. Ibrahim Fathy Ibrahim says:

    Worked like a charm..!!!
    Man.. Thank a ton.
    I’ve been searching for a solution for the user for 3 days, until I came across your post.

    Thanks again.

    Reply
  2. Matthew Doming says:

    Man! you are a total life saver! More power to you! Thanks a lot!

    Reply
  3. Barry Mason says:

    Hello from 2018!

    Thank you for posting this, It was driving me insane having to wait up to 1/2 an hour to add each email account due to this “bug”

    I can confirm this fix works, and it saved my hair from being pulled out.

    Reply
  4. Mat says:

    Life saver! Outlook connected fine after the key and didn’t need a reboot

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.