Windows Guide Β· 2026

How to Change Username in Windows 10 and Windows 11

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.

⊞ Windows 10 ⊞ Windows 11 πŸ‘€ Local Account ☁ Microsoft Account ⏱ 8 min read

How to Change Your Username in Windows 10 and Windows 11

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.

Method 1

Microsoft Account

Change the display name on the Microsoft account website. Windows will update the shown name after the account information syncs.

Online Profile
Method 2

Local Account

Use Control Panel, netplwiz, PowerShell, or Computer Management to rename the local account.

Local Windows User
Method 3

Profile Folder

If you want a different C:\Users\Name folder, the safest approach is to create a new account and move your data.

Safest Fix
ℹ️
Important distinction Renaming a Windows account usually changes the name displayed on the sign-in screen and in account tools. It normally does not rename the existing profile folder under C:\Users.

Username, Display Name, Profile Folder, and PC Name: What Actually Changes?

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
⚠️
Do not rename folders blindly Do not simply rename C:\Users\OldName in File Explorer. Programs, shortcuts, services, scheduled tasks, registry entries, and app settings may still point to the old path.

Before You Rename a Windows User Account

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.

How to Change a Microsoft Account Name in Windows

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.

  1. Open your browser and sign in to your Microsoft account page.
  2. Open Your info or the profile information section.
  3. Select Edit name.
  4. Enter the new first name and last name.
  5. Save the changes.
  6. On the Windows PC, sign out and sign in again. If the old name remains, restart the PC and allow time for account sync.
☁️
Sync delay is normal Microsoft account display names may not update instantly everywhere. The name can require time to sync across Windows and Microsoft services.

How to Change a Local Account Name in Control Panel

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.

  1. Press Win + R.
  2. Type control and press Enter.
  3. Open User Accounts.
  4. Select User Accounts again if Control Panel shows category view.
  5. Click Change your account name.
  6. Enter the new account name.
  7. Click Change Name.
  8. Sign out and sign back in to check the new display name.
βœ…
Best for most local accounts Use this method when you only need to change the name shown on the sign-in screen, Start menu, and account list.

How to Rename a Windows User with netplwiz

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.

  1. Press Win + R.
  2. Type netplwiz and press Enter.
  3. Select the local user account you want to rename.
  4. Click Properties.
  5. Edit User name and, if needed, Full name.
  6. Click OK, then OK again.
  7. Restart Windows or sign out and sign in again.
⚠️
Be careful with sign-in names If you manually type the username at the sign-in screen, remember to use the new username after the rename.

How to Change Username with PowerShell

PowerShell is a clean way to rename a local user account. It is especially useful for administrators, remote maintenance, and repeatable instructions.

  1. Right-click the Start button.
  2. Open Terminal (Admin) or Windows PowerShell (Admin).
  3. List local users to confirm the exact account name:
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.

πŸ’‘
Tip If the command is not recognized, make sure you are using Windows PowerShell or Terminal on a supported Windows edition and not a restricted shell session.

How to Rename a User in Computer Management

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.

  1. Press Win + X.
  2. Select Computer Management.
  3. Open Local Users and Groups.
  4. Select Users.
  5. Right-click the account you want to rename.
  6. Select Rename.
  7. Type the new username and press Enter.
  8. Restart or sign out to test the new name.
🏠
Windows Home note If you do not see Local Users and Groups, use Control Panel, netplwiz, or PowerShell instead.

How to Change the C:\Users Folder Name Safely

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.

  1. Create a new local or Microsoft account with the desired username.
  2. Make the new account an administrator temporarily if you need to move files from the old profile.
  3. Sign in to the new account once so Windows creates C:\Users\NewName.
  4. Copy personal files from the old profile: Desktop, Documents, Downloads, Pictures, Videos, and other custom folders.
  5. Reconfigure apps that store settings inside the old user profile.
  6. Keep the old account for a few days until you are sure nothing is missing.
  7. Delete the old account only after making a full backup of important files.

Recommended

  • Create a new account with the desired name.
  • Move personal files gradually.
  • Keep a backup before deleting the old account.
  • Reinstall or reconfigure apps if they rely on old paths.

Avoid

  • Do not rename C:\Users\OldName directly in File Explorer.
  • Do not edit profile registry paths unless you have a full backup and know the risks.
  • Do not delete the old profile before checking app data and browser profiles.
  • Do not rename service accounts without understanding dependencies.

Username vs Computer Name: Do Not Confuse Them

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.

Example: 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:

  1. Open Settings.
  2. Go to System.
  3. Open About.
  4. Click Rename this PC.
  5. Enter the new device name.
  6. Restart Windows when prompted.

Troubleshooting: Username Did Not Change or Access Is Denied

! The old name still appears on the sign-in screen β–Ό

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.

! The folder under C:\Users still has the old 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.

! PowerShell shows β€œAccess is denied” β–Ό

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.

! Local Users and Groups is missing β–Ό

On Windows Home, the Local Users and Groups snap-in is usually not available. Use Control Panel, netplwiz, or PowerShell.

! Apps still show the old name β–Ό

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.

FAQ: Changing Username in Windows 10 and Windows 11

Q Can I change my Windows username without losing files? β–Ό

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.

Q Why did my C:\Users folder name not change? β–Ό

Windows keeps the original profile folder path to avoid breaking programs and settings that depend on that path. This behavior is normal.

Q Can I rename a Microsoft account from Control Panel? β–Ό

Usually no. For a Microsoft account, change the online profile name. Control Panel and local tools are mainly for local Windows accounts.

Q Is netplwiz safe to use? β–Ό

Yes, if you only edit the local user name or full name. Be careful not to change sign-in settings you do not understand.

Q Should I rename the built-in Administrator account? β–Ό

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.

Useful Official Microsoft Pages

For more details, see these Microsoft resources about account names and Windows account commands:

Summary: The Best Way to Change a Windows Username

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.

⊞ Quick Recap

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.