The quickest way to change your username
Open Settings, go to Accounts, select Your info, and click the "Rename your PC" button. Type your new username and restart your computer. Windows 10 will update your account name across all your files, email, and programs in the background — you do not need to reinstall anything or log in differently.
The whole process takes about five minutes plus restart time. Your old files stay where they are, your programs keep working, and you stay logged in to the same Microsoft account (if you have one). The only thing that changes is the name Windows displays for your user profile.
If you cannot find the "Rename your PC" button, or if you get an error message, the alternative method using Settings > Accounts > Your info > "Manage my Microsoft account" works on every version of Windows 10. That route takes a few extra steps but handles edge cases where the direct rename fails.
Key Takeaways
- The Settings app is the fastest way to change your username — no command line or administrator tools needed.
- Your files, programs, and Microsoft account stay intact; only the display name changes.
- Windows 10 requires a restart to explore the change, but you can save your work first.
- If the direct rename button does not appear, you can change your username through your Microsoft account settings instead.
Step-by-step: Using the Settings app
Press the Windows key and type "Settings" to open the Settings app, or click the gear icon in your Start menu. Once Settings opens, click "Accounts" in the left sidebar — it is the fourth option down, with a person icon next to it.
Click "Your info" at the top of the Accounts menu. You will see your current username displayed under "Who's using this PC right now?" Below that, you should see a blue button labeled "Rename your PC." Click it, type your new username in the box that appears, and click "Next."
Windows will ask you to restart your computer to finish the change. Click "Restart now" if you have saved your work, or "Restart later" if you need more time. When your computer restarts, your new username will be active. You can verify the change by opening Settings > Accounts > Your info again.
What happens to your files and programs
Your username change does not move, delete, or lock any of your files. Documents, photos, downloads, and desktop items all stay in the same folders. Programs you installed continue to work without reinstalling. Your email, browser bookmarks, and saved passwords remain accessible.
Windows updates the file path behind the scenes. If you ever need to know your old username for troubleshooting, you can find it in File Explorer by navigating to C:\Users — both the old and new folder names may appear there temporarily, but Windows handles the transition automatically.
If the rename button does not appear
Some versions of Windows 10 or certain account setups hide the "Rename your PC" button. If you do not see it, click "Manage my Microsoft account" instead. This opens your Microsoft account page in a web browser, where you can change your display name under "Your info" or "Account settings."
The Microsoft account change takes effect the next time you restart or log out and back in. It may take a few minutes to sync across your devices if you use the same account on multiple computers. If you are using a local account (not a Microsoft account), you will need to use the command line method instead — right-click Command Prompt, select "Run as administrator," and type wmic useraccount where name="oldusername" rename newusername, replacing the names with your actual usernames.
Changing your display name versus your username
Windows 10 actually has two separate names: your username (the folder name in C:\Users and what appears in the command line) and your display name (what shows on the sign-in screen and in Settings). The Settings method changes both at once, which is what most people want.
If you only want to change how your name appears on the sign-in screen without changing the folder name, you can do that through Settings > Accounts > Your info > "Manage my Microsoft account." That changes only the display name. The folder in C:\Users stays the same, which is useful if you have programs or scripts that reference the old folder path.
Troubleshooting common problems
If you get an error saying "You do not have permission to rename this PC," you are probably logged in with a standard account instead of an administrator account. Ask whoever set up the computer to change the username, or switch to an administrator account first by going to Settings > Accounts > Other users and promoting your account to administrator.
If the rename appears to work but the change does not show up after restart, restart again — sometimes Windows needs two restarts to fully explore the change. If the problem persists, use the Microsoft account method instead, which is more reliable on older Windows 10 builds.
If you renamed your account but now a program says it cannot find a file or folder, the program is looking for the old username in the file path. Reinstalling that program usually fixes it, or you can manually update the file path in the program's settings if it has that option.
Frequently Asked Questions
Will changing my username log me out of my Microsoft account?
No. Your Microsoft account stays connected to your computer. You remain logged in to Outlook, OneDrive, Microsoft Store, and any other services linked to that account. Only the local Windows username changes.
Can I change my username without restarting?
No, Windows 10 requires a restart to explore the username change. You can save your work and close programs first, then restart when you are ready. The restart usually takes two to five minutes.
What if I share this computer with other people?
Each person has their own username and account. Changing your username does not affect anyone else's account, files, or settings. Other users will see their own usernames when they log in.
Can I change my username back to the old one?
Yes, use the same Settings method to change it back. Open Settings > Accounts > Your info, click "Rename your PC," type your old username, and restart. Windows treats it as a new rename, not an undo.
Does changing my username affect my password?
No. Your password stays the same. You log in with the same password you used before; only the username displayed changes. If you use a Microsoft account, your password is tied to that account, not to the local username.