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 .
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 .
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.
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:
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.
Step 5. Enter the name you want for the profile folder and click OK .
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/ .
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.
- 3 ways to Backup Profile in Windows 7
- Steps to rename the User folder in Windows 10
- How to fix the error The User Profile Service failed the logon. Không thể nạp được người dùng profile
- How to change the download folder Windows Update in Windows 10
- How to Change Your Profile Picture on a Mac Computer
- How to change the profile picture in Microsoft Edge Chromium
- Change directory template in Windows 10
- Change any file or folder name in Windows
- How to change user account picture in Windows 11
- How to change the default Download path on Windows?