2
Streamlining autodiscover
Question asked by Douglas Foster - 1/19/2021 at 1:28 PM
Unanswered
Office 2016 with MAPI requires Autodiscover, and my recent experience has been that autodiscover is slow and unreliable.   If it encounters problems, it often hangs forever, rather than returning errors.    With the help of know-it-all Google, I have found a way to expedite the process.
 
There are two files involved, an XML file and a registry setting which points to it.   The registry file looks like this:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Autodiscover]
"example.com"="c:\\autodiscover\\autodiscover.xml"

The XML file looks like this (and needs to be in the location indicated by the registry file.)

<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">;
    <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">;
         <Account>
            <AccountType>email</AccountType>
            <Action>redirectUrl</Action>
            <RedirectURL>https://smartermail.example.com/autodiscover/autodiscover.xml</RedirectUrl>;;
        </Account>
    </Response>
</Autodiscover>

Replace example.com in the first file with your domain.   Replace smartermail.example.com in the second file with your server name.   Then place both files in C:\autodiscover on your PC.   Double-click the registry file to load it. then run the normal autodiscover process.    With my domain settings configured for MAPI, IMAP, and SMTP In, I saw these results:
- Outlook 2010 configured with IMAP + SMTP in a few seconds.
- Outlook 2016 configured with MAPI in about 70 seconds.

Obviously, you can put the registry file anywhere, and can be loaded by any method you choose.   
The XML file can be anywhere as long as the registry file points to that location.

Credit to www.virtualdcs.co.uk for this information.

2 Replies

Reply to Thread
1
echoDreamz Replied
Strange, our Autodiscovery for MAPI takes seconds.
0
We don't have issue with autodiscover.

Are you sure that your SmarterMail server and your domain DNS records are all correctly configured?

Reply to Thread