How To Delete A User Account On Windows 11

If you no longer need a specific user account on your PC, Windows 11 gives you plenty of ways to delete it and make things simpler. Quick Links How to … Read more

Taylor Bell

Taylor Bell

Published on May 11, 2024

How To Delete A User Account On Windows 11
XDA Developers logo

If you no longer need a specific user account on your PC, Windows 11 gives you plenty of ways to delete it and make things simpler.

Quick Links

  • How to delete a user account using the Settings app
  • How to delete a user account using Control Panel
  • How to delete a user account using Windows Terminal (Windows PowerShell)
  • How to delete a user account using Command Prompt
  • How to delete a user account using Computer Management
  • How to delete a user account using the User Accounts dialog

Windows 11, much like prior versions of the operating system, lets you use multiple accounts on the same computer, so if you share a computer with multiple people, each one has their own profile. But if you eventually decide that you no longer need different accounts, you can also delete an account.

It’s worth noting that we’re talking about user accounts here, not Microsoft accounts. Deleting a Microsoft account isn’t related to Windows itself, so don’t get them confused. You can unlink your Microsoft account from your PC, though.

Related

Can I run Windows 11 without a Microsoft account?

Want to use Windows 11 without a Microsoft account? You can use the new OS with a local account, but some trickery may be required.

How to delete a user account using the Settings app

The preferred method for deleting a user account on Windows 11 is through the Settings app since that’s the interface that’s more actively maintained. The process may actually seem a bit confusing these days because of the many options related to Microsoft accounts, but here’s what you need to do.

  1. Open the Settings app.
  2. On the left-side pane, click Accounts.
    Screenshot of the Windows 11 Settings home page with the Accounts section highlighted on the menu

  3. Click Other users to see a list of other user accounts on your PC.
    Screenshots of Accounts section in Windows 11 Settings with the Other Users button highlighted

  4. Click on the account you want to delete, then click the Remove button next to Account and data.
    Screenshot of the Other users screen in Windows 11 Settings with the Remove button highlighted

  5. Confirm that you want to delete the account, and all the associated data will be removed.
    Screwenshot of a dialog asking the user to confirm the deletion of a user account in Windows 11

Settings app in Windows 11

Related

How to use the Settings app on Windows 11

The new Settings app on WIndows 11 houses a ton of options. Here’s everything you can find inside it and what it does.

How to delete a user account using Control Panel

If you still like using the old Control Panel, Microsoft still hasn’t removed the option to do it this way. Here’s how:

  1. Open the Start menu and search for Control Panelthen select the first option.
  2. Click User accounts.
    Screenshot of Control Panel with the User Accounts link highlighted

  3. Click Remove user accounts.
    Screenshot of Control Panel with the option to delete user accounts highlighted

  4. You’ll see a list of all the accounts on your PC. Click the one you want to remove, then choose Delete the account on the next page.
    Screenshot of account management in Control panel with the Delete the account button hjighlighted

  5. You’ll be asked whether you want to keep the files associated with the account. Choose Delete files to remove everything or Keep files to save them on the desktop of the current user.
    Screenshot of a Control panel dialog asking the user whether they want to keep or delete the files associated with a user account to be deleted

  6. Click Delete account to confirm the deletion.

A big benefit of this method is that it gives you the option to keep the files associated with a user account, which the Settings app doesn’t do.

How to delete a user account using Windows Terminal (Windows PowerShell)

If you prefer a command line interface for using Windows, you can remove a user account using Windows PowerShell or Windows Terminal. Windows Terminal is the newest terminal that ships as part of Windows, and by default, it opens the Windows PowerShell profile, though it can also function as the classic Command Prompt (which we’ll cover later). To delete a user account with Windows Terminal / PowerShell, follow these steps:

  1. Launch Windows Terminal as an administrator. You can right-click the Start menu (or press Windows + X) and choose Windows Terminal (Admin) to do this.
    • Note: This option may also show up as Terminal (Admin) or Windows PowerShell (Admin).
  2. To see all the user accounts on your PC, type Get-LocalUserthen press Enter.
  3. Once you know what account to delete, enter the command below, replacing USERNAME with the name of the account you want to delete (in this case, it’s Test).
    Remove-LocalUser -Name "USERNAME"
    Screenshot of Windows Terminal displaying a list of users on a computer and a command to delete one of the users

  4. The account will be deleted, but files from it will be kept in the Users folder.

How to delete a user account using Command Prompt

The classic Command Prompt can also be used to delete a user account on Windows 11, and it’s pretty similar to using Windows Terminal. In fact, you can use Command Prompt inside Windows Terminal if you want. If you prefer doing it this way, here’s how:

  1. Open the Start menu and search for Command Prompt.
  2. Choose Run as administrator under the first result.
    Screenshot of Windows Search showing Command Prompt and the run as administrator option highlighted

  3. To see user accounts on your PC, type net user and press Enter.
  4. To delete a user account, type the command below, replacing USERNAME with the name of the account you want to remove.
    net user USERNAME /delete
    Screenshot of Command Prompt showing a list of users on a computer and a command to delete one of them

  5. Similar to the PowerShell method, this will delete the account but not the associated files.

How to delete a user account using Computer Management

The methods above should be more than enough for most people, but there are still a couple of extra ways to delete a user account if you want to take a different route. These options also keep the files from the deleted user by default. One of them is using Computer Management, though this option is not available in Home editions of Windows. Still, if you have Windows 11 Pro or higher, you can follow these steps:

  1. Right-click the Start menu icon and choose Computer Management.
    Screenshot of Windows 11 menu showing the Computer management option highlighted

  2. On the left-side pane, select Local Users & Groupsthen open the Users folder inside.
    Screenshot of Computer management showing the steps for opening the Users folder

  3. Right-click the account you want to remove and choose Delete.
    Screenshot of Computer Management showing the delete option for a user account

  4. Click Yes to confirm the deletion.

The user account will be removed from your PC, but the files associated with it will be kept.

How to delete a user account using the User Accounts dialog

The last method you can use to delete a user account on Windows 11 is the User Accounts dialog, though this one is actually a bit hard to find unless you know specifically what you’re looking for. If you want to use it, here’s what you need to do:

  1. Open the Start menu and search for netplwiz then press Enter to open the User Accounts dialog.
    Screenshot of Windows Search showing results for netplwiz

  2. Click the account you want to delete on the list, then click Remove.
    Screenshot of the User Accounts dialog with the remove button highlighted

  3. Click Yes in the confirmation prompt, then click OK in the User Accounts window to confirm your changes.

Just like the method above, this one also keeps the user’s files on the PC.

Plenty of ways to delete an account

That covers a wide range of methods, so you can choose whatever you prefer when it comes to deleting a user account you don’t need anymore. If you want to learn more about other account features in Windows 11, check out how to create a child account with parental restrictions.

Partager cet article

Inscrivez-vous à notre newsletter