"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Software tutorial > How to Change the User Profile Folder Name in Windows 11

How to Change the User Profile Folder Name in Windows 11

Published on 2024-08-31
Browse:146

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.

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.

Try to sign out and sign in to your app as a quick fix. 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 changing 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, 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:

  1. Press Win I to open Settings.
  2. Open the Accounts tab in the left pane.
  3. Click on Family & other users in the right pane.How to Change the User Profile Folder Name in Windows 11
  4. Click Other users. This option is useful to create a local user account without a Microsoft Account.How to Change the User Profile Folder Name in Windows 11
  5. Next, click on I don’t have this person’s sign-in information.How to Change the User Profile Folder Name in Windows 11
  1. Click on Add a userwithout a Microsoft account.
  2. Type a name for the user account. Leave the password field empty and click Next.
  3. Click on the new user account and click Change account type.
  4. Click the drop-down for Account type and select Administrator.
  5. Click OK to save the changes.

Now, you can log in with your new administrator account. To do this, click Start, then click on the user profile name, and select Sign out. Next, 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 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:

  1. Sign out from your current user account and log in with a built-in or newly created administrator account
  2. Next, press Win R to open the Run dialog.
  3. Type netplwiz and click OK to open the User Accounts dialog.
  4. Here, select your user account and click on Properties.How to Change the User Profile Folder Name in Windows 11
  5. In the User Properties dialog, you’ll see your User name and Full name.
  1. Type a name for your user name, click OK and Apply.How to Change the User Profile Folder Name in Windows 11
  2. Close the User Account dialog and perform a restart.
  3. Next, open the Command Prompt. To do this, press Win R, type cmd, and click OK.How to Change the User Profile Folder Name in Windows 11
  4. In the Command Prompt window, type the following command to view SID (Security Identifier) for all user accounts:
    wmic useraccount get name,SID 
  5. 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 must enter it into the Registry Editor. To do that, follow these steps:

  1. Press Win R, type regedit, and click OK to open Registry Editor.
  2. In the Registry Editor, navigate to the following location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList 
  3. Inside the ProfileList key, locate and click on the key name identical to the SID you noted earlier.
  4. In the right pane, right-click on ProfileImagePath value and select Modify.How to Change the User Profile Folder Name in Windows 11
  5. Enter a name you want for the profile folder and click OK.How to Change the User Profile Folder Name in Windows 11
  6. Close the Registry Editor and Command Prompt window if open.
  7. Next, press Win E to open File Explorer and navigate to C:\Users\.How to Change the User Profile Folder Name in Windows 11
  8. Select your user profile and press F2 to rename it. Enter a new name for your user profile (it must match the user name entered in the Registry Editor).
  9. 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. 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.

Release Statement This article is reproduced at: https://www.makeuseof.com/windows-11-change-user-profile-folder-name/ If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3