What you're actually changing when you rename a folder in File Explorer
When you open File Explorer and right-click on a user folder to rename it, you are changing only the display name of that folder — not your actual Windows username. Windows 10 keeps two separate identities for each user: the account name (what you log in with) and the folder name (what appears in File Explorer under C:\Users\). Renaming the folder in File Explorer does not change your login credentials, your email address, or how Windows recognizes your account.
This matters because some programs store files or settings using the original folder name. If you rename the folder after installing software, that software may not find your files where it expects them. For most people, renaming the folder is safe and causes no problems. But if you want to change your actual login username — the name you type when you start Windows — you need to use Settings or Control Panel instead, not File Explorer.
Key Takeaways
- Renaming a user folder in File Explorer changes only the display name, not your login username or account settings.
- Windows stores your account name separately from your folder name, so changing one does not automatically change the other.
- Programs installed before you rename the folder may not find your files if they were stored using the old folder name.
- To change your actual login username, use Settings or Control Panel, not File Explorer.
- Back up your files before renaming any user folder, because the process can cause programs to lose track of your data.
How to rename your user folder in File Explorer
Open File Explorer and navigate to C:\Users\. You will see a list of user folders, each named after a Windows account. Right-click on the folder with your username and select Rename from the menu. Type the new name you want and press Enter.
Windows will ask you to restart your computer for the change to take effect. Save your work, close all open programs, and restart. When you log back in, the folder name will have changed, but your login process and account settings remain the same.
If you cannot rename the folder — if the Rename option is grayed out or you get a permission error — it means you are currently logged into that account. Log out, log into a different administrator account, and then rename the folder. You cannot rename the folder of an account you are actively using.
What happens to your files and programs after you rename the folder
Your files stay in the renamed folder. Documents, Pictures, Downloads, and Desktop all move with the folder name change. You will still see them in the same places you always did.
Programs you installed before the rename may have trouble finding your files, because they were told to look in C:\Users\OldName\ and that path no longer exists. Microsoft Office, Adobe Creative Suite, and other major software usually handle this without issue. Smaller programs or older software sometimes do not. If a program stops finding your files after you rename the folder, you may need to reinstall it or manually point it to your new folder location.
Windows itself — your email, your photos app, your settings — will work normally. The folder rename does not break your Windows account or your login.
Why you might want to change your actual login username instead
If you want to change the name you type when you log into Windows, you need to change your account name, not just the folder name. This is a different process and requires you to go through Settings or Control Panel.
To change your login username in Windows 10, open Settings, go to Accounts, then select Your info. Click Manage my Microsoft account if you use a Microsoft account, or go to Change your account name if you use a local account. Follow the prompts to enter a new name. This change affects your login screen and your account identity across Windows, not just the folder in File Explorer.
Changing your actual account name is more thorough than renaming the folder, but it also carries more risk. If something goes wrong, it can affect your ability to log in. Renaming just the folder in File Explorer is safer because it only changes one thing.
Backing up your files before you rename anything
Before you rename your user folder, back up your important files to an external drive or cloud storage. If something goes wrong during the rename — a power loss, a crash, or a program conflict — you want your data somewhere safe.
You do not need to back up everything. Focus on Documents, Pictures, Downloads, and any folders where you keep work or personal files. Your program files and Windows system files do not need to be backed up for this task.
The backup takes 10 minutes to an hour depending on how much data you have. It is worth the time. Once the rename is complete and you have verified that your files and programs still work, you can delete the backup.
Troubleshooting: what to do if the rename fails or causes problems
If you renamed the folder and now a program cannot find your files, you have two options. First, try reinstalling the program. When you reinstall, it will create new file paths using your new folder name, and it should work normally. Second, you can manually navigate the program to your new folder location — open the program's settings or preferences, find the file location option, and point it to C:\Users\NewName\ instead of the old path.
If you cannot log into Windows after renaming the folder, restart your computer and log in with a different administrator account. From there, you can rename the folder back to its original name or troubleshoot the login issue. If you are locked out entirely, you may need to use Windows recovery tools or contact Microsoft support.
If File Explorer shows the folder as still having the old name even after you restarted, the rename did not complete. Log into a different account and try again. Make sure the account you are trying to rename is not currently in use.
Frequently Asked Questions
Will renaming my user folder change my Microsoft account email?
No. Your Microsoft account email stays the same. Renaming the folder in File Explorer changes only the display name of that folder on your computer. Your email, your password, and your account settings remain unchanged. If you want to change your Microsoft account email, you do that through the Microsoft account website, not through Windows.
Can I rename my user folder while I am logged into that account?
No. You must log out of the account first, then log into a different administrator account to rename the folder. Windows does not allow you to rename a folder that is currently in use. If you try, you will get a permission error.
What if I rename the folder and then want to change it back?
You can rename it back the same way you renamed it the first time. Open File Explorer, navigate to C:\Users\, right-click the folder, select Rename, type the old name, and press Enter. Restart your computer. There is no limit to how many times you can rename the folder.
Do I need to restart Windows after renaming the folder?
Yes. Windows will prompt you to restart. The restart is necessary for the system to fully recognize the new folder name and update all the paths that point to it. Do not skip the restart, or the change may not work correctly.
Will my passwords or login information change if I rename the folder?
No. Your password and login credentials are stored separately from your folder name. Renaming the folder does not affect how you log in or what password you use. You will still log in the same way you always did.