Microsoft KB Archive/831124

= How to force Outlook 2007 or Outlook 2003 to resolve proxy addresses and custom properties in Cached Exchange Mode =

Article ID: 831124

Article Last Modified on 1/24/2007

-

APPLIES TO


 * Microsoft Office Outlook 2003
 * Microsoft Office Outlook 2003 with Business Contact Manager
 * Microsoft Office Outlook 2007
 * Microsoft Office Outlook 2007 with Business Contact Manager

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SUMMARY
When you use Microsoft Office Outlook 2007 or Microsoft Office Outlook 2003 in Cached Exchange Mode, Outlook verifies and resolves the names of e-mail recipients with the Offline Address Book. The process of resolving e-mail addresses with similar fields, such as the DisplayName, is called Ambiguous Name Resolution (ANR).

The Online ANR that is used by the Global Catalog Server indexes the following fields for matching names:
 * displayName
 * mail
 * givenName
 * legacyExchangeDN
 * mailNickname
 * physicalDeliveryOfficeName
 * proxyAddresses
 * name
 * sAMAccountName
 * sn

The ANR that is used by the Offline Address Book indexes the following fields for matching names:
 * mailNickname
 * displayName
 * physicalDeliveryOfficeName
 * sn



WORKAROUND
To work around this behavior, add a registry key that forces Outlook to use the online Global Address List to resolve ambiguous names or e-mail aliases.

Note You may experience performance issues around name resolution in Outlook compared to a Cached Exchange Mode experience if you use this registry key. The performance for name resolution would be the same as when you use Outlook in non-Cached Exchange Mode while resolving names online.

Microsoft recommends that you only use this workaround if your circumstances require that you access the online Global Address Book to resolve ambiguous names or e-mail aliases.



MORE INFORMATION
In Outlook, you can use the new registry key named ANR Include Online GAL to set the address book that Outlook uses to resolve ambiguous names or e-mail aliases. You can use one of the following registry entries to set the ANR Include Online GAL registry key manually or with Group Policy:

In Outlook 2003
Manual Setting:

Group Policy Setting:

Parameter:ANR Include Online GAL

Type: REG_DWORD

Value: 0 or 1

The value 0 is the default value for the Offline Address Book. If the value is set to 0, Outlook 2003 uses the Offline Address Book to resolve ambiguous names or e-mail aliases when you create an e-mail message.

If the value is set to 1, Outlook 2003 uses the Global Address Book to resolve ambiguous names or e-mail aliases when you create an e-mail message instead of using the Offline Address Book. This means that there will be Remote Procedure Calls (RPC) incurred whenever the following conditions are true:
 * A name is resolved in the To box of an e-mail message.
 * An e-mail message is sent.
 * A reply is sent to a one-off SMTP address.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

You can manually add the ANR Include Online GAL registry key to the registry.

Follow these steps, and then quit Registry Editor:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following key in the registry:

 

 On the Edit menu, point to New, and then click DWORD Value. Type ANR Include Online GAL, and then press ENTER. On the Edit menu, click Modify. Type 0 or 1, and then click OK.</li></ol>

In Outlook 2007
Manual Setting:

Group Policy Setting:

Parameter:ANR Include Online GAL

Type: REG_DWORD

Value: 0 or 1

The value 0 is the default value for the Offline Address Book. If the value is set to 0, Outlook 2007 uses the Offline Address Book to resolve ambiguous names or e-mail aliases when you create an e-mail message.

If the value is set to 1, Outlook 2007 uses the Global Address Book to resolve ambiguous names or e-mail aliases when you create an e-mail message instead of using the Offline Address Book. This means that there will be Remote Procedure Calls (RPC) incurred whenever the following conditions are true:
 * A name is resolved in the To box of an e-mail message.
 * An e-mail message is sent.
 * A reply is sent to a one-off SMTP address.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

You can manually add the ANR Include Online GAL registry key to the registry.

Follow these steps, and then quit Registry Editor: <ol> Click Start, click Run, type regedit, and then click OK.</li> Locate and then click the following key in the registry:

 

</li> On the Edit menu, point to New, and then click DWORD Value.</li> Type ANR Include Online GAL, and then press ENTER.</li> On the Edit menu, click Modify.</li> Type 0 or 1, and then click OK.</li></ol>

Additional query words: OL2003 OL11 displayName mail givenName legacyExchangeDN mailNickname physicalDeliveryOfficeName proxyAddresses name sAMAccountName sn LastName FirstName OAB Version 3a OL2007

Keywords: kbaddressbook kbregistry kbemail kbrpc kbhowto KB831124

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.