The new Office Outlook 2007 Auto Account Setup of e-mail accounts can be customized by using various registry values. These registry values can be deployed to control behavior that otherwise cannot be configured by using the user interface of the Office Customization Tool (Outlk12.opa) or the Office Outlook 2007 Group Policy template (Outlk12.adm) file.
If you are in a pre-Microsoft Exchange Server 2007 topology, your Outlook profile is configured by first contacting a domain controller (DC) to retrieve information from the Active Directory directory service. There are some registry values that you can deploy to control this Active Directory lookup process.
Pre-populate example user name and e-mail address
When the auto account setup process runs, the Account Basics dialog box displays an example user name (Barbara Sankovic) and e-mail address (Barbara@contoso.com) to let you know the type of information you can enter into the Your Name and E-mail Address boxes.
If you want to customize the values used to pre-populate the example user name and email address fields, add the following registry data to the OCT:
Key: HKCU\Software\Microsoft\Office\12.0\Outlook\AutoDiscover
String: ExampleName
Value: text string up to 64 characters for the Your Name field
String: ExampleAddress
Value: text string up to 64 characters for the E-mail Address field
With these registry values configured with appropriate string values, the Account Basics dialog box displays the custom example user name and e-mail address text.
Disable Active Directory lookup
In a domain-joined configuration, Office Outlook 2007 uses an Active Directory lookup to automatically connect to a domain controller and obtain your user name and your primary Simple Mail Transfer Protocol (SMTP) address.
To disable the new Office Outlook 2007 Active Directory lookup, use the following registry data:
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Preferences
DWORD: ExchangeAddressDetect
Values: 1 (or missing DWORD) = perform Active Directory lookup
0 = no Active Directory lookup
If you set the ExchangeAddressDetect registry value to 0, you have to select the Manually configure server settings or additional server types check box in the Auto Account Setup portion of the Add New E-mail Account dialog box to create a profile for an Exchange mailbox.
Add New E-Mail Account dialog box when ExchangeAddressDetect value = 0
If you enter your name, e-mail address, and password for your Exchange mailbox, the auto account setup process will fail because only Guessmart and Autodiscover queries are performed in this configuration. With this registry setting in-place, there is no attempt to contact the domain controller so your Exchange server information cannot be determined automatically for you.
After you select the Manually configure server settings or additional server types check box, click Next. Then, select Microsoft Exchange in the Choose E-mail Service portion of the Add New E-mail Account dialog box.
Select Microsoft Exchange in the Choose E-mail Service dialog box
After clicking Next, the Microsoft Exchange Settings portion of the Add New E-mail Account dialog box appears.
Microsoft Exchange Settings portion of the Add New E-mail Account dialog box
From this point forward, the Exchange mailbox configuration is identical to Outlook 2003.
Note:
|
|
Setting ExchangeAddressDetect = 0 is not a useful configuration if you are trying to configure profiles for Exchange mailboxes. The Add New E-Mail Account dialog box shown previously is for non-Exchange accounts and users who might not necessarily know they have to select the Manually configure server settings or additional server types check box.
|
Disable the ability to cancel Active Directory lookup
The Office Outlook 2007 interface allows Outlook clients to cancel the Active Directory lookup process by simply typing in the Auto Account Setup text boxes or selecting the Manually configure server settings check box. To disable the ability to cancel the Active Directory lookup process, use the following registry data:
Keys:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook\
Preferences
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Preferences
DWORD: ExchangeAddressDetectCanCancel
Values: 1 (or missing DWORD) = Cancel button is enabled
0 = Cancel button, edit boxes, and “Manually configure server”
check box is disabled during the Active Directory lookup.
Note:
|
|
The ExchangeAddressDetectCanCancel DWORD only works during the actual Active Directory lookup process. Once the process is complete, the controls in the Auto Account Setup portion of the Add New E-mail Account dialog box are fully functional. The setting is used to discourage users from starting to type their e-mail address if the Active Directory lookup process is taking a relatively long time.
|
When ExchangeAddressDetectCanCancel = 0, the Cancel button and the Manually configure server settings or additional server types check box are both disabled (dimmed).
Controls disabled by using ExchangeAddressDetectCanCancel = 0
Having these two controls disabled prevents you from canceling the lookup process, which can be helpful in environments where you do not want users clicking Cancel and leaving the Auto Account Setup dialog box unpopulated.
However, even if you set ExchangeAddressDetectCanCancel = 0, the Your Name and E-mail Address boxes are editable after the Active Directory lookup process has finished.
Normally, when you are not using the ExchangeAddressDetectCanCancel registry data (or it is set to 1), the Your Name box is populated with the name returned from the DC but it is dimmed so you cannot modify it.
Disable Auto Account Setup process
There is one registry setting that completely turns off the entire Auto Account Setup process.
Key: HKCU\Software\Microsoft\Office\12.0\Outlook\AutoDiscover
DWORD: DisableAutoStartup
Values: 1 = disable the Auto Account Setup process
0 (or missing DWORD) = default Auto Account Setup process
With DisableAutoStartup = 1, the auto account setup process is completely disabled and you have the same profile creation experience available in Outlook 2003.
Note:
|
|
You might find the following registry key on your Outlook client:
HKCU\Software\Microsoft\Office\12.0\Outlook\AutoConfiguration
This registry key is not in the Office Outlook 2007 source code so it is not placed there by Office Outlook 2007.
|
Specify Autodiscover settings per domain name
Autodiscover can also be used to specify e-mail account and connection settings for POP or IMAP accounts. An Internet service provider (ISP) might choose to create an Autodiscover settings file (.xml format) to enable automatic configuration of Office Outlook 2007. You, as an administrator, might choose to do the same in a corporate environment if POP or IMAP e-mail accounts are being used.
The Autodiscover process attempts to find a server that supports Autodiscover by using the following list of URL addresses:
When Autodiscover functionality is available on your e-mail server, Office Outlook 2007 initiates the Autodiscover process to obtain server connectivity settings. Once a server that supports Autodiscover is located, the server returns XML data that provides the information needed for Office Outlook 2007 to automatically configure your e-mail account.
The following registry value allows you to specify a local path to an .xml file that Office Outlook 2007 can additionally use to configure its e-mail account. The name of the registry value is the host name of the e-mail address that is provided to Outlook. In the following example, the specified path to the .xml file would be used for any e-mail addresses ending in fourthcoffee.com. The path in this case is to a file named Autodiscover.xml located on a server named server1.
Key:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoDiscover
DWORD: fourthcoffee.com
Registry type: REG_DWORD
Data: \\server1\share\autodiscover.xml
Priority order of automatic account configuration settings
If you specify Autodiscover settings per domain name as explained in the preceding article, you can force Office Outlook 2007 to use the .xml file that was found locally. For example, using the example that appears in the preceding section, you can force Outlook to use the Autodiscover.xml file located on a server named server1. To do this, create the following registry value and set it to 1.
Key:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoDiscover
DWORD: PreferLocalXML
Values: 0 (or missing) = default behavior. Only use local file if no
server connection made.
1 = use local .xml file if found
Configure Exchange profile without interaction
You can configure Office Outlook 2007 to automatically create an Exchange account without displaying the Add New E-mail Account wizard after it finds the user contact information in Active Directory. To do this, set the following registry value to 1.
Key:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\AutoDiscover
DWORD: ZeroConfigExchange
Values:0 (or missing) = default autoconfiguration functionality
1 = no interaction except for credentials prompt (if required)
If the ZeroConfigExchange registry value is set to 1, the only prompt that the Office Outlook 2007 client displays is for credentials, if necessary.
Disable the default gateway check
If you do not have a default gateway configured for your network settings, the following error message is displayed when you attempt to create a new Office Outlook 2007 profile by using the Auto Account Setup process:
If you cannot configure a default gateway, you can disable the default gateway check by using the following registry data:
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\RPC
DWORD: DefConnectOpts
Values:0 = disable default gateway check and do not use new connection
logic
1 (or missing DWORD) = use new connection logic and check for
default gateway