How to change user folder name on Windows 11

Yes, it's possible to change the user profile folder name, and here's how on Windows 11.

Windows 11 change user profile folder name
Windows 11 change user profile folder name
  • To change the user folder name on Windows 11, you have to create a new local administrator account using the name as you want the user folder to appear from the “Other users” settings, transfer your files and settings from the old to the new account, delete the old account, and link your new account with your Microsoft account.
  • Alternatively, you can also rename the user folder through the Registry by updating the “ProfileImagePath” string with the new name and then changing the account folder name from the “Users” folder. If you want to use this option, you’ll have to use a secondary administrator account.

UPDATED 5/19/2024: On Windows 11, when you create a user account, the system also creates a folder to store the user’s data using the part of the account name. Although the folder name for the account is not relevant when using Windows 11 because the system assigns the name automatically, it may not be something everyone likes.

If you have to change the user profile folder name for some reason, Windows 11 includes at least two ways to complete the task. You can create a new local account using the name you want for the folder and transfer your data to the new profile. Or you can use the Registry to modify the settings and change the profile folder name (not recommended).

This guide will teach you the steps to change the user profile folder name on Windows 11.

Warning: It’s important to note that modifying the Windows Registry can cause serious problems if not used properly. It’s assumed you know what you’re doing and have created a full backup of your system before proceeding.

Change folder profile name on Windows 11

To rename the user profile folder on Windows 11, use these steps:

  1. Open Settings on Windows 11.

  2. Click on Accounts.

  3. Click on the Other users page.

  4. Click the Add account option.

    Windows 11 add account

  5. Click the “I don’t have this person’s sign-in information” option.

    I don't have this person's sign in information

  6. Click the “Add a user without a Microsoft account” option.

    Add a user without a Microsoft account

  7. Confirm the name of the account. (This name will become your new folder name.)

    User account name

  8. (Optional) Skip creating a password.

  9. Click the Next button.

  10. Select the newly created local account and click the “Change account type” button.

    Change account type

  11. Choose the Administrator option in the “Account type” setting.

    Change account type to admin

  12. Click the OK button.

  13. Sign out of the account.

  14. Sign in to the new account.

Once you complete the steps, you will have an account with a new folder name.

The last thing to do is transfer your files to the new account. You can do this from “Users” using File Explorer. You may also need to reconfigure some of your settings in the new account (as required).

After transferring your files, you want to delete the old account and link your Microsoft account to the new account.

Delete old account

To delete an account on Windows 11, use these steps:

  1. Open Settings.

  2. Click on Accounts.

  3. Click on the Other users page.

  4. Select the old created local account and click the Remove button.

    Windows 11 remove account

  5. Click the “Delete account and data” button.

Once you complete the steps, the old account will be deleted, and you can use the same Microsoft account to link it to the new account.

Link your Microsoft account

To convert the local account to a Microsoft account on Windows 11, use these steps:

  1. Open Settings.

  2. Click on Accounts.

  3. Click the Your info page.

  4. Under the “Account settings” section, click the “Sign in with a Microsoft account” option.

    Windows 11 link Microsoft account

  5. Confirm your Microsoft account credentials.

    Quick note: If you’re prompted to confirm the local account password, leave the field blank since the account doesn’t have a password.

After you complete the steps, you can start using your account using the proper folder name.

Change profile name with Registry on Windows 11

If you want to avoid creating a new account, transferring your files, and making other configurations, you may also be able to use the Registry to change the profile folder name. However, this is not recommended since you may experience unwanted behaviors.

To change the user profile folder name from Registry on Windows 11, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to enable the built-in Administrator account and press Enter:

    net user "Administrator" /active:yes

    Windows 11 enable admin account

  4. Sign out of the account to change the folder name.

  5. Sign in with the newly activated built-in Administrator account (you don’t need a password).

  6. Open Start.

  7. Search for Command Prompt and click the top result to open the app.

  8. Type the following command to determine the Security Identifier (SID) of the account to change the profile folder name and press Enter:

    wmic useraccount get name,SID

    Command Prompt SID

  9. Open Start.

  10. Search for regedit and click the top result to open the Registry.

  11. Browse the following path:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  12. Select the key showing the SID for the account to change the folder name.

  13. Right-click the ProfileImagePath and select the Modify option.

  14. Change the name for the user profile folder without altering the path.

    Registry change profile name

  15. Click the OK button.

  16. Open File Explorer (Windows key + E).

  17. Browse to the following path:

    C:\Users
  18. Right-click the folder profile and select the Rename option.

  19. Confirm the name for the folder exactly as you typed in the Registry key and press Enter.

    File Explorer change profile folder name

  20. Click the Continue button.

  21. Sign out of the built-in Administrator account.

  22. Sign in to the modified account.

  23. Open Start.

  24. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  25. Type the following command to deactivate the built-in Administrator account and press Enter:

    net user "Administrator" /active:no

After completing the steps, the account will be reflected in the new folder name. If applications point to the profile folder, you might need to update their settings with the new path.

Update May 19, 2024: This guide has been updated to ensure accuracy and reflect changes to the process.

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 15 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 21 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].