How can I force my Microsoft Outlook 2007 client to a particular autodiscovery server?

A. By default, Outlook 2007 clients try to discover their configuration automatically by searching for various DNS records based on the user’s email address. However, you can use an XML file to force Outlook to a particular address for a domain without using DNS records, or perhaps you want to override what might be configured in DNS.

First, create an XML file of the format below:

<?xml version="1.0" encoding="utf-8"?>

<Autodiscover xmlns=""><Response xmlns="">






Now, you need to link to the XML file in the registry. To do so, open your favorite registry editor (e.g., regedit.exe), and go to the HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoDiscover subkey. From the Edit menu, select New, String Value. Enter the name of the domain (e.g.,, set the value to the location of the XML file (e.g., D:\auto\autodiscover.xml), and click OK. Close the registry editor.

Finally, open the computer’s Hosts file in the C:\Windows\System32\drivers\etc folder and add an autodiscover.(domain) record for the address (loopback). For example,

When you restart Outlook, the system will use the new autodiscover location.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.