How to delete user accounts on Windows 11

To delete a user account on Windows 11, open Settings > Accounts > Other users, expand the account and select Remove next to Account and data.

This guide also covers Computer Management, Command Prompt and PowerShell, how Control Panel and NetPlWiz fit in, and how to clear the leftover profile files.

How to delete user accounts on Windows 11
Local accounts exist only on that PC, and every removal method in this guide needs an administrator account. (Image: Microsoft)

Delete user accounts from Settings

Settings is the route Microsoft documents for Windows 11 and Windows 10, and it works for both local accounts and Microsoft accounts added to the PC.

Sign in with an administrator account, and make sure the person you are removing is signed out.

  1. Open Settings and select Accounts > Other users. You can also press Win + R, type ms-settings:otherusers and press Enter.
  2. Under Other users, select the account you want to delete to expand its flyout.
  3. Next to Account and data, select Remove.
  4. Confirm the prompt to delete the account and its data.

Removing the account clears its sign-in information and data from this PC. It does not delete the person's Microsoft account online; to remove that too, close the Microsoft account separately.

To set up a replacement profile afterwards, add a new user account from the same Other users page.

Ways to delete a user account on Windows 11 compared

Every method needs an administrator account. Pick the row that matches your situation.

Your situation Use this What it removes
Home PC, one account to remove Settings > Accounts > Other users The account plus its sign-in information and data on the PC
Several local accounts to review at once Computer Management > Local Users and Groups > Users The local account; the profile folder can stay behind
Scripted or remote clean-up net user <name> /delete in Command Prompt The local account only
PowerShell automation Remove-LocalUser -Name "<name>" The local account only
Leftover profile folder after a command-line delete System Properties > User Profiles > Delete The profile files and settings
Control Panel or NetPlWiz habit from Windows 10 Settings > Accounts > Other users On Windows 11, Microsoft's documented removal route is Settings, so use it instead of the older user account dialogs
Work or school account Settings > Accounts > Access work or school > Disconnect The connection and its data on the PC; the account itself is not deleted

Delete user accounts from Computer Management

The Computer Management console lists every local user account, including the built-in ones, in the Local Users and Groups\Users folder.

  1. Select Start, search for Computer Management and open it.
  2. Expand Local Users and Groups > Users.
  3. Right-click the account you want to remove and select Delete.
  4. Confirm the warning to delete the account.

Delete user accounts from Command Prompt

The net user command adds, changes and deletes accounts on the local computer. First, open Command Prompt as administrator.

Run net user on its own to list every local account and copy the exact name.

net user USERNAME /delete

Replace USERNAME with the account name from the net user list. The /delete switch removes that local account; adding /domain would target the domain controller instead.

You should see: Run net user again; the deleted name no longer appears in the list of accounts.

Delete user accounts from Command Prompt with the net user /delete syntax
Run net user on its own first to list accounts, then put the exact name before /delete. (Image: Microsoft)

Delete user accounts from PowerShell

The Remove-LocalUser cmdlet deletes local user accounts. Run PowerShell as administrator, or open Terminal with admin rights.

Run Get-LocalUser first to list the local accounts and whether each one is enabled.

Remove-LocalUser -Name "USERNAME"

Deletes the local account named USERNAME. You can target an account by -SID instead of -Name, and add -WhatIf to preview the change without making it.

You should see: The cmdlet returns no output on success; run Get-LocalUser again and the account is gone from the list.

The LocalAccounts module is not available in 32-bit PowerShell on 64-bit Windows, so use the 64-bit console.

Delete user accounts from PowerShell using the Remove-LocalUser cmdlet syntax
Add -WhatIf to preview the change, and use 64-bit PowerShell because the LocalAccounts module skips the 32-bit console. (Image: Microsoft)

Delete user accounts from Control Panel and NetPlWiz

Control Panel's User Accounts page and the NetPlWiz dialog (also opened with netplwiz in the Run box) come from older Windows versions. On Windows 11, Microsoft's own account documentation sends removals through Settings.

Old tool What to use on Windows 11 Why
Control Panel > User Accounts Settings > Accounts > Other users > Remove Selecting System in Control Panel already redirects to Settings on Windows 11, and Settings is the documented removal path
NetPlWiz (User Accounts dialog) Settings > Accounts > Other users, or Computer Management Both list the same local accounts and remove them with an administrator sign-in
Either tool, when you also want the files gone System Properties > User Profiles Deleting the profile there clears the folder and settings the account left behind

Delete account files and settings on Windows 11

net user, Remove-LocalUser and Computer Management remove the account but can leave its profile folder on the drive. Delete the profile to reclaim the space. You must be a member of the local Administrators group.

  1. Select Start, search for Control Panel and open it.
  2. Set View by to Large icons and select System. On Windows 11 this opens the System page in Settings.
  3. Select the Advanced system settings link.
  4. In the User Profiles section, select Settings.
  5. Select the profile you want to remove and select Delete.
  6. Confirm the prompt, then close the dialogs.
Delete account files and settings by removing the leftover Windows user profile
You must be in the local Administrators group; profiles are removed under User Profiles in Advanced system settings. (Image: Microsoft)

Check that the user account is deleted

  1. Open Settings > Accounts > Other users and confirm the account is no longer listed.
  2. Run net user in Command Prompt or Get-LocalUser in PowerShell and confirm the name is missing.
  3. Open System Properties > User Profiles > Settings and confirm no profile remains for that user.
  4. Lock the PC and check that the account no longer appears on the sign-in screen.
Check that the user account is deleted with Get-LocalUser in PowerShell
Run the cmdlet again after Remove-LocalUser; the deleted name should be missing from the list it returns. (Image: Microsoft)

Can't delete a user account on Windows 11? Fixes

The Administrator or Guest account cannot be deleted

These are default local accounts that Windows creates at install, and they can't be removed.

  1. Leave the built-in accounts in place; the Guest account is disabled by default.
  2. Disable or rename the built-in Administrator account in Computer Management > Local Users and Groups > Users if you do not use it.

A work or school account has no Remove button

Work and school accounts are disconnected, not removed, from Windows.

  1. Open Settings > Accounts > Access work or school.
  2. Expand the account and select Disconnect.
  3. Select Yes to confirm.

Remove-LocalUser is not recognized in PowerShell

The LocalAccounts module does not load in 32-bit PowerShell on 64-bit Windows.

  1. Close the console.
  2. Open Windows PowerShell (not the x86 version) as administrator.
  3. Run the Remove-LocalUser command again.

The user's folder is still in C:\Users after deletion

Command-line and Computer Management deletions remove the account, not the profile.

  1. Open System Properties > User Profiles > Settings.
  2. Select the leftover profile and select Delete.

Delete user accounts on Windows 11 FAQ

These answers cover the questions that follow from each removal method.

Does removing an account from Windows 11 delete the Microsoft account?

No. Removing an account from Settings clears its sign-in information and data from this PC only. The Microsoft account stays active online and can still sign in to other devices.

Do I need administrator rights to delete a user account?

Yes. Deleting another account and its profile requires membership in the local Administrators group. Sign in with an administrator account before you open Settings, Computer Management or an elevated console.

What command deletes a user account in Windows 11?

Run net user USERNAME /delete in an administrator Command Prompt, or Remove-LocalUser -Name "USERNAME" in an administrator PowerShell window. Both remove local accounts only.

Can I delete the built-in Administrator account in Windows 11?

No. Windows does not allow the default Administrator account to be deleted or locked out. You can rename it or disable it instead.

Does deleting a user account delete their files?

Removing the account in Settings deletes its data from the PC. Command Prompt, PowerShell and Computer Management can leave the profile folder behind, so delete it from System Properties > User Profiles.

How do I remove a work or school account from Windows 11?

Open Settings > Accounts > Access work or school, expand the account, select Disconnect and confirm with Yes. Disconnecting removes its data from the PC but does not delete the account itself.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *