How to change User Profile folder name in Windows 11

When you create a new user account in Windows 11, the operating system automatically creates a new User Profile folder in C:/Users/Username.

However, this default User Profile folder name is not always what you want.

By default, Windows will use the first 5 characters of your user account name as the profile folder name. If you don't like the User Profile folder name, you can change it by editing the registry. The following article will show you how to change the User Profile folder name in Windows 11.

How to change User Profile folder name using Registry Editor

You can modify the registry entries associated with your user account to change the User Profile folder name in Windows 11.

This process involves modifying your registry entries, so the article recommends that you create a restore point. You can use a restore point to restore your PC if something goes wrong during the process.

To change the User Profile folder name:

Step 1. Log out of your current user account and log in with the built-in or newly created admin account

Step 2. Next, press Win + R to open the Run dialog box.

Step 3. Type netplwiz and click OK to open the User Accounts dialog box .

Step 4. Here, select your user account and click Properties .

How to change User Profile folder name in Windows 11 Picture 1How to change User Profile folder name in Windows 11 Picture 1

 

Step 5. In the User Properties dialog box , you will see your User name and Full name .

Step 6. Enter a name for your username, click OK > Apply .

How to change User Profile folder name in Windows 11 Picture 2How to change User Profile folder name in Windows 11 Picture 2

Step 7. Close the User Account dialog box and perform a reboot.

Step 8. Next, open Command Prompt. To do this, press Win + R , enter cmd and click OK.

How to change User Profile folder name in Windows 11 Picture 3How to change User Profile folder name in Windows 11 Picture 3

 

Step 9. In the Command Prompt window, type the following command to view the SID (Security Identifier) ​​for all user accounts:

wmic useraccount get name,SID

Step 10. Here, note the SID for the user account you want to change the User Profile folder name to. In this case, the SID for the username tashr is S-1-5-21-200486166-247335145-1769094253-1001.

Now, you have your SID. You must import it into Registry Editor. To do that, follow these steps:

Step 1. Press Win + R , type regedit and click OK to open Registry Editor.

Step 2. In Registry Editor, navigate to the following location:

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/ProfileList

Step 3. Inside the ProfileList key , locate and click the key name that resembles the SID you noted earlier.

Step 4. On the right side, right-click the ProfileImagePath value and select Modify.

How to change User Profile folder name in Windows 11 Picture 4How to change User Profile folder name in Windows 11 Picture 4

Step 5. Enter the name you want for the profile folder and click OK .

How to change User Profile folder name in Windows 11 Picture 5How to change User Profile folder name in Windows 11 Picture 5

Step 6. Close the Registry and Command Prompt windows if open.

Step 7. Next, press Win + E to open File Explorer and navigate to C:/Users/ .

How to change User Profile folder name in Windows 11 Picture 6How to change User Profile folder name in Windows 11 Picture 6

Step 8. Select your User Profile and press F2 to rename it. Enter a new name for the User Profile (this name must match the user name entered in the Registry Editor).

Step 9. Click Continue to save changes.

Sometimes you may encounter the error " You can't perform this action " when renaming a folder. This error often occurs if you switch to another admin account without logging out of the main user account. Also, restart your PC and repeat the steps to rename the User Profile folder without errors.

Next, log out of your current account and log in to the user account with the new user folder name. Open File Explorer and navigate to C:/Users/ and you will be able to use the previous profile with the new pathname.

5 ★ | 1 Vote