The Two Ways to Change Your Username
Windows 11 gives you two separate ways to change your username, and which one you use depends on what you want to change. The account name — what appears on the sign-in screen and in the top-right corner of your taskbar — changes through Settings. The user folder name — the actual folder on your hard drive where your files live — requires a different process and cannot be changed after the account is created. Most people only need to change the account name, which takes about two minutes.
Before you start, sign in with an administrator account. If you are the only person on the computer, your account is already an administrator. If you share the computer, ask whoever set it up to confirm your account has administrator rights, or you will not be able to make changes.
Key Takeaways
- The account name (what shows on the sign-in screen) changes in Settings under Accounts, and takes effect when ready.
- The user folder name on your hard drive cannot be changed after the account is created — you would need to create a new account if this matters to you.
- You must be signed in with an administrator account to change your username.
- Changing your account name does not affect your files, passwords, or installed programs.
Changing Your Account Name in Settings
Open Settings by pressing the Windows key and typing "settings", then click the Settings app. Go to Accounts in the left sidebar, then click Your info at the top. You will see your current account name displayed under a profile picture. Click the button that says Rename your account.
A dialog box will appear with your current name highlighted in a text field. Delete the old name and type the new one. You can use letters, numbers, spaces, and most punctuation marks. Click Next, then Finish. The change takes effect when ready — you will see the new name in the top-right corner of your taskbar right away. You do not need to restart your computer.
What Happens to Your Files and Programs
Changing your account name does not touch your files, passwords, or installed programs. Everything stays exactly where it is. Your Documents, Pictures, Desktop, and Downloads folders remain in the same place on your hard drive. Any programs you have installed will still work. Your Microsoft account password, Wi-Fi passwords, and any saved passwords in your browser do not change.
The only thing that changes is the name that appears when you sign in and in the Settings app. If you have shared folders or shared printers on your network, other computers will still see your old folder name — changing your account name does not update network shares automatically, though you can update those manually if you need to.
If You Need to Change Your User Folder Name
The folder on your hard drive where Windows stores your files (usually something like C:\Users\YourName) is set when you create the account and cannot be changed through Settings. If you need a different folder name, you have two options: create a new account with the name you want, or use the command line to rename the folder manually — a process that requires disabling your account temporarily and is straightforward to break.
For most people, creating a new administrator account is simpler and safer. Go to Settings > Accounts > Other users, click Add account, and follow the steps to create a new local account or sign in with a Microsoft account. Once the new account is set up and you have moved your files to it, you can delete the old account. Windows will ask whether to keep or delete the files in the old account's folder.
Changing Your Account Name on a Microsoft Account
If you sign in with a Microsoft account (one that uses an email address), changing your account name in Windows Settings only changes the display name — the name that shows on your computer. Your actual Microsoft account email address stays the same, and that is what you use to sign in.
To change the email address itself, you need to go to account.microsoft.com, sign in, and change it there. That change can take a few hours to show up on your computer. If you want to change just the display name (what shows on your Windows sign-in screen), the Settings method above works the same way.
Troubleshooting: Name Change Did Not Work
If you clicked Rename but nothing happened, you probably do not have administrator rights. Go to Settings > Accounts > Other users and check whether your account says "Administrator" next to it. If it says "Standard user", ask an administrator to change your account type, or create a new administrator account.
If you see an error message saying the name is already in use, Windows is telling you another account on the computer already has that name. Choose a different name. If the rename button is grayed out or missing, restart your computer and try again — sometimes Settings needs a refresh.
What You Cannot Do When Renaming
You cannot use certain characters in your account name: the forward slash (/), backslash (\), colon (:), asterisk (*), question mark (?), quotation mark ("), less-than sign (<), greater-than sign (>), or pipe (|). Windows will not let you type these. You also cannot name your account "Administrator" or "Guest" — those are reserved names.
The name can be up to 20 characters long. Spaces are allowed, so "John Smith" works fine. If you try to use a forbidden character, Windows will show an error and ask you to pick a different name.
Frequently Asked Questions
Will changing my username log me out?
No. The change takes effect when ready while you are still signed in. You will see the new name in your taskbar right away, and you stay signed in the whole time. The next time you restart your computer, you will sign in with the new name.
Can I change my username back to what it was before?
Yes. Go back to Settings > Accounts > Your info and click Rename your account again. Type the old name and click Finish. There is no limit to how many times you can change it.
Does changing my username affect my Microsoft account?
Only the display name changes on your computer. Your Microsoft account email address (the one you use to sign in) stays the same. If you want to change the email address itself, you need to do that at account.microsoft.com, not in Windows Settings.
What if I forgot my administrator password?
You cannot change your account name without signing in as an administrator. If you forgot the password, you will need to reset it through the sign-in screen (click "I forgot my password" and follow the recovery steps) or have another administrator on the computer change your account type.