If you ‘re using a Windows 10/8 or 7 personal computer (not part of a Domain) and you want to rename the user account name and the related User Profile folder name then this tutorial may be useful for you.
As you may know when you change the username of a user in Windows, the related user folder remain unchanged and you must perform some additional steps to accomplish this. In this tutorial you ‘ll learn how to rename a user in Windows and how to rename the user folder in order to match the name of the user.
How to Rename User and User Profile Folder in Windows 10/8/7 *
* Note: To apply the steps below you must sign into Windows, using an account with Administrative privileges.
Assumption: Let’s suppose that the current username and the related profile folder is named “Josh” and you want to change the account name and the profile folder name to “Joshua”.
Step 1. Rename the User from User Account Properties.
To change the username of a local account in Windows:
2. Type netplwiz & Press Enter.
3. Highlight the user that you want to rename and select Properties.
4. Then change the current User name (e.g. “Josh) with the new one (e.g “Joshua”)
5. When done click Apply and OK twice to close all open windows.
Step 2. Change the User Profile Folder Path in Registry.
1. Open Registry Editor: To do that:
2. Navigate to the following key at the left pane:
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
3. Click at any “S-1-5-21-xxx…” registry key, until you find which one contains the path for your profile folder at the “ProfileImagePath” REG_DWORD value.
* e.g. If your Username is “Josh” then see which S-1-5-21-xxx…” registry key, contains the “C:\Users\Josh” value at ProfileImagePath.
4. When you find that key, double click at ProfileImagePath and rename the current path (profile folder name) to the new one. *
* e.g. At this example we proceed to change the “C:\Users\Josh” folder name, with the new folder name “C:\Users\Joshua”.
5. When done, click OK.
6. Close Registry Editor and Restart your computer.
Step 3. Rename the User Profile Folder.
1. After restart you ‘ll be sign to a temporary profile (empty profile) with the message “We can’t sign in to your account”. (Click Close at this message and continue below).
2. Open Windows Explorer and explore the contents of the “C:\Users” folder.
3. Right click on the user profile folder (e.g. “Josh” in this example) and choose Rename.
4. Type the new name for the profile folder (e.g. “Joshua” in this example) and press Enter.
5. Click Continue when asked to provide administrator permission to rename the folder.
6. Restart your computer to login to your profile with all files and settings untouched!
That’s all folks! Did it work for you?
Please leave a comment in the comment section below or even better: like and share this blog post in the social networks to help spread the word about this problem.