Renaming a user account doesn't automatically change the profile path
This article provides a workaround for an issue where renaming a user account doesn't automatically change the profile path.
Applies to: Windows 7 Service Pack 1, Windows Server 2008 R2 Service Pack 1
Original KB number: 2454362
When you rename a user account on a computer that is running Windows 7 or Windows Server 2008 R2, the user profile path isn't changed automatically. It may cause some confusion when the
%SystemDrive%\users folder is viewed
Microsoft has confirmed it to be by design in Windows.
To work around this issue, use the steps below to manually rename the profile path.
Log in by using another administrative account.
You may need create a new administrative account at first.
Go to the
C:\users\folder and rename the sub folder with the original user name to the new user name.
Go to registry and modify the registry value ProfileImagePath to the new path name.
Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<User SID>\
Replace <User SID> with the SID of your user account.
Log out and log in again by using the user whose name is changed, and the user should use the pervious profile with new path name.