How to Change the User Profile Folder Name in Windows 11
If you’re stuck with a crummy user profile folder name on Windows 11, there are ways to change it to your liking.
When you create a new user account in Windows 11, the operating system (OS) automatically creates a new user profile folder in C:UsersUsername. However, this default user profile folder name is not always what you want.
Windows, by default, will use the first five 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 using a registry hack. Here we show you how to change the name of the user profile folder in Windows 11.
How to Create a New Administrator User Account
To change your current user profile name, you need to log into a different administrator account. You cannot modify an existing user account profile path from the same account.
If you don’t have another administrator account, follow these steps to create a new administrator user account.
To create a new administrator account:
- Press Win + I to open Settings.
- Open the Accounts tab in the left pane.
- Click on Family & other users in the right pane.
- Click on Add account under Other users. This option is useful if you want to create a local user account without Microsoft Account.
- Next, click on I don’t have this person’s sign-in information.
- Click on Add a user without a Microsoft account.
- Type a name for the user account. Leave the password field empty and click Next.
- Click on the new user account and click Change account type.
- Click the drop-down for Account type and select Administrator.
- Click OK to save the changes.
Now you can log in with your new administrator account. To do this, click on Start, click on the user profile name, and select Sign out. Now you sign in with the new administrator account.
How to Change the User Profile Folder Name Using the 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 we recommend you to create a restore point. You can use the restore point to restore your PC if something goes during the process.
To change user profile folder name:
- Sign out of the user account for which want to change the user profile name. Then, login with a different administrator account.
- Next, open the Command Prompt. To do this, press Win + R, type cmd and click OK.
- In the Command Prompt window, type the following command to view SID (Security Identifier) for all user accounts:
wmic useraccount get name,SID
- Here, note the SID for the user account you want to change the user profile folder name. In this case, the SID for the username tashr is S-1-5-21-200486166-247335145-1769094253-1001.
- Next, press Win + R, type regedit and click OK to open Registry Editor.
- In the Registry Editor, navigate to the following location:
- Inside the ProfileList key, locate and click on the key name identical to the SID you made a note of earlier.
- In the right-pane, right-click on ProfileImagePath value and select Modify.
- Enter a name you want for the profile folder and click OK.
- Close the Registry Editor and Command Prompt window if open.
- Next, press Win + E to open File Explorer and navigate to C:Users.
- Select your user profile and press F2 top rename. Enter a new name for your user profile (it must match the user name entered in the Registry Editor).
- Click away and then click Continue to save the changes.
You may sometimes encounter the “You can’t perform this action” error when renaming the folder. This error often occurs if you switch to a different administrator account without signing out from the primary user account. Alternatively, restart your PC and repeat the steps to rename the user profile folder without the error.
Next, log out from your current account and sign in to the user account whose name is changed. Open File Explorer and navigate to C:Users, and you should be able to use the previous profile with the new pathname.
Rename the Default User Profile Folder in Windows 11
While you can rename the user account in Windows 11 using the Control Panel, doing so will not change the user profile folder name. For this, you need to modify the ProfileImagePath value in the Registry Editor with a different administrator account. Once done, you can remove the new administrator user account to declutter your logon screen.
Learn how to remove additional user accounts in Windows 11.
About The Author