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

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 video Game
-   Poly Bridge Early Access Trailer
-   Rodea The Sky Soldier Trailer
-   CABAL 2 Launch Trailer
-   The Smurfs Trailer
-   Act of Aggression Pre-Order Trailer
-   Project X Zone 2 [3DS] Trailer
-   Minecraft: Story Mode Debut Trailer
-   Minecraft: Story Mode Reveal Trailer at Minecon 2015
-   Suidobashi Heavy Industry | Response to Robot Duel
-   Goliath [PC] Motion Comic Trailer
-   WWE 2K16 [PS3/PS4/X360/XOne] Stone Cold Steve Austin Cover Reveal Trailer
-   Netflix Original | An Unfortunate Teaser
-   The Horrors of KYN unleashed
-   The Endless Cylinder [PC] Debut Trailer
-   Need for Speed (Reboot) (Gameplay PS4, Xbox One, PC)
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
programming4us programming4us
PS4 game trailer XBox One game trailer
WiiU game trailer 3ds game trailer
Trailer game
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer