Windows stores your username in the C drive, and changing it requires access to your user account settings

Your username on Windows lives in the C drive — that is where your user folder, files, and account settings are stored. To change it, you go into Settings or Control Panel, find your account, and update the display name. The process takes about five minutes and does not require restarting your computer, though some changes take effect the next time you log in.

The steps differ slightly depending on whether you are using Windows 10 or Windows 11, and whether your account is a local account or a Microsoft account. A local account is one you created on just this computer. A Microsoft account is tied to your email address and syncs across devices. Both can be changed, but the method is not identical.

Key Takeaways

  • Windows 10 and Windows 11 both let you change your username through Settings, and the change takes effect when ready for most purposes.
  • If you use a Microsoft account, you change the display name in Settings; if you use a local account, you change it in Control Panel or Settings depending on your Windows version.
  • Your old username folder on the C drive does not rename automatically — Windows creates a new folder for your account but may keep the old one, which you can delete manually if needed.
  • Changing your username does not affect your files, passwords, or installed programs, as long as you change the account name itself and not just the display name.

Changing your username in Windows 10

Open Settings by pressing the Windows key and typing "Settings," then click the app. Go to Accounts on the left side, then click Your Info at the top. You will see your current username displayed. Click the Rename your PC button if you want to change the computer name itself, or click Manage your Microsoft account if you want to change your account name.

If you have a Microsoft account, you will be taken to the Microsoft account website in your browser. Click Edit name, change the name in the fields provided, and click Save. If you have a local account, go back to Settings, click Accounts, then click Other people. Find your account in the list, click it, then click Rename. Type the new name and press Enter.

Changing your username in Windows 11

Open Settings by pressing the Windows key and typing "Settings." Click Accounts on the left, then click Your info. You will see your current account name and picture. Click Rename your account. Type the new name in the box and click Next, then Finish.

This method works for both local and Microsoft accounts in Windows 11. The change takes effect when ready, though you may see your old username in File Explorer or other places until you restart your computer. If you want to change the name associated with your Microsoft account across all your devices, you can also go to account.microsoft.com, sign in, and edit your profile name there.

What happens to your C drive folder after you change your username

When you change your username, Windows does not automatically rename your user folder on the C drive. Your files stay in the old folder — for example, if your old username was "JohnSmith" and your new one is "John," your files remain in C:\Users\JohnSmith. Windows still knows how to find them because it tracks the account by a hidden identifier, not by the folder name.

You can rename the folder manually if you want it to match your new username. Right-click the old folder in File Explorer, click Rename, type the new name, and press Enter. Windows will ask for permission; click Continue. If you get an error saying the folder is in use, restart your computer and try again. Renaming the folder does not affect your files or programs — it is purely cosmetic.

If you prefer to leave the old folder as is, there is no harm in doing so. Many people keep it unchanged to avoid any chance of breaking a program that looks for files in the old location, though modern Windows handles this well.

The difference between changing your display name and your account name

Windows lets you change two different things, and it is important to know which one you are changing. Your display name is what appears on the login screen and in the Start menu — it is purely cosmetic and does not affect how Windows stores your files or runs programs. Your account name is the actual username Windows uses internally, and it is tied to your user folder on the C drive.

If you only change the display name, your C drive folder keeps its old name, and your username in the command line or system settings stays the same. If you change the account name itself, the internal username changes, though the C drive folder does not rename automatically. For most people, changing the display name is enough — it is what you see every day. Change the account name only if you have a specific reason, such as removing special characters that cause problems with certain programs.

Troubleshooting: what to do if you cannot change your username

If you are using a Microsoft account and the rename button does not appear, you may not have permission to change it. Sign in to your Microsoft account at account.microsoft.com and try changing your name there instead. If that does not work, your account may be managed by an organization — check with your IT department or the person who set up your computer.

If you are using a local account and the rename option is grayed out, you may not be logged in as an administrator. Right-click Settings and click Run as administrator, then try again. If you still cannot change it, your account may have restrictions set by a parent or organization. Check Settings > Accounts > Other people to see if your account is listed as a child account or managed account.

If you changed your username but it did not take effect, restart your computer. Some programs cache the old username in memory, and a restart clears that cache. If you renamed your C drive folder and now a program cannot find its files, you can rename the folder back to the original name — Windows will recognize it again when ready.

Frequently Asked Questions

Will changing my username delete my files or programs?

No. Your files stay in the same place on the C drive, and Windows knows where to find them regardless of what your username is. Installed programs continue to work because they are stored separately and do not depend on your username. Only the display name changes — everything else stays the same.

Can I change my username if I forgot my password?

You need to be logged in to change your username. If you forgot your password, you will need to reset it first. On the login screen, click I forgot my password and follow the recovery steps. Once you are logged in, you can change your username.

What if I want to change the computer name instead of my username?

The computer name and your username are different things. To change the computer name, go to Settings > System > About, then click Rename this PC. The computer name is what appears in File Explorer and on your network — changing it does not affect your user account or files.

Do I need to restart my computer after changing my username?

You do not have to restart when ready, but some programs and File Explorer may still show your old username until you do. If you renamed your C drive folder, restart to make sure all programs can find their files without trouble.

Can I change my username if my account is managed by my workplace or school?

Managed accounts often have restrictions that prevent you from changing your username. Contact your IT department or administrator to see if they can change it for you or if they can grant you permission to change it yourself.