Windows automatically creates a dedicated home/profile folder for every user account you create. By default, the name of the user profile folder is the same as the username. Since the home folder contains all the user-specific folders like pictures, documents, downloads, etc., Windows won't allow you to easily change the folder name as you wish. If you ever want to, here's follow the below steps to rename user profile folder in Windows 10.
Basically, there are four major things you need to do. That is, create a local administrator account, rename the user account, rename the user profile folder, and finally, map the renamed folder to the user account using the registry editor.
Just follow the below steps as is and the folder will be renamed in just a couple of minutes.
Caution: Before proceeding, create a system restore point. This helps you restore Windows if you mess up anything.
Steps to Rename User Profile Folder
Though the process of renaming the home folder is pretty simple, there are quite a few steps. So, to make things easier for you, I've divided the steps into four major sections.
1.1 Create a New Local Administrator Account
While you are logged into your user account, you cannot rename your own user profile folder. This is true even if you are the administrator. As such, we need to create another local administrator account. Once created, we will use that account to make all the necessary changes. Of course, you can enable hidden administrator account too but the below method is recommended.
Note: If you already have another local user account with administrator privileges then you can skip this section.
- Open the settings app and go to "Accounts -> Family & other users" page. On the right panel, click on the "Add someone else to this PC" button.
- If your PC has an active internet connection, Windows 10 will ask you to log into Microsoft account. Since we want to create a local account, click on the "I don't have this person's sign-in information" link.
- In the next screen, click on the "Add a user without Microsoft account" link.
- Now, enter a new username and password. Setup the security questions and click on the "Next" button.
- The new user account will be created as a standard user. So, click on the user account in the settings app and then click on the "Change account type" button.
- Select "Administrator" from the dropdown menu. Click "Ok" to save changes.
- This is how it should look like in the settings app after changing the account type.
- Reboot Windows.
1.2 Rename Old User Account
The user account name and the home folder should have the same name. So, if you want to rename the home folder, you need to change the user account name too.
- Log into the new user account.
- In the new user account, press Win + R, type
lusrmgr.mscand click on the "Ok" button.
- The above action will open the Local Users and Group tool. Here, go to the "Users" folder, find your user account, right-click on it and select "Rename".
- Type the new user name you'd like to give the user account. In my case, I'm changing "WindowsLoop" to "WindowsLoopCOM".
1.3 Rename Windows Home Folder
- Now, open file explorer and go to
C:\Users. RIght-click on your user profile folder and select "Rename".
- Type in the same name you used in step 11. In my case, the new name is "WindowsLoopCOM".
1.4 Map the Renamed Folder via Registry Editor
- Next, press Win + R, type
regeditand click on the "Ok" button. This action will open the registry editor.
- In the registry editor, copy the below path, paste it in the address bar and press Enter. On the left panel, you will see folders with long SID Strings.
- Every user account in your system has its own folder with a unique SID string. So, click on each SID string folder, take and look at "ProfileImagePath" value in the right panel and see if it corresponds to your profile folder.
- Once you found the target folder, double-click on the "ProfileImagePath" value. In the Edit Value window, enter the new profile folder name and click on the "Ok" button.
- This is how it should look like in the registry editor after you change the ProfileImagePath value.
- Close the registry editor.
- Reboot Windows.
- Log into your regular user account and it should be functioning without any problems.
Just to test if everything is OK, I've downloaded a single file from the internet. Since everything worked great, the downloaded file is saved in the Downloads folder of the renamed home folder.
Once everything is working fine, you can delete Windows user account you created earlier.
That is all. It is that simple to rename user profile folder in Windows.