Default full name format in Active Directory
When I create a new account in Active Directory, I enter the new user's first name and last name, and it auto-fills the full name in the form "First Last". Can I set AD to use "Last, First" instead? The domain controller is currently Server 2003.
Solution 1:
You'll need to edit the createDialog
attribute of the displaySpecifier
named CN=user-Display
to alter the default format in ADUC.
- Launch
adsiedit.msc
- Right-click the root and choose "Connect to..."
- On the "Select well known Naming Context" choose "Configuration"
- Expand "Configuration", on the left pane and drill down:
- CN=Configuration,DC=example,DC=com
- CN=DisplaySpecifiers
- CN=409 (Note this is for EN-US, you need to select your domain's locale)
- CN=user-Display
- Open the properties of this specifier.
- Change the
createDialog
attribute to%<sn>, %<givenName>
This is documented, in more detail, in MS support Article ID: 250455
How to change display names of Active Directory users.
Edit: To answer, possibly, your next question, you can change the existing displayName
attributes of users with the following Powershell.
The LDAP filter will select users with a populated displayName
, but will exclude users if displayName
contains a comma.
Get-ADUser -LDAPFilter "(&(objectCategory=person)(!displayName=*,*)(displayName=*))" |
ForEach-Object {
Set-ADUser $_ -DisplayName "$($_.Surname), $($_.givenName)"
}