Windows 11 allows you to create multiple user accounts on the same computer. This is useful when different people use the PC or when you want separate accounts for work, personal use, or testing. However, you may eventually need to remove a local account that is no longer needed.
Removing a local account is straightforward, but Windows also removes the files and data stored in that user’s profile when you choose to delete the account. Because of this, it is important to back up any important documents, pictures, downloads, or other files before removing the account.
You also need to make sure that you are signed in with another administrator account. Windows generally does not allow you to remove the account that you are currently using.
Method 1: Remove a Local Account From Settings
The easiest way to remove a local user account is through Windows 11 Settings.
- Press Windows + I to open Settings.
- Select Accounts.
- Select Other users.
- Find the local account you want to remove.
- Click the arrow or menu button next to the account.
- Select Remove.
- Windows will display a warning about removing the account and its data.
- Select Delete account and data.
Windows will remove the selected account from the computer.
Before confirming the deletion, make sure the account does not contain files that you still need.
Important files may be stored in locations such as the user’s Desktop, Documents, Downloads, Pictures, and Videos folders.
Method 2: Remove a Local Account Using Control Panel
The traditional Control Panel also provides an option for managing user accounts.
- Press Windows + R.
- Type:
control
- Press Enter.
- Select User Accounts.
- Select User Accounts again if necessary.
- Select Manage another account.
- Select the local account you want to remove.
- Select Delete the account.
- Choose whether to delete or keep the user’s files.
- Confirm the deletion.
If you select the option to keep the files, Windows can place the account’s files in a folder on the system drive rather than immediately deleting them.
This can be useful when you are unsure whether you still need the user’s personal files.
Method 3: Remove a Local Account With Computer Management
Computer Management provides another way to manage local users on supported editions of Windows 11.
- Right-click the Start button.
- Select Computer Management.
- Expand Local Users and Groups.
- Select Users.
- Find the local account.
- Right-click the account.
- Select Delete.
- Confirm the deletion.
This method is particularly useful for administrators who manage several local accounts.
If Local Users and Groups is not available on your Windows edition, use Settings or another supported account-management method instead.
Method 4: Remove a Local Account With Command Prompt
You can also delete a local Windows account from an elevated Command Prompt.
- Open the Start menu.
- Search for Command Prompt.
- Select Run as administrator.
- Enter:
net user
- Press Enter.
Windows will display the local user accounts on the computer.
Identify the account you want to remove and then use:
net user "Username" /delete
Replace Username with the actual account name.
For example:
net user "TestUser" /delete
Press Enter to run the command.
If the command completes successfully, the local account will be removed.
Be careful when using this method because Windows will not provide the same graphical confirmation process as Settings.
Method 5: Remove a Local Account With PowerShell
PowerShell provides another command-line method for deleting a local account.
- Open Start.
- Search for PowerShell.
- Select Run as administrator.
- To see local accounts, run:
Get-LocalUser
- Identify the account you want to remove.
- Run:
Remove-LocalUser -Name "Username"
Replace Username with the account’s actual name.
For example:
Remove-LocalUser -Name "TestUser"
The account will be removed from the computer.
If the user has important files, back them up before executing the command.
Method 6: Remove a Local Account Through User Accounts
Windows also has a User Accounts dialog that can be opened directly with a Run command.
- Press Windows + R.
- Enter:
netplwiz
- Press Enter.
- Select the user account you want to remove.
- Select Remove.
- Confirm the action.
This interface can be useful if you want to quickly review the accounts configured on the computer.
However, depending on your Windows configuration and account type, some management options may work differently than they do through the Settings application.
Method 7: Back Up the User’s Files Before Deleting the Account
Before removing a local account, check whether the user has important files.
Open File Explorer and navigate to:
C:\Users
You should see folders associated with the user accounts on the computer.
Open the relevant user folder and check locations such as:
- Desktop
- Documents
- Downloads
- Pictures
- Videos
- Music
Copy anything important to another location, external drive, or another user profile before deleting the account.
This is especially important if the account belongs to another person. Deleting the account and its data can remove files that are not stored elsewhere.
Method 8: Remove the Account Without Deleting Its Files
If you want to remove the Windows account but keep its files, use a method that gives you the option to retain the user’s data.
Using Control Panel can provide a Keep Files option during account removal.
Alternatively, manually back up the user’s profile before removing the account.
The files can then be moved to another location or another user account.
This approach is useful when:
- A former user no longer needs an account.
- You want to keep their documents.
- You are preparing a computer for another person.
- You want to clean up unused accounts without immediately losing data.
What Happens When You Remove a Local Account?
Removing a local account prevents that account from being used to sign in to Windows.
If you choose to delete the account’s data, Windows can remove files associated with that user’s profile.
This can include files stored in the user’s:
- Desktop
- Documents
- Downloads
- Pictures
- Music
- Videos
Applications installed for all users may remain installed, but account-specific settings and data can be removed.
Can You Remove the Only Administrator Account?
You should not remove the only administrator account on a Windows computer.
Before deleting a local administrator account, make sure another account has administrator privileges.
You can check account types through:
Settings > Accounts > Other users
If necessary, create another administrator account first and sign in to it before removing the old account.
Local Account vs Microsoft Account
A local account exists on the Windows computer and does not require a Microsoft account to sign in.
A Microsoft account can provide additional Microsoft services and synchronization features.
The process for removing an account depends on the type of account and how it is configured. If your goal is specifically to remove a local user from the computer, make sure you select the correct account before confirming the deletion.
Conclusion
Removing a local account from Windows 11 is simple, but you should check the account’s files before deleting it. The easiest method is through Settings > Accounts > Other users, where you can select the account and remove it.
For users who prefer traditional Windows tools, Control Panel, Computer Management, netplwiz, Command Prompt, and PowerShell provide additional ways to manage local accounts.
The most important step is to back up the user’s files before deletion. Documents, downloads, pictures, and other profile data may be removed when you choose to delete the account and its data.
You should also make sure another administrator account exists before removing an administrator account. Once the account is deleted, it will no longer be available from the Windows sign-in screen.
For most users, Settings is the simplest and safest option. Command Prompt and PowerShell are more useful when managing accounts through scripts or administrative workflows.
FAQs
1. How do I remove a local account from Windows 11?
Open Settings > Accounts > Other users, select the account, choose Remove, and confirm the deletion.
2. Does deleting a local account delete its files?
It can. If you choose Delete account and data, Windows removes data associated with that user’s profile. Back up important files before deleting the account.
3. Can I delete the administrator account I am currently using?
You should first create or use another administrator account. You cannot normally remove the account you are currently signed in to.
4. What command deletes a local user in Windows 11?
Open an elevated Command Prompt and use:
net user "Username" /delete
Replace Username with the name of the local account you want to remove.
Quick Summary
- Go to Settings > Accounts > Other users to remove a local account.
- Back up the user’s files before deleting the account.
- Use Control Panel,
netplwiz, Command Prompt, or PowerShell as alternatives. - Make sure another administrator account is available before removing an administrator account.





