TechBuzzPro

How to Change Windows 11 Username and C: Users Folder Name

· 5 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

You can safely change your Windows 11 username and the name of the C:\Users folder, but only by creating a new local account with the desired name and migrating your data, or by renaming the folder from a separate administrator account after renaming the user. Windows does not provide a supported one-click rename for the C:\Users folder, and editing it while the account is in use can break your profile. The safest route is to create a new local account with the name you want, copy your files over, and then remove the old account. If you only need the display name changed (the name shown on the sign-in screen and Start menu), that is a simpler separate step covered below.

What You'll Need

  • Administrator access to the Windows 11 PC.
  • Enough free disk space to copy your user files (or an external drive for backup).
  • A second administrator account you can sign in with while the target account is signed out.
  • Your important files backed up, because profile changes can go wrong.

Step-by-Step

  1. Back up your data first. Copy the contents of C:\Users\YourOldName (Desktop, Documents, Pictures, Downloads and so on) to an external drive or another folder. Do not skip this; if a profile step fails, this is your recovery path.
  2. Change the display name (optional but easy). Sign in with an administrator account, open Settings > Accounts > Your info, and use the option to rename your account if you are signed in with a local account. For a Microsoft account, the display name is changed on the Microsoft account website, not in Windows. This changes the name shown on the sign-in screen but does not rename C:\Users.
  3. Create a new local administrator account with the name you want. Open Settings > Accounts > Other users, choose Add account, then choose the option for a local account (the wording varies by version) and set the username exactly as you want the folder to appear. Give it administrator rights. Note that labels can differ slightly by Windows 11 version and region.
  4. Sign out of the old account and sign in to the new one. Windows creates a fresh profile folder at C:\Users\NewName. Let it finish setting up the desktop before you continue.
  5. Copy your files from the old profile to the new one. Open File Explorer, go to C:\Users\OldName, and copy the contents of your personal folders into the matching folders in C:\Users\NewName. Sign back in to the old account only if you need to export app-specific data.
  6. Reinstall or reconfigure apps as needed. Some applications store settings per profile. Sign in to the new account and set up the apps you use; many will pick up your copied documents automatically.
  7. Remove the old account when you are satisfied. Sign in with the new administrator account, open Settings > Accounts > Other users, select the old account and choose Remove. This deletes the old profile folder from C:\Users, which is the safe way to get rid of the old folder name. Make sure your files are copied or backed up before you do this.
  8. If you must rename the folder directly, do it only from another administrator account. Sign out of the account whose folder you want to rename, sign in as a different administrator, open File Explorer, navigate to C:\Users, and rename the folder. Then you must also update the profile path in the registry under ProfileList so Windows points to the new folder. This is an advanced step and a mistake here can prevent sign-in, so only attempt it with a full backup and a recovery plan.

Common Mistakes

  • Renaming C:\Users\YourName while signed in to that account. Windows locks the profile folder, and forcing the rename can corrupt the profile.
  • Assuming changing the display name also changes the folder. It does not; the folder name is fixed when the profile is created.
  • Deleting the old account before copying files. Removing the account deletes its profile folder and everything inside it.
  • Editing the registry ProfileList entry without matching the actual folder name, which can leave you unable to sign in.
  • Using a Microsoft account name change expecting the local folder to follow. The folder stays as it was created.

Tips

  • Use a short, simple username with no spaces or special characters; it becomes the folder name and some older apps handle it better.
  • Keep the old account around for a few days after migrating so you can retrieve anything you missed.
  • Create a system restore point before touching the registry or renaming folders.
  • If you only care about the sign-in screen name, change the display name and leave the folder alone; it is far lower risk.

Troubleshooting

If Windows signs you in to a temporary profile after a rename, sign out and back in, then check that the ProfileList registry entry matches the folder name exactly. If you cannot sign in at all, boot into Safe Mode or use another administrator account to restore the folder name and registry value. If apps cannot find your files, confirm the files were copied into the new profile's folders rather than left in the old one. If the old account will not remove because it is the only administrator, create or promote another administrator first. If File Explorer refuses to rename the folder, you are almost certainly signed in to that account or a process still has a file open; sign out of the account and retry from a different administrator account.

Frequently Asked Questions

Can I rename C:\Users\MyName without creating a new account?

Not safely through normal Windows settings. The supported approach is a new account or an advanced registry-assisted rename from another administrator account with a backup in place.

Does changing my Microsoft account name change the C:\Users folder?

No. The folder name is set when the profile is created and does not follow later display-name changes.

Will I lose my files if I delete the old account?

Yes. Removing an account deletes its profile folder, so copy anything you need to the new profile or a backup first.

Why does Windows sign me in to a temporary profile?

Usually because the profile folder name and the registry entry no longer match. Restore the correct name or registry value, then sign in again.

Is it safe to rename the folder from another administrator account?

It can work, but it is an advanced change that can block sign-in if the registry is not updated to match. Back up first and keep a second administrator account available.