The fastest way depends on which account you're removing
If you want to delete a username that appears on your Windows login screen, the method depends on whether that account still exists on your computer or is just a leftover entry. If the account itself is gone but the name still shows up, you can remove it through Settings. If the account is still active and you want to delete it entirely, you'll need to remove the account first, then clean up the login screen.
The most common reason a username lingers is that someone used the computer once, the account was created, and then never used again. Windows keeps showing it as an option even after the person stops logging in. Removing it from the login screen doesn't delete files or cause problems — it just hides that name from the list of people who can sign in.
Key Takeaways
- Open Settings, go to Accounts, then select the account you want to remove and choose "Delete".
- If the account is still in use, you must sign out of it first, then delete it from a different account with admin rights.
- Deleting an account from Settings removes it from the login screen and deletes all files associated with that account.
- If you only want to hide the account without deleting files, you can disable it instead by unchecking "Users must enter a user name and password" in netplwiz.
- You cannot delete the account you are currently signed into — you must use a different admin account to remove it.
Removing an account through Settings (the standard method)
Open Settings by pressing Windows key + I. Navigate to Accounts on the left side, then select "Other people" or "Family & other people" depending on your Windows version. Find the username you want to remove from the list.
Click on that username, then look for a "Delete" button. Windows will ask you to confirm. When you click Delete, the account and all its files are removed from your computer. The username will no longer appear on the login screen.
This method only works if you have admin rights on your computer. If you do not see a Delete button, your account does not have the permission needed. You will need to sign in as an admin account first.
Removing an account you are currently using
You cannot delete the account you are logged into right now. Windows prevents this to keep you from locking yourself out. If you want to remove your own account, you must first create or switch to a different admin account, then delete your original account from there.
If you are the only admin on the computer, create a new admin account first. Go to Settings > Accounts > Other people, select "Add account", choose "I don't have this person's sign-in information", then "Add a user without a Microsoft account". Give it a name and password, then go back to Accounts and change its type to Administrator. Once that new admin account exists, sign out of your original account, sign into the new one, and delete the original account through Settings.
Using netplwiz to hide an account without deleting it
If you want the username to stop appearing on the login screen but do not want to delete the account or its files, you can hide it instead. Press Windows key + R, type netplwiz, and press Enter. A window titled "User Accounts" will open.
Find the username you want to hide in the list. Uncheck the box next to "Users must enter a user name and password to use this computer". Click explore, then OK. That account will no longer show on the login screen, but the account and all its files remain on your computer. You can still access it by signing in with a password if you know it.
This approach is useful if someone borrowed the computer once and you want their name off the login screen, but you might need to restore their files later. Hiding is reversible — you can always check the box again to make the account visible.
What happens to files when you delete an account
When you delete an account through Settings, Windows removes the account from the system and deletes the folder where that account's files were stored. This includes the Desktop, Documents, Downloads, and any other files saved in that user's profile. The deletion is permanent and cannot be undone through normal means.
Before you delete an account, move any files you want to keep to a shared location or external drive. If you are unsure whether the account has important files, use File Explorer to navigate to C:\Users\ and look at the folder with that username. Check what is inside before you delete.
Removing a Microsoft account versus a local account
The deletion process is the same whether the account is a Microsoft account (one that signs in with an email address) or a local account (one with just a username). The difference is what happens to data tied to that Microsoft account. If the account is a Microsoft account, any files stored in OneDrive or synced to the cloud may still exist in your Microsoft account online, but they will not be accessible from this computer.
If you are deleting a Microsoft account and want to keep cloud files, sign into your Microsoft account online at account.microsoft.com before you delete the account from your computer. read or back up anything you need. Once the account is deleted from Windows, you cannot access those files from this machine.
Troubleshooting: the account will not delete
If you click Delete and nothing happens, the most common reason is that you do not have admin rights. Check whether your account type says "Administrator" in Settings > Accounts > Your info. If it says "Standard user", you cannot delete accounts. Ask whoever set up the computer to give you admin rights, or create a new admin account and delete from there.
Another reason deletion might fail is that the account is still signed in on another device. If this is a Microsoft account, sign out of it on any other computer or phone, then try deleting again. Windows sometimes prevents deletion if the account is actively in use elsewhere.
If the account is a system account or a service account (these are rare and usually have names like "SYSTEM" or "LOCAL SERVICE"), do not try to delete it. These accounts are required for Windows to run. If you see an account with an unfamiliar name that you cannot delete, leave it alone.
Frequently Asked Questions
Will deleting an account from the login screen remove it from my computer?
Yes. When you delete an account through Settings, it removes the account entirely from your computer and deletes all files in that account's folder. If you only want the name off the login screen but want to keep the account and files, use netplwiz to hide it instead.
Can I recover files after I delete an account?
Not through normal Windows tools. Once deleted, the account folder and its contents are gone. If you deleted by mistake, a data recovery service might be able to retrieve files, but this is expensive and not may provide to work. Always back up important files before deleting an account.
What if the username appears on the login screen but I cannot find it in Settings?
This sometimes happens with old accounts that were partially removed. Try using netplwiz instead — open it with Windows key + R, type netplwiz, and look for the account there. You may be able to hide or delete it from that window even if Settings does not show it.
Do I need to uninstall programs before I delete an account?
Programs installed under that account will no longer work after the account is deleted, but they do not need to be uninstalled first. If you want to keep using a program, reinstall it under your current account after the old account is gone.
Can I delete the administrator account?
Only if you have another admin account on the computer. Windows requires at least one admin account to exist. If you try to delete the last admin account, Windows will warn you and prevent it. Create a new admin account first if you want to delete the current one.