How to rename user folder in Windows 10

how to change user folder name in Windows 10In Windows 10 your user folder stored in C:\Users may have some strange shortened name when you use Microsoft account to login. In this tutorial there are ways to rename user folder to whatever you’d like. There are 2 methods described: first is for Windows 10 Pro and Enterprise and the second one is for Windows 10 home versions.

How to change the name of user folder in Windows 10 Pro and Enterprise

First, you need to create administrator account other than the one you’re renaming the folder for. The easiest way to do so is to enable existing hidden Administrator account in Windows 10:

  1. Right-click Start button and run Command Prompt (admin) from context menu
  2. In Command Prompt enter: net user Administrator /active:yes and hit Enter. Enable Windows 10 Administrator account
  3. Once finished, close Command Prompt and restart your PC.
  4. On Login screen you’ll see new Administrator account available. Log into it. No password is required by default.
  5. After logged in, right-click start button and run “Computer Management”
  6. Open “Local Users and Groups” — “Users” in computer management, then right-click on the user you’re going to rename a folder for. Choose “rename” from context menu and set desired name for it. Rename Windows 10 User folder in Computer management
  7. Exit computer management console then go to C:\Users\ and rename your user folder to the same name you did previously. Change user folder name in explorer
  8. Hit Windows+R buttons on your keyboard and enter regedit into Run dialog box and hit Enter.
  9. Go to HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ ProfileList entry in Windows 10 registry and find subkey for your user account (look for ProfileImagePath value in the right pane).
  10. Double-click ProfileImagePath key and change its value to the new folder path. Change user folder path in regedit

That’s it. Now close the registry editor, logout of Administrator account and log in with your default account. The user folder now renamed and works as it did before.

To disable no longer necessary Admin account use following command in elevated command prompt: net user Administrator /active:no

Renaming user folder in Windows 10 Home

For Windows 10 home versions the steps will be almost the same as described above except the following:

  • You shouldn’t take steps 5 and 6.
  • After step 10 in registry editor’s left pane select “Computer” then go to menu: Edit — Find and search for old user folder name in the whole registry, changing it to the new one where found.

That should work fine.

Leave a comment