How to Rename the User Folder on Windows

Download Article
A detailed guide on changing the name of the user folder for Windows
Download Article

While it's technically possible to change your user folder name, this change can render many of your applications and possibly your entire user profile unusable. If you need to change your user folder's name, follow our guide to learn how to create a new local account and link it to your current Microsoft account.

Method 1
Method 1 of 2:

Creating a New User Profile Account

Download Article
  1. How.com.vn English: Step 1 Back up
    your Windows account. This method involves creating a new Windows user account and deleting your old account. Once you sign in to the new account with your Microsoft account, all your Windows settings and app purchases will sync with the new account. However, it is recommended that you create a backup of your old account and save any important files you want to keep before you begin.
    • You can save all your important files to an external hard drive, flash drive, or you can use a cloud-based service such as OneDrive, Google Drive, or Dropbox.
    • Most apps that are manually installed on Windows (i.e. through a ".exe" or ".msi" file) should still be installed on your new account. However, you may need to reenter the license number in order to access them.
  2. How.com.vn English: Step 2 Create a new local user account.
    Make sure you name the new account whatever you want the user folder to be named. Do not sign in to your Microsoft account just yet. Use the following steps to create a new local user account:[1]
    • Click the Windows Start icon.
    • Click the Settings icon.
    • Click Accounts.
    • Click Family & other users in the menu panel to the left.
    • Click Add someone else to this PC below "Other users."
    • Click I don't have this person's Sign-in information.
    • Click Add new user without a Microsoft account..
    • Enter a new user name (make sure it's the name you want the user folder to be named).
    • Enter and re-enter the user password and click Next.
    • Select a password hint or security question and click Next.
    Advertisement
  3. How.com.vn English: Step 3 Make the new account an administrative account.
    Use the following steps to make the new account you just created an administrative account.
    • Click the Windows Start icon.
    • Click the Settings icon.
    • Click Accounts.
    • Click Family & other users in the menu panel to the left.
    • Click the account you just created below "Other users."
    • Click Change account type below the account.
    • Click Administrative below "Account type" and click Ok.
  4. How.com.vn English: Step 4 Sign out of your account.
    Use the following steps to sign out of your user account.
    • Click the Windows Start icon.
    • Click your user profile icon.
    • Click Sign Out.
  5. How.com.vn English: Step 5 Sign in to your new account.
    Use the following steps to sign in to your new user account.
    • Click and drag up on the sign-in screen.
    • Click your new user profile in the lower-left corner.
    • Enter your user password and press Enter to log in.
  6. How.com.vn English: Step 6 Delete your old user account.
    As long as there is another user with your Microsoft account on your computer, you will not be able to sign in to the new account with your Microsoft account. Use the following steps to delete your old account:
    • Click the Windows Start icon.
    • Click the Settings icon.
    • Click Accounts.
    • Click Family & other users in the menu panel to the left.
    • Click your old account below "Other users."
    • Click Remove below your account.
  7. How.com.vn English: Step 7 Sign in with your Microsoft account.
    Make sure you use the same Microsoft account you used with your old account. When you sign in with your Microsoft account, your software purchases and Windows settings will sync with your new account. You will need to download all your software and apps again, but this is the safest way to change your user folder name and make sure everything still works. Use the following steps to sign in to your Microsoft account.:
    • Click the Windows Start icon.
    • Click the Settings icon.
    • Click Sign in below your user profile name at the top.
    • Enter the email address and password associated with your Microsoft and/or Outlook account and click Next.
  8. Advertisement
Method 2
Method 2 of 2:

Editing the ProfileImagePath Key in Registry Editor

Download Article
  1. How.com.vn English: Step 1 Understand the risks.
    Many applications and settings in Windows 10 rely on the correct name of the user folder in order to access data. Changing the user folder name may render many programs inoperable or render your entire user account unusable. It may be best to avoid this method unless you really know what you are doing. Continue at your own risk.
  2. How.com.vn English: Step 2 Create a system restore point.
    Creating a restore point saves the exact state of your operating system and data. Do this before making any major changes to your system. That way if things go wrong, you can perform a system restore and restore your user profile back to its current state. Use the following steps to create a restore point:
    • Click the Windows Start icon.
    • Type "Create a restore point" and click Create a restore point.
    • Select your Windows installation drive (usually C:) and click Create.
    • Click Configure.
    • Click the radio option next to "Turn on system protection and click Apply.
    • Click Ok
    • Click the Windows Installation drive and click Create.
    • Type a name for the system restore point and click Create.
    • Click Close.
  3. How.com.vn English: Step 3 Back up
    your important data. Just to be safe, you might also want to back up all the important files and data before you begin. You can back up your data using an external hard drive, USB drive, or a cloud service like OneDrive, Google Drive, or Dropbox.
  4. How.com.vn English: Step 4 Open the Command Prompt icon as an administrator.
    The Command Prompt has an icon that resembles a black screen with a white text cursor. Use the following steps to open the Command Prompt as an administrator:
    • Click the Windows Start icon.
    • Type "cmd"
    • Right-click the Windows Command Prompt icon and click Run as Administrator.
    • Click Yes when prompted.
  5. How.com.vn English: Step 5 Get the SID value for your user account.
    If you have multiple users on your computer, you will need to use the following steps to get the SID value for your user account.
    • Type wmic useraccount list full and press Enter.
    • Find your username next to "FullName," or your user folder name next to "Name."
    • Write down the full number next to "SID".
  6. How.com.vn English: Step 6 Activate the Administrator account.
    You can activate the administrator account inside the Administrator Command Prompt. With the Command Prompt window still open type net user Administrator /active:yes and press Enter to activate the Administrator account.[2]
  7. How.com.vn English: Step 7 Sign out of your account.
    Use the following steps to sign out of your user account:
    • Click the Windows Start icon.
    • Click your user profile icon.
    • Click Sign Out.
  8. How.com.vn English: Step 8 Log in to the Administrative account.
    The Administrator account doesn't require a password to sign into it by default. Use the following steps to log in to the Administrative account:
    • Click and drag up on the sign-in screen.
    • Click Administrator in the lower-left corner.
    • Click Sign In.
  9. How.com.vn English: Step 9 Open the Command Prompt icon as an administrator.
    The Command Prompt has an icon that resembles a black screen with a white text cursor. Use the following steps to open the Command Prompt as an administrator:
    • Click the Windows Start icon.
    • Type "cmd"
    • Right-click the Windows Command Prompt icon and click Run as Administrator.
    • Click Yes when prompted.
  10. How.com.vn English: Step 10 Navigate to the user folder.
    To navigate to the user folder using the Command Prompt, simply type cd c:\users and press Enter. It should then say "C:\Users>" next to the text prompt.
  11. Step 11 Type ren "[old folder name]" "[new folder name]" and press ↵ Enter.
    Replace "[old folder name]" with the name of the folder you want to change. Then replace "[new folder name}" with the name you want to change it to. This command changes the name of the user folder.
    • If either the older or new folder name has a space in it, you will need to put the folder name in quotation marks (" ").
  12. How.com.vn English: Step 12 Open the Registry Editor as an Administrator.
    To do so, click the Windows Start icon and type regedit. Then right-click the Registry Editor icon and click Run as Administrator.
  13. How.com.vn English: Step 13 Navigate to the ProfileList in Registry Editor.
    Use the panel to the left to navigate to ProfileList folder. Use the following steps to navigate to the ProfileList folder in Registry Editor:[3]
    • Expand KEY_LOCAL_MACHINE.
    • Expand SOFTWARE.
    • Expand Microsoft.
    • Expand WindowsNT.
    • Expand Currentversion.
    • Expand ProfileList.
  14. How.com.vn English: Step 14 Click the folder with the correct user SID.
    Match the folder name with the user SID you wrote down in a previous step. Click that folder to open it.
  15. How.com.vn English: Step 15 Double-click ProfileImagePath.
    This opens the ProfileImagePath key.
  16. How.com.vn English: Step 16 Change the value data to match the new folder name and click Ok.
    The space below "Value data" displays the path of the user folder. Replace the old folder name at the end of the path with the new folder name and click Ok.
    • Make sure the spelling and capitalization match the new folder name exactly.
  17. How.com.vn English: Step 17 Restart your computer.
    Click the Windows Start icon and then click the power icon. Click Restart. Once you restart your computer, you can log back into your account and check the user folder. It should have the name you selected.
  18. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      Warnings

      • Warning: Changing the user folder in Registry Editor may render many programs inoperable and your user profile unusable. Do so at your own risk.
      • If you don't edit ProfileImagePath from the Registry Editor after renaming the user folder, your user account's name will be automatically reverted back to its old name.
      Advertisement

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about windows, check out our in-depth interview with Michael Thompson-Brown.

      About This Article

      How.com.vn English: Michael Thompson-Brown
      Written by:
      Cybersecurity Expert
      This article was written by Michael Thompson-Brown and by How.com.vn staff writer, Travis Boylls. Michael Thompson-Brown is a Cybersecurity Expert based in Portland, Maine. He is the owner and founder of PCRescue!, a company that provides cybersecurity and data management solutions to small businesses and individuals. Michael has over 25 years of experience in the IT industry and is a certified ethical hacker. He is passionate about helping clients protect their data and systems from malicious attacks and helping them optimize their online presence and reach. He received a Master’s degree in Cybersecurity and Information Assurance from Western Governors University, and a Bachelor’s degree in Business Administration from the University of Phoenix. This article has been viewed 56,688 times.
      How helpful is this?
      Co-authors: 7
      Updated: March 26, 2024
      Views: 56,688
      Categories: Windows
      Article SummaryX

      1. Back up your account.
      2. Create a new local account without signing into your Microsoft account.
      3. Make the new account an administrative account.
      4. Sign out of your old account and sign into the new one.
      5. Delete the old account.
      6. Sign in to your Microsoft account under the new account.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 56,688 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement