Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Active Directory Domain Services 2008 : Manage Active Directory Domain Services Data - Rename User Object

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
6/19/2011 9:16:13 AM

Rename User Object by Using the Windows Interface

To rename a user object by using the Windows interface, perform the following steps:

1.
Log on to a domain controller or a member computer that has Windows Server 2008 RSAT installed.

2.
Click Start, click Administrative Tools, and then click Active Directory Users and Computers.

3.
In the details pane, right-click the user object you want to rename and click Rename.

4.
Type the new full name of the user and press Enter.

5.
On the Rename User window, shown in Figure 1, modify the applicable name fields; then click OK.



Figure 1. The Rename User page.


Rename User Object by Using the Command Line

To rename a user object by using the command line, perform the following steps:

1.
Log on to a domain controller.

2.
Click Start, and click Command Prompt.

Note

Renaming a user account by using the command line is a two phase process. The first step uses the dsmod command to modify the applicable name attributes for the object. The second step uses the dsmove command to modify the distinguished name of the object.

3.
In the Command Prompt window, type the following command and press Enter:

Dsmod user "CN=John Smith,CN=Users,DC=WS08DOMAIN01,DC=local" -fn Jonathan -display "Jonathan Smith"

(where "CN=John Smith,CN=Users,DC=WS08DOMAIN01,DC=local" is the distinguished name of the user, –fn Jonathan is the new first name of the user, and –display "Jonathan Smith" is the new display name of the user).

Tip

For a full list of dsmod user parameters, go to http://technet.microsoft.com/en-us/library/cc732954.aspx.

4.
Verify that the results of the dsmod command entered above returns dsmod succeeded, as shown in Figure 2.



Figure 2. Modifying the user’s name using the command line.

5.
In the Command Prompt window, type the following command and press Enter:

Dsmove  "CN=John Smith,CN=Users,DC=WS08DOMAIN01,DC=local" -newname "Jonathan Smith"

(where "CN=John Smith,CN=Users,DC=WS08DOMAIN01,DC=local" is the distinguished name of the user, –fn Jonathan is the new first name of the user, and –display "Jonathan Smith" is the new display name of the user).

6.
Verify that the results of the dsmove command entered above returns dsmove succeeded, as shown in Figure 3.

Figure 3. Renaming the user using the command line.



Other -----------------
- Active Directory Domain Services 2008 : Manage Active Directory Domain Services Data - Delete User Object
- Active Directory Domain Services 2008 : Manage Active Directory Domain Services Data - Create User Object
- Troubleshooting the Exchange Server 2003 Organization
- Troubleshooting Exchange Server 2003 Servers
- BizTalk 2009 : The Enterprise Service Bus Toolkit 2.0 - The Functional Components (part 4) - Business Rule Engine
- BizTalk 2009 : The Enterprise Service Bus Toolkit 2.0 - The Functional Components (part 3)
- BizTalk 2009 : The Enterprise Service Bus Toolkit 2.0 - The Functional Components (part 2) - ItineraryHelper & Pipeline Components
- BizTalk 2009 : The Enterprise Service Bus Toolkit 2.0 - The Functional Components (part 1)
- Microsoft Dynamics CRM 2011 : Viewing Open and Completed Activities for a Record
- Microsoft Dynamics CRM 2011 : Creating Follow-Up Activities
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server