How to Rename User and User Folder in Windows 7, 8, 8.1 or 10 OS.

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:

1. Press simultaneously the Windows image + R keys to open the run command box.

2. Type netplwiz & Press Enter.

user accounts windows


3. Highlight the user that you want to rename and select Properties.

rename user windows


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.

change username windows


Step 2. Change the User Profile Folder Path in Registry.

1. Open Registry Editor: To do that:

    • Press simultaneously the Windows image + R keys to open the run command box.
    • Type regedit & Press Enter.

open registry editor

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.

change user profile folder path


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.

change user folder registry



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).

rename user folder windows 7, 8, 10


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.

rename user folder windows


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.

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue fighting spam while keeping this site free: