Changing Active Directory and Exchange username after marriage or mistake

Introduction

Do you have a user who recently got married, or have you ever fat fingered a user’s name but didn’t notice until the user tried to login with their actual name? Well these are steps for you:

Steps (17 total)

1

Open Active Directory Users and Computers

2

Navigate to the Employees Organizational Unit (OU)

3

Right-click on the name of the employee for the name change and select rename

4

Rename the employee

5

Rename User dialog box appears

-Full Name should be correct
-First Name should be correct
-Last Name should be changed to the new Last Name
-Display Name will change in the above step
-User Logon Name should be changed to the new Last Name
-User Logon name (pre-Windows 2000) will be changed in the above step

6

Open Exchange Management Console

7

Under Recipient Configuration click on Mailbox to view all user mailboxes

8

Right click the employee name and select Properties

9

In the General Tab

-Change the Alias to match username changed in Active Directory Users and computers
-Click Apply button

10

In the E-Mail Addresses Tab

-SMTP address with the new name should be bold
-Highlight the old address, right click and select remove

11

Update the Offline Address Book, navigate to Organization Configuration and select Mailbox

12

Select the Offline Address Book Tab

13

Right click on the Default Offline Address Book select Update

14

Click Yes in the dialog box

That should do it for both AD and Exchange.

15

Log into user computer as admin

Make sure to log out of the user account before logging in as admin.

16

Rename the user folder

User folders in Windows 7\8 are located C:\Users\
-To change the user folder name, right click folder and choose « Rename » and press Enter

17

Re-Link the correct user account folder in the registry

-Press Windows Key + R combination, type put Regedt32.exe in Run dialog box and hit Enter to open the Registry Editor.
-Navigate to the following location:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

-Under the hood of ProfileList key, you’ll find the subkeys specific to a profile.
For example, I found out myself S-1-5-21-2944774474-1080414133-2956492554-1001. You’ll have these long subkeys equal to the number of user accounts on your system. All you need to do is that make sure the expandable registry string (REG_EXPAND_SZ) named ProfileImagePath in the right pane of these keys exists and linked properly to the correct user account folder. If you find that this is not the case, just point it to correct the location.

Source : Changing Active Directory and Exchange username after marriage or mistake – Spiceworks