Is your Windows login screen cluttered with old or unused accounts? Or are you trying to remove a former employee's profile from a shared PC? Whatever your reason, deleting a user account in Windows is a straightforward process—but only if you know the right steps and the hidden pitfalls that can lead to data loss.
I've spent the better part of fifteen years working with Windows systems, both as an IT administrator and as a consultant helping individuals clean up their machines. Along the way, I've seen more than a few people lose important files because they didn't understand what actually happens when you delete an account. This guide covers both Windows 10 and Windows 11, walks through local and Microsoft accounts, and—most importantly—shows you how to protect your data before you pull the trigger.
One critical distinction up front: deleting a user account is not the same as deleting a user profile. I'll explain the difference in detail below, but keep that in the back of your mind as you read. It's the single most common source of confusion I encounter.
Before You Delete: What Happens to Files and Data?
Let's get one thing straight before we dive into the how-to steps: when you delete a user account in Windows, you're not just removing a name from the login screen. You're potentially deleting everything associated with that user—documents, photos, browser bookmarks, application settings, and more.
I've lost count of how many times someone has told me, "I just wanted to clean up the account list, I didn't mean to delete my tax returns." So please, take the next few minutes to understand what you're working with.
User Account vs. User Profile: Key Differences
Think of it this way: a user account is the key to a room, and the user profile is everything inside that room.
The user account is the credential—the username and password combination that grants someone the right to log in. It also carries permissions, like whether the person can install software or change system settings. The user profile, on the other hand, is the actual environment: the Desktop, Documents, Downloads, Pictures, AppData folders, and all the personalized settings that make Windows feel like "theirs."
Here's a simple comparison:
| Aspect | User Account | User Profile |
|---|---|---|
| What it is | Login credentials & permissions | Personal files, settings, app data |
| Location | Stored in Windows security database | C:\Users\[Username] |
| Deleting it | Removes login access entirely | Resets the environment to defaults |
| Analogy | Demolishing the room | Redecorating the room |
| When you delete an account through Windows' standard interfaces, both the account and its profile are removed. But if you only delete the profile folder (or use the Advanced System Properties method), the account remains—and Windows will generate a fresh, default profile the next time that user logs in. |
This distinction matters more than you might think. I've seen IT admins delete a profile thinking they were removing a user's access, only to have the account reappear with a clean slate on the next login.
How to Back Up and Migrate Important Files
Before you delete anything, back up the files you care about. This isn't optional—it's the difference between a minor cleanup and a catastrophe.
Here's what I recommend doing, step by step:
-
Copy the user's entire folder from
C:\Users\[Username]to an external drive or another location. Yes, the whole thing. It's easier to sort through later than to realize you missed something. -
Pay attention to the "Delete files" vs. "Keep files" prompt. When you delete an account through Settings or Control Panel, Windows will ask what you want to do with the user's files. If you choose "Keep files," Windows moves the contents of the user's Desktop, Documents, Downloads, Pictures, and other standard folders to a folder on your desktop named after the deleted user. It's a nice safety net, but don't rely on it exclusively.
-
Export browser bookmarks and passwords. Chrome, Firefox, and Edge all have built-in export features. If the user had saved passwords in the browser, those won't be included in the "Keep files" option—they're stored in the AppData folder, which Windows doesn't migrate.
-
Check for app-specific data. Games, design software, and development tools often store save files and configurations in the AppData folder. If the user had anything important in there, you'll need to back it up manually.
Here's a quick checklist of folders to review:
- Desktop
- Documents
- Downloads
- Pictures
- Videos
- Music
- AppData (for application settings and saved data)
One more thing: if the account was linked to OneDrive, those files are already in the cloud. But local-only files—anything stored outside the OneDrive folder—will be lost if you don't back them up.
How to Delete a User Account in Windows 10 (Two Methods)
Windows 10 gives you two primary ways to delete a user account: the Settings app and the Control Panel. Both accomplish the same thing, but the navigation paths differ slightly. I'll walk you through both.
Method 1: Using the Settings App
This is the method I recommend for most people because it's the most straightforward.
- Open Settings by pressing
Windows + Ion your keyboard. - Navigate to Accounts > Family & other users. You'll see a list of all accounts on the system.
- Select the account you want to delete. Click on it, and a "Remove" button will appear.
- Click "Remove." Windows will ask you to confirm and will present two options: "Delete account and data" or "Keep files."
- Choose your option and confirm.
A few things to note here. First, you must be signed in as an administrator to see the "Remove" button at all. If you're using a standard user account, the option simply won't be there. Second, the "Keep files" option doesn't keep everything—it only preserves the files in the user's standard folders (Desktop, Documents, Downloads, etc.). Application data and settings are still deleted.
Method 2: Using the Control Panel
The Control Panel method is essentially the same process with a different interface. Some people prefer it because it feels more familiar, especially if you've been using Windows for a long time.
- Open Control Panel. You can search for it in the Start menu or press
Windows + Xand select it from the menu. - Navigate to User Accounts > Manage another account. You'll see a list of all accounts on the system.
- Select the account you want to delete.
- Click "Delete the account."
- Choose whether to keep or delete the user's files. The "Keep Files" option here works the same way as in Settings—it moves standard folders to your desktop.
The end result is identical to the Settings method. The only real difference is the interface. I've noticed that the Control Panel method sometimes feels faster on older machines, but that's anecdotal—your mileage may vary.
How to Remove a User Account in Windows 11 (Step-by-Step)
Windows 11 streamlined the account management interface, but the underlying process remains the same. Here's how to do it.
Using the Modern Settings Interface
- Open Settings by pressing
Windows + I. - Navigate to Accounts > Other users. The layout is cleaner than Windows 10, with accounts listed in a more prominent position.
- Click on the user account you want to remove. This will expand the entry and reveal a "Remove" button.
- Click "Remove." Windows will present you with the same two options as Windows 10: "Delete account and data" or "Delete account only."
- Confirm your choice.
The "Delete account only" option is worth understanding clearly. It removes the account from the system but leaves the user's files in place. The files remain in the C:\Users\[Username] folder, but no one can log in with that account anymore. This is useful if you want to preserve the data but revoke access.
What's Different in Windows 11 vs. Windows 10?
The short answer: not much, functionally. The underlying process is identical. But there are a few UI differences worth noting:
- The Settings layout is more modern. Windows 11 uses a cleaner, more visual interface with larger icons and more whitespace.
- "Other users" is more prominent. In Windows 11, the "Other users" section is front and center in the Accounts page, whereas in Windows 10 it's tucked under "Family & other users."
- The confirmation dialogs are slightly different. Windows 11 uses more descriptive language in its prompts, which I find helpful.
Here's a quick comparison:
| Aspect | Windows 10 | Windows 11 |
|---|---|---|
| Settings path | Accounts > Family & other users | Accounts > Other users |
| Interface style | Traditional list | Modern, card-based layout |
| Confirmation prompts | Basic | More descriptive |
| Underlying process | Identical | Identical |
| If you're comfortable with one version, you'll have no trouble with the other. |
How to Delete a Local User Account Using Command Line (CMD & PowerShell)
For IT professionals or anyone managing multiple machines, the command line is often faster than clicking through menus. I use these methods regularly when I need to clean up accounts on several computers at once.
Using the 'net user' Command
The net user command has been around since the early days of Windows, and it still works perfectly.
- Open Command Prompt as administrator. Right-click the Start button and select "Command Prompt (Admin)" or "Terminal (Admin)" on Windows 11.
- Type
net userand press Enter. This lists all user accounts on the system. - Use the following command to delete an account:
net user [username] /delete
Replace [username] with the actual account name. For example:
net user JohnDoe /delete
Here's the critical thing to understand: this method does not prompt you to keep files. It deletes the account and everything associated with it, including the user profile. There's no safety net. I've made this mistake myself early in my career, and it taught me to always double-check which account I'm targeting before running the command.
Using PowerShell's 'Remove-LocalUser' Cmdlet
PowerShell offers a more modern approach, and it's my preferred method when I'm working with multiple machines.
- Open PowerShell as administrator. Right-click the Start button and select "Windows PowerShell (Admin)" or "Terminal (Admin)" on Windows 11.
- Type
Get-LocalUserand press Enter. This lists all local user accounts. - Use the following command to delete an account:
Remove-LocalUser -Name [username]
Replace [username] with the actual account name. For example:
Remove-LocalUser -Name JohnDoe
PowerShell also gives you more flexibility. You can combine commands to, say, list all accounts and filter for specific ones before deleting. For example:
Get-LocalUser | Where-Object {$_.Enabled -eq $true} | Remove-LocalUser
That command would delete all enabled local accounts—useful for a clean sweep, but dangerous if you're not careful. Always verify what you're targeting before running a command like that.
How to Delete a Microsoft Account from Windows (and What It Really Means)
This is where things get confusing for a lot of people, and I don't blame them. Microsoft has made the distinction between local and Microsoft accounts about as clear as mud.
Local Account vs. Microsoft Account: Which One Are You Deleting?
Here's the key difference:
- A local account exists only on your specific PC. It's a username and password stored on that machine, and it doesn't sync anything to the cloud.
- A Microsoft account is tied to an email address and syncs settings, files, and preferences across all your devices. It's the same account you use for Outlook, OneDrive, Xbox, and other Microsoft services.
Here's a comparison table to make it clearer:
| Aspect | Local Account | Microsoft Account |
|---|---|---|
| Scope | Device-only | Syncs across devices |
| Login | Username & password | Email & password |
| Data sync | None | OneDrive, settings, apps |
| Deleting from PC | Removes account entirely | Removes from PC only; online account remains |
| The most common misconception I encounter is people thinking that deleting a Microsoft account from their PC will delete the account entirely. It won't. Removing a Microsoft account from your Windows device only removes it from that specific machine. The account itself—and all the data associated with it in the cloud—remains active. |
To fully delete a Microsoft account, you'd need to go to the Microsoft account closure page online. That's a separate process entirely, and it's irreversible.
Step-by-Step: Removing a Microsoft Account from Your PC
The process is the same as deleting a local account, but there are a few additional considerations.
- Follow the same steps as deleting a local account in Settings (Accounts > Other users > select the account > Remove).
- You'll be asked to verify with an admin password. This is an extra security step that doesn't appear for local accounts.
- Understand the sync implications. After you remove the Microsoft account from your PC, synced data (OneDrive files, emails, settings) will remain in the cloud but will no longer sync to this device.
One thing I always tell people: if you're removing a Microsoft account because you're selling or giving away the computer, make sure you're signed out of all Microsoft services first. Otherwise, the next owner could potentially access your cloud data.
Troubleshooting: Why Can't I Delete a User Account?
Sometimes, things don't go as smoothly as planned. Here are the most common issues I've encountered—and how to fix them.
You're Signed In to the Account You're Trying to Delete
Windows won't let you delete the account you're currently using. This is a safety feature, but it can be frustrating if you're trying to clean up your own account.
The fix: Sign out and sign in with a different administrator account, then delete the target account from there. If you don't have another admin account, you'll need to create one first.
The Account Has Administrator Privileges
You can't delete the last administrator account on a system. Windows enforces this to prevent you from locking yourself out of the machine.
The fix: Create another administrator account first, then demote the account you want to delete to a standard user, and then delete it. Here's how:
- Create a new admin account (Settings > Accounts > Other users > Add account).
- Sign in with the new admin account.
- Go to Settings > Accounts > Other users, select the account you want to delete, and click "Change account type."
- Change it to "Standard User."
- Now you can delete the account.
Registry Cleanup: Removing Leftover Profile Entries
Even after you delete an account, remnants can linger in the Windows registry. This isn't usually a problem, but it can cause issues if you're trying to create a new account with the same name.
Warning: Editing the registry is risky. If you're not comfortable with it, skip this step—it's rarely necessary.
If you do want to clean up, here's how:
- Open Registry Editor by pressing
Windows + R, typingregedit, and pressing Enter. - Navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
- Look for a subkey that references the deleted user's profile path. Click on each subkey and check the
ProfileImagePathvalue in the right pane. It will look something likeC:\Users\JohnDoe. - Delete the subkey that matches the deleted user.
I've done this dozens of times, and it's usually harmless. But I've also seen people accidentally delete the wrong key and cause system instability. If you're not confident, leave it alone.
FAQ
Can you delete a user account you are currently signed in to in Windows?
No. Windows prevents you from deleting the account you're currently using. This is a built-in safety measure. To delete the account, you'll need to sign in with a different administrator account and delete the target account from there.
What happens to the files when you delete a user account in Windows?
When you delete a user account, Windows gives you two options. "Delete files" permanently removes all data in the user's profile, including documents, photos, and application settings. "Keep files" moves the contents of the user's standard folders (Desktop, Documents, Downloads, Pictures, etc.) to a folder on the desktop of the administrator account. Note that "Keep files" does not preserve application data stored in the AppData folder.
How do I completely delete a user profile in Windows 10, including registry entries?
To completely delete a user profile, you need to do three things: delete the account through Settings or Control Panel, delete the profile folder from C:\Users\[Username], and remove the corresponding registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. Editing the registry is risky, so proceed with caution and back up your registry before making changes.
Do I need administrator privileges to delete a user account in Windows?
Yes. You must be signed in as an administrator to delete any other user account on the system. Additionally, you cannot delete the last administrator account—Windows requires at least one admin account to remain.
Final Thoughts
Deleting a user account in Windows is one of those tasks that seems simple on the surface but has enough hidden complexity to trip you up if you're not careful. The good news is that, armed with the information in this guide, you're well-prepared to handle it.
Let me leave you with a few key takeaways:
- Always back up important data before deleting an account. The "Keep files" option is helpful, but it's not comprehensive.
- Know the difference between a local account and a Microsoft account. Deleting one from your PC doesn't affect the other.
- Use the command line methods if you're comfortable with them. They're faster and more flexible, especially for IT professionals.
- Don't panic if something goes wrong. Most issues have straightforward fixes, and the troubleshooting section above covers the most common ones.
Found this guide helpful? Bookmark it for later or share it with a friend who's struggling with a cluttered Windows login screen. If you still have questions, drop a comment below and we'll help you out!