A practical guide to changing the name shown on the sign-in screen, renaming a local Windows account, and understanding why the folder under C:\Users usually does not change.
To change the username shown in Windows, first determine what type of account you use. A Microsoft account uses an online profile name, while a local account can be renamed directly inside Windows.
Change the display name on the Microsoft account website. Windows will update the shown name after the account information syncs.
Online ProfileUse Control Panel, netplwiz, PowerShell, or Computer Management to rename the local account.
If you want a different C:\Users\Name folder, the safest approach is to create a new account and move your data.
C:\Users.
Many Windows users say βchange username,β but Windows can show several different names. Changing the wrong one may not produce the result you expect.
| Name Type | Where You See It | How to Change It | Does C:\Users Change? |
|---|---|---|---|
| Microsoft account display name | Sign-in screen, Start menu account menu, Microsoft services | Edit the name in your Microsoft account profile | No |
| Local account username | Sign-in screen, Control Panel, net user, account management tools |
Control Panel, netplwiz, PowerShell, or Computer Management |
No |
| Profile folder name | C:\Users\OldName, file paths, app data paths |
Safest: create a new account with the desired name and move data | Yes, only for the new profile |
| Computer name | Network, device list, sharing, Remote Desktop | Settings > System > About > Rename this PC | No |
C:\Users\OldName in File Explorer. Programs, shortcuts, services, scheduled tasks, registry entries, and app settings may still point to the old path.
Renaming a user is usually safe when you only change the visible account name. Problems are more likely when you try to change the profile folder path or rename an account used by services, scripts, mapped drives, or corporate policies.
If you sign in to Windows with a Microsoft account, the name shown on the sign-in screen comes from your online Microsoft profile. Change it online instead of trying to rename the Windows profile folder.
For a local Windows account, Control Panel is the simplest method. It changes the account name displayed by Windows, but it does not rename the existing user profile folder.
Win + R.control and press Enter.The netplwiz tool opens the classic User Accounts dialog. It is useful when Control Panel does not show the option you need, or when you want to edit both the user name and full name fields.
Win + R.netplwiz and press Enter.PowerShell is a clean way to rename a local user account. It is especially useful for administrators, remote maintenance, and repeatable instructions.
Get-LocalUser
Then rename the account by replacing OldName and NewName:
Rename-LocalUser -Name "OldName" -NewName "NewName"
After running the command, sign out and sign in again. If you use the old username in scripts, scheduled tasks, or mapped drive credentials, update those references manually.
Computer Management provides a graphical way to rename local users, but Local Users and Groups is normally available on Windows Pro, Enterprise, and Education editions. It is not the standard account-management tool on Windows Home.
Win + X.netplwiz, or PowerShell instead.
Renaming a Windows account does not normally rename the existing profile folder. For example, after changing the account name from Alex to David, the folder may still be C:\Users\Alex. This is normal.
The safest way to get a new profile folder name is to create a new user account with the desired name, sign in once so Windows creates the new folder, and then move your personal files.
C:\Users\NewName.C:\Users\OldName directly in File Explorer.The Windows username is the account you sign in with. The computer name is the device name used on a network. Renaming one does not rename the other.
DESKTOP-9K2A1BC is usually a computer name. Roman, Alex, or Admin is usually a user account name.
To rename the PC instead of the user account:
Sign out completely, restart the computer, and check again. For Microsoft accounts, wait for sync. Also check whether you changed the full name, the user name, or only the Microsoft profile name.
This is expected. Renaming an account does not usually rename the profile folder. Create a new account with the desired name if you need a new folder path.
Open Terminal or PowerShell using Run as administrator. Also make sure you are renaming a local account, not a domain, work, school, or cloud-managed account.
On Windows Home, the Local Users and Groups snap-in is usually not available. Use Control Panel, netplwiz, or PowerShell.
Some apps cache the old name or old profile path. Sign out, restart, update the app profile, or create a new Windows account if the app depends heavily on the original profile folder.
Yes. Renaming the display name or local account name does not delete personal files. However, if you create a new account to get a new C:\Users folder name, copy your files carefully and keep a backup.
Windows keeps the original profile folder path to avoid breaking programs and settings that depend on that path. This behavior is normal.
Usually no. For a Microsoft account, change the online profile name. Control Panel and local tools are mainly for local Windows accounts.
Yes, if you only edit the local user name or full name. Be careful not to change sign-in settings you do not understand.
Only do this if you have a specific security or administration reason. For normal use, it is better to create a separate administrator account with a strong password and leave built-in accounts managed carefully.
For more details, see these Microsoft resources about account names and Windows account commands:
If you use a Microsoft account, change the name in your Microsoft profile and wait for it to sync. If you use a local account, rename it with Control Panel, netplwiz, PowerShell, or Computer Management. If your real goal is to change the folder name under C:\Users, create a new account with the desired name and move your files instead of renaming the existing profile folder manually.
For a local account, the easiest path is Control Panel > User Accounts > Change your account name. For a Microsoft account, edit the name online. For advanced users, Rename-LocalUser -Name "OldName" -NewName "NewName" is a direct PowerShell method. Do not confuse the Windows username with the computer name or the existing C:\Users profile folder.