TechBuzzPro

Rename User Home Folder Windows 11

· 4 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can rename a user home folder in Windows 11, but it requires changing both the user profile folder name and the associated user account settings. This process is not supported through the standard Settings app and must be done manually using File Explorer, Command Prompt, and System Properties. Doing it incorrectly can break app links, settings, and permissions, so a backup and administrator access are essential.

What You'll Need

  • Administrator account access (separate from the account being renamed)
  • Backup of the user’s data (to prevent data loss)
  • Access to Command Prompt as an administrator
  • Sign-in to a different administrator account (not the one being renamed)

Step-by-Step

  1. Sign in to Windows 11 using an administrator account that is not the one whose home folder you want to rename. This is required because the target user profile must not be loaded during the process.
  2. Open File Explorer and navigate to C:\Users. This is where all user home folders are stored. Locate the folder you want to rename (e.g., OldName).
  3. Right-click the folder and select Properties. Go to the Security tab, click Edit, and ensure your current admin account has full control. If not, add your account and grant Full control, then apply the changes.
  4. Close all open programs. Press Windows + X, choose Command Prompt (Admin) or Windows Terminal (Admin), and confirm the prompt.
  5. In the command window, type net user and press Enter to list all user accounts. Confirm the username you’re changing (e.g., OldName).
  6. Type the following command to rename the folder, replacing names as needed:
    ren C:\Users\OldName C:\Users\NewName
    Press Enter. If you get 'Access is denied', ensure no files are open and the user is not logged in.
  7. After the folder is renamed, press Windows + R, type sysdm.cpl, and press Enter to open System Properties.
  8. Go to the Advanced tab and click Settings under User Profiles.
  9. In the User Profiles window, select the profile for NewName (it may still show the old path), then click Change Type or Copy To if needed. However, Windows does not let you directly change the profile path here.
  10. Press Windows + R, type regedit, and press Enter to open the Registry Editor. Back up the registry first by clicking File > Export.
  11. Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  12. Under ProfileList, look through each subkey (long strings) for one where the ProfileImagePath value points to C:\Users\OldName. Double-click ProfileImagePath and change it to C:\Users\NewName.
  13. Close Registry Editor. Restart the computer.
  14. After reboot, sign in with the renamed user account. The home folder should now reflect the new name, and all personal files should be intact.
  15. Test access to Desktop, Documents, Downloads, and AppData to ensure everything loads correctly.

Common Mistakes

  • Renaming the folder while the user is signed in, which locks files and causes access errors.
  • Forgetting to update the ProfileImagePath in the registry, leaving the system pointing to the old path.
  • Not granting full permissions to the admin account before renaming, leading to 'Access denied' errors.
  • Using the Settings app to rename the Microsoft account display name, which does not affect the folder name.
  • Typing the wrong path in the registry, which can corrupt the user profile.

Tips

  • Create a restore point before starting: Open Control Panel > Recovery > Configure System Restore > Create.
  • Use simple, single-word names without spaces or special characters (e.g., 'John' instead of 'John Doe') to avoid path issues.
  • After renaming, check environment variables by typing echo %USERPROFILE% in Command Prompt to confirm it points to the new path.
  • If apps fail to launch, reset their settings or reinstall them, as some store absolute paths to the old profile.
  • Consider creating a new user account with the desired name and migrating data instead, which is safer for most users.

Troubleshooting

If the user can’t sign in after renaming, boot into Safe Mode with Networking using a system restore point or another admin account. First, verify the folder name matches the registry path exactly. If the registry entry is incorrect, re-open regedit and correct the ProfileImagePath. If the folder was renamed but the profile fails to load, restore from backup or use System Restore to revert changes. If apps misbehave, clear their cache or reset them via Settings > Apps > Installed apps. If file permissions are broken, right-click the new folder, go to Properties > Security > Advanced, and reset ownership to the user.

Frequently Asked Questions

Can I rename the home folder through Settings?

No. Windows 11 Settings only lets you change the display name, not the actual folder name in C:\Users.

Will renaming the folder delete my files?

No, if done correctly. Renaming moves the folder structure intact, but always back up first in case of errors.

Why do I need another admin account?

The user profile must be unloaded during the rename. You can’t modify a folder while it’s in use by a logged-in session.

What if I get 'Access is denied'?

Ensure no programs are using files in the folder, you’re not signed in as that user, and your admin account has full permissions on the folder.

Do I need to update environment variables?

No. Windows updates them automatically if the registry ProfileImagePath is correct. Verify with echo %USERPROFILE%.

Is there a safer alternative?

Yes. Create a new user with the desired name, sign in, then copy data from the old profile. This avoids registry and system risks.