To rename a user account using the Windows interface in windows 2003 DC follow this procedure
- Click Start, click Control Panel, double-click Administrative Tools, and then double-click Active Directory Users and Computers.
- From Active Directory Users and Computers/domain node/Users – click Users Or, click the folder that contains the user account.
- In the details pane, right-click the user account that you want to rename, and then click Rename.
- Type the new full name for the user account, and then press ENTER. The Rename User dialog box appears.
- The name that you type appears as the full name. You may edit the name, if necessary. When you are satisfied with the new full name, press the Tab key to go to the next box, or click the appropriate box.
- In First name, type the user’s first name.In Last name, type the user’s last name.
- In Display name, type the name for the user to be displayed in Active Directory.
- In User logon name, type the user’s logon name, click the user principal name (UPN) suffix in the drop-down list, and then click Next.
- In User logon name (pre-Windows 2000), type a name for the user that is unique for the Active Directory forest and Click OK.
Using Command Line
To rename a user account using a command line utility DSmod
Dsmod user UserDN [-upn UPN][-fn FirstName][-mi Initial][-lnLastName][-dn DisplayName][-email EmailAddress]
UserDN – Specifies the distinguished names of the users that you want to modify. A user distinguished name (UserDN) is required. If values are omitted, they are optained through standard input (stdin) to support piping of output from another command to input of this command. An example of a user distinguished name is CN=CGreen,OU=IT,DC=Contoso,DC=Com.
-upn UPN – Specifies the new user principal names for the user objects that you want to modify, for example, firstname.lastname@example.org.
-fn FirstName – Specifies the first names of the user names that you want to modify.
-mi Initial – Specifies the middle initials of the user objects that you want to modify.
-ln LastName – Specifies the last names of the user objects that you want to modify.
-dn DisplayName – Specifies the display names for the user objects that you want to modify. The display name of a user object is the name that you want to see when the user communicates using the account. The display name is also the name that other users search for when they look up this user object in Active Directory Domain Services (AD DS), Exchange, or any directory search tool.
-email EmailAddress – Specifies the e-mail addresses of the user object that you want to modify, which is often the same as the UPN.
Incoming search terms:
- rename domain user account (14)
- rename domain user (12)
- rename user in active directory (9)
- rename active directory user (3)
- renaming domain user account (2)
- rename user in active directory dsmod (1)
- rename user in windows 2003 sbs (1)
- rename user logon name pre windows 2000 with command line (1)
- rename user windows cmd (1)
- rename useraccount using cmd (1)