Ask the Expert

Can I modify the CN attribute of the users of an organization unit?

Is it possible to modify the CN attribute of the users of an OU with a combination of its SN and given name attribute?

My problem is that users appear in Active Directory with "givenname sn" in the name column and I would like them to appear with "sn givenname". I have more than 1,200 users so I cannot rename them one by one.

Could you help me?

    Requires Free Membership to View

You can change the default display specifiers for new users going forward by using the steps listed in KB 250455 from Microsoft. For your existing users, you would need to use either VBScript or a command-line utility such as dsmove (used to rename users), ldifde, or ADMod to perform a bulk rename operation.

This was first published in October 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: