locked
How do I turn off Autodiscover?

    Question

  • The AutoDiscover for Outlook 2007 has an error when configuring Outlook 2007 the first time.  This is caused from Exchange 2003 not having the feature to support the AutoDiscover.  I am able to turn it off but the location is under HKEY_Current_User, so it does not work for all users.  Does anyone know a way to turn this off for all users through local machine or group policies?
    Thursday, September 24, 2009 6:48 PM

Answers

  • Take a look at Automatic Profile Configuration:

    1.Expand Microsoft Office Outlook 2007
    2.Expand Tools | Account Settings
    3.Click on Exchange
    4.Double click on Automatically configure profile based on Active Directory Primary SMTP Address item
    5.The possible values are Not Configured, Enabled and Disabled.

    I have not tested this yet, but am very eager to do so / find out it it actually disables Autodiscover (it might be useful in a upcoming migration scenario).

    This is in part two:
    Managing Outlook 2007 through Group Policies
    http://www.redline-software.com/eng/support/articles/msexchange/2007/managing-outlook2007-gp-part1.php
    http://www.redline-software.com/eng/support/articles/msexchange/2007/managing-outlook2007-gp-part2.php
    http://www.redline-software.com/eng/support/articles/msexchange/2007/managing-outlook2007-gp-part3.php

    Guess you already have studied this:
    Deploying additional registry values in the Office Customization Tool for Outlook 2007
    http://technet.microsoft.com/en-us/library/cc837949.aspx

    You could deploy this registry change with a login script.

    jas

    • Marked as answer by Alan.Gim Friday, October 2, 2009 1:41 AM
    Thursday, September 24, 2009 9:59 PM
  • Well, if you disable “Automatically configure profile based on Active Directory Primary SMTP address”, at least user will have the chance to choose “Manually configure server settings or additional server types” in the “Add New E-Mail Account” wizard

     

    When Outlook 2007 attempts to contact the Autodiscover service it can use different methods to reach the service, depending on the topology. The currently implemented methods used by Outlook are:

    l  SCP lookup

    l  HTTPS root domain query

    l  HTTPS Autodiscover domain query

    l  HTTP redirect method

    l  SRV record query

     

    To disable each of the above Autodiscover connection methods used by Outlook, please modify the Outlk12.adm file by using the following steps:

    a.      Open the Outlk12.adm file in Notepad

    b.      Locate the following line in the template

    POLICY !!L_AutomaticallyconfigurerofilebasedonActive

    c.       Insert a blank-line above this line, and then paste the content below

     

    POLICY !!L_Excludeautodiscoverscplookup

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeScpLookup

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoverscplookupExplain

    END POLICY

     

    POLICY !!L_Excludeautodiscoverhttpsqueryforrootdomain

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeHttpsRootDomain

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoverhttpsqueryforrootdomainExplain

    END POLICY

     

    POLICY !!L_Excludeautodiscoverhttpsqueryforautodiscoverdomain

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeHttpsAutoDiscoverDomain

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoverhttpsqueryforautodiscoverdomainExplain

    END POLICY

     

    POLICY !!L_Excludeautodiscoverhttpredirectquery

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeHttpRedirect

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoverhttpredirectqueryExplain

    END POLICY

     

    POLICY !!L_Excludeautodiscoversrvrecordquery

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeSrvRecord

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoversrvrecordqueryExplain

    END POLICY

     

    d.      Locate the following line in the template

    L_AutomaticallyconfigurerofilebasedonActiveExplain="By default, if a user is joined to a domain ...

    e.      Insert a blank-line above this line, and then paste the content below

     

    L_Excludeautodiscoverscplookup="Exclude the SCP object lookup for Autodiscover"

    L_ExcludeautodiscoverscplookupExplain="Enable this policy to stop Outlook from performing an Active Directory query for Service Connection Point (SCP) objects with Autodiscover information."

     

    L_Excludeautodiscoverhttpsqueryforrootdomain="Exclude the Autodiscover lookup using a query for the root domain of your primary SMTP address"

    L_ExcludeautodiscoverhttpsqueryforrootdomainExplain="Enable this policy to stop Outlook from using the root domain of your primary SMTP address to locate the Autodiscover service. For example, if this policy is enabled, Outlook does not use the following URL:\n\nhttps://<smtp-address-domain>/autodiscover/autodiscover.xml."

     

    L_Excludeautodiscoverhttpsqueryforautodiscoverdomain="Exclude the Autodiscover lookup using a query for the Autodiscover domain"

    L_ExcludeautodiscoverhttpsqueryforautodiscoverdomainExplain="Enable this policy to stop Outlook from using the Autodiscover domain to locate the Autodiscover service. For example, if this policy is enabled, Outlook does not use the following URL:\n\nhttps://autodiscover.<smtp-address-domain>/autodiscover/autodiscover.xml."

     

    L_Excludeautodiscoverhttpredirectquery="Exclude the Autodiscover lookup using the HTTP redirect method"

    L_ExcludeautodiscoverhttpredirectqueryExplain="Enable this policy to stop Outlook from using the HTTP redirect method in the event it is unable to reach the Autodiscover service via either of the HTTPS URLs\n\nhttps://<smtp-address-domain>/autodiscover/autodiscover.xml\n\nhttps://autodiscover.<smtp-address-domain>/autodiscover/autodiscover.xml."

     

    L_Excludeautodiscoversrvrecordquery="Exclude the Autodiscover query for an SRV record in DNS"

    L_ExcludeautodiscoversrvrecordqueryExplain="Enable this policy to stop Outlook from using an SRV record lookup in DNS to locate the Autodiscover service."

     

    Notes: When you paste the lines above into the notepad, please remove all the blank-line among them. Otherwise, it’ll cause problems in the GPO Editor

    f.        Save and close .adm file

    g.      Add the updated .adm file to the GPO Editor

    h.      To configure the new policy setting, please go to “Tools | Account Settings - Exchange” node

     

    Resources:

    Outlook Automatic Account Configuration

    • Marked as answer by Alan.Gim Friday, October 2, 2009 1:42 AM
    Friday, September 25, 2009 8:40 AM

All replies

  • Take a look at Automatic Profile Configuration:

    1.Expand Microsoft Office Outlook 2007
    2.Expand Tools | Account Settings
    3.Click on Exchange
    4.Double click on Automatically configure profile based on Active Directory Primary SMTP Address item
    5.The possible values are Not Configured, Enabled and Disabled.

    I have not tested this yet, but am very eager to do so / find out it it actually disables Autodiscover (it might be useful in a upcoming migration scenario).

    This is in part two:
    Managing Outlook 2007 through Group Policies
    http://www.redline-software.com/eng/support/articles/msexchange/2007/managing-outlook2007-gp-part1.php
    http://www.redline-software.com/eng/support/articles/msexchange/2007/managing-outlook2007-gp-part2.php
    http://www.redline-software.com/eng/support/articles/msexchange/2007/managing-outlook2007-gp-part3.php

    Guess you already have studied this:
    Deploying additional registry values in the Office Customization Tool for Outlook 2007
    http://technet.microsoft.com/en-us/library/cc837949.aspx

    You could deploy this registry change with a login script.

    jas

    • Marked as answer by Alan.Gim Friday, October 2, 2009 1:41 AM
    Thursday, September 24, 2009 9:59 PM
  • You can try Jon's steps -if it works, well and good!!

    But i want to update you couple of important points to proceed further. As we know the Autodiscovery feature is installed on a Exchange Server 2007 with the Client Access Server role installed. So it is impossible to disable it on Outlook.

    FYI: I request you to go through the White Paper: Exchange 2007 Autodiscover Service http://technet.microsoft.com/en-us/library/bb332063.aspx


    DeVa, M.S., {MSFT}
    Thursday, September 24, 2009 10:29 PM
  • Well, if you disable “Automatically configure profile based on Active Directory Primary SMTP address”, at least user will have the chance to choose “Manually configure server settings or additional server types” in the “Add New E-Mail Account” wizard

     

    When Outlook 2007 attempts to contact the Autodiscover service it can use different methods to reach the service, depending on the topology. The currently implemented methods used by Outlook are:

    l  SCP lookup

    l  HTTPS root domain query

    l  HTTPS Autodiscover domain query

    l  HTTP redirect method

    l  SRV record query

     

    To disable each of the above Autodiscover connection methods used by Outlook, please modify the Outlk12.adm file by using the following steps:

    a.      Open the Outlk12.adm file in Notepad

    b.      Locate the following line in the template

    POLICY !!L_AutomaticallyconfigurerofilebasedonActive

    c.       Insert a blank-line above this line, and then paste the content below

     

    POLICY !!L_Excludeautodiscoverscplookup

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeScpLookup

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoverscplookupExplain

    END POLICY

     

    POLICY !!L_Excludeautodiscoverhttpsqueryforrootdomain

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeHttpsRootDomain

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoverhttpsqueryforrootdomainExplain

    END POLICY

     

    POLICY !!L_Excludeautodiscoverhttpsqueryforautodiscoverdomain

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeHttpsAutoDiscoverDomain

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoverhttpsqueryforautodiscoverdomainExplain

    END POLICY

     

    POLICY !!L_Excludeautodiscoverhttpredirectquery

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeHttpRedirect

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoverhttpredirectqueryExplain

    END POLICY

     

    POLICY !!L_Excludeautodiscoversrvrecordquery

    KEYNAME Software\Policies\Microsoft\Office\12.0\Outlook\AutoDiscover

    VALUENAME ExcludeSrvRecord

    VALUEON NUMERIC 1

    VALUEOFF NUMERIC 0

    EXPLAIN !!L_ExcludeautodiscoversrvrecordqueryExplain

    END POLICY

     

    d.      Locate the following line in the template

    L_AutomaticallyconfigurerofilebasedonActiveExplain="By default, if a user is joined to a domain ...

    e.      Insert a blank-line above this line, and then paste the content below

     

    L_Excludeautodiscoverscplookup="Exclude the SCP object lookup for Autodiscover"

    L_ExcludeautodiscoverscplookupExplain="Enable this policy to stop Outlook from performing an Active Directory query for Service Connection Point (SCP) objects with Autodiscover information."

     

    L_Excludeautodiscoverhttpsqueryforrootdomain="Exclude the Autodiscover lookup using a query for the root domain of your primary SMTP address"

    L_ExcludeautodiscoverhttpsqueryforrootdomainExplain="Enable this policy to stop Outlook from using the root domain of your primary SMTP address to locate the Autodiscover service. For example, if this policy is enabled, Outlook does not use the following URL:\n\nhttps://<smtp-address-domain>/autodiscover/autodiscover.xml."

     

    L_Excludeautodiscoverhttpsqueryforautodiscoverdomain="Exclude the Autodiscover lookup using a query for the Autodiscover domain"

    L_ExcludeautodiscoverhttpsqueryforautodiscoverdomainExplain="Enable this policy to stop Outlook from using the Autodiscover domain to locate the Autodiscover service. For example, if this policy is enabled, Outlook does not use the following URL:\n\nhttps://autodiscover.<smtp-address-domain>/autodiscover/autodiscover.xml."

     

    L_Excludeautodiscoverhttpredirectquery="Exclude the Autodiscover lookup using the HTTP redirect method"

    L_ExcludeautodiscoverhttpredirectqueryExplain="Enable this policy to stop Outlook from using the HTTP redirect method in the event it is unable to reach the Autodiscover service via either of the HTTPS URLs\n\nhttps://<smtp-address-domain>/autodiscover/autodiscover.xml\n\nhttps://autodiscover.<smtp-address-domain>/autodiscover/autodiscover.xml."

     

    L_Excludeautodiscoversrvrecordquery="Exclude the Autodiscover query for an SRV record in DNS"

    L_ExcludeautodiscoversrvrecordqueryExplain="Enable this policy to stop Outlook from using an SRV record lookup in DNS to locate the Autodiscover service."

     

    Notes: When you paste the lines above into the notepad, please remove all the blank-line among them. Otherwise, it’ll cause problems in the GPO Editor

    f.        Save and close .adm file

    g.      Add the updated .adm file to the GPO Editor

    h.      To configure the new policy setting, please go to “Tools | Account Settings - Exchange” node

     

    Resources:

    Outlook Automatic Account Configuration

    • Marked as answer by Alan.Gim Friday, October 2, 2009 1:42 AM
    Friday, September 25, 2009 8:40 AM