Microsoft KB Archive/250455

= How to change display names of Active Directory users =

Article ID: 250455

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



This article was previously published under Q250455



SUMMARY
When a new user is created in Active Directory, the Full name field is always generated in FirstName LastName format. In turn, this field sets the Display Name field on creation, therefore, you end up with a FirstName LastName formatted global address list.

You can make this change by using the Adsiedit utility. Adsiedit not only changes the default way the Display Name field is built, but also the Full Name (that is, the "cn") field, therefore, users appear in the chosen format when you look in the Users and Computers snap-in.



ADSIEdit Instructions
Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.  Insert your Windows 2000 Server CD. Navigate to the \support\tools directory. Double-click on the Support.cab file. Locate the files adsiedit.msc and adsiedit.dll. Extract them to your %systemroot%\system32 directory. Run regsvr32 adsiedit.dll. Start Microsoft Management Console (MMC), and then add the ADSI Edit snap-in. Right-click the top node, and then click Connect to.</li> Change the Naming Context to "Configuration Container," and then click OK to bind and authenticate.</li> Expand the Configuration Container node, and then expand the Configuration node.</li> Expand the cn=DisplaySpecifiers node, and then double-click CN=409.NOTE: 409 is the Locale ID for U.S. English. If you are in a multi-lingual environment, you may need to make changes to the other codes. Most of the Asian codes are already set.

The International Telecommunication Union (ITU) and International Organization for Standardization (ISO) define the code pages. For more information, visit the following ITU and ISO Web pages:

http://www.itu.int

http://www.microsoft.com/globaldev/reference/lcid-all.mspx

For more information about supporting localized Exchange Clients, click the following article number to view the article in the Microsoft Knowledge Base:

150977 Supporting localized Exchange clients

</li> In the right-hand pane, open the properties for "CN=user-Display".</li> Scroll to the createDialog optional property.</li> Set the attribute to %<sn>.%<givenName>. Make sure that you click Set.

Note The only tokens that can be formatted in the dislayName are %<sn>, %<givenName>, and % .</li> Click OK to close the dialog box.</li> In Active Directory Users and Computers, create a new User; the Full Name (and thus, the Display Name) are built in accordance with your rule.</li></ol>

Making these changes can have adverse effects. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

276266 Group changes for users with LDAP-restricted characters

For more information about how to use an ADSI script to perform this task, click the following article number to view the article in the Microsoft Knowledge Base:

277717 How to change the display names of Active Directory users with Active Directory services interface script