How to change User Profile folder name in Windows 11
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:
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.
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.
You should read it
- How to change the name of the User Profile folder in Windows 10
- 3 ways to Backup Profile in Windows 7
- How to Rename the User Folder on Windows
- 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 create user profiles on Safari
- How to Change Your Profile Picture on a Mac Computer
- Steps to rename the User folder in Windows 10
- How to fix 'You've been signed in with a temporary profile' error on Windows 10
- How to lock Google Chrome profile with a password
- How to restore Windows User Profile 10
- How to transfer User Profile to another Windows 10 computer
- How to pin a Chrome user profile to the Taskbar
Maybe you are interested
US users can now access ChatGPT via 1-800-CHATGPT
How to Change the Default User Account Avatar in Windows
2 features users don't like in Photoshop Express photo editing application
Microsoft still recommends 15-year-old backup solution for Windows 11 and 10 users
Canonical Urges Ubuntu 20.04 LTS Users to Upgrade or Purchase Extended Support
Microsoft removes a barrier preventing users from updating to Windows 11 24H2