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.
But First, Some Potential Issues That May Arise From These Steps
While the registry hack should help you successfully change your user account folder name, it can lead to some complications. For example, some of your Microsoft Store apps, including OneDrive and Outlook, can stop working.
As a quick fix, try to sign out and then sign in to your app. If that does not work, you’ll need to move the existing path and define the new correct path after changing the user folder name.
Also, create a restore point and exercise extreme caution while making changes to your user name folder. Incorrect modification to the Windows Registry can cause serious issues and may require reinstallation of the operating system.
How to Create a New Administrator User Account in Windows 11
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.
To do this, you can enable and use the built-in administrator account in Windows 11. If not, follow these steps to create a new administrator account in Windows 11.
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 can 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 wrong during the process.
To change the user profile folder name:
Sign-out from your current user account and login with a built-in or newly created administrator account Next, press Win + R to open the Run dialog. Type netplwiz and click OK to open the User Accounts dialog. Here, select your user account and click on Properties. In the User Properties dialog, you’ll see your User name and Full name. Type a name for your user name and click OK and Apply. Close the User Account dialog and preform a restart. 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.
Now that we have the SID, we need to enter it into the Registry Editor. To do that, follow these steps:
Press Win + R, type regedit and click OK to open Registry Editor. In the Registry Editor, navigate to the following location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList 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 to 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 with the new user folder name. Open File Explorer and navigate to C:\Users, and you should be able to use the previous profile with the new pathname.
Renaming the Default User Profile Folder in Windows 11, Made Easy
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 login screen.