Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

How to Delete Administrator Account in Windows? 6 Best Ways

Abhishek SilwalBy Abhishek SilwalJune 23, 2023
How to Delete Administrator Account in Windows

Windows allows having multiple user accounts, including administrator accounts, with their own profiles on a computer. However, there are situations where you need to remove an admin account—the account may have served its purpose, or you may be encountering some issues due to a corrupt account profile. 

Windows offers many methods to delete an account. Some methods also delete the account’s user profile folder (C:\Users\“username”) while some don’t. This is the folder that stores all user-specific data inside folders like Documents, Downloads, Pictures, and so on.

So, depending on the method, you’ll need to delete this folder manually to free up space on your disk.

Note: Each account has a Security Identifier (SID) that uniquely identifies the account. Even if you delete an account without removing the user profile folder and then create another account with the same name afterwards, it will have a different SID. So, the new account won’t use the previous profile folder but create a separate new one.

Table of Contents

  • Through Settings
  • Through Control Panel
  • Through Command-line Interfaces
  • Using Local Users and Group
  • Using Netplwiz Utility Tool
  • Through the Registry Editor

Through Settings

The best way to delete an administrator account is through the Account Settings as it also removes the account’s entries from your system. 

This method will delete the user profile folder associated with the account. So make sure to back up any necessary data beforehand.

  1. Press Windows key + I to open Windows Settings.
  2. Go to Accounts > Family & other users or Other users.
    account-settings-family-and-other-users
  3. Expand the admin account you wish to remove by clicking on it.
  4. Select Remove > Delete account and data.
    other-users-administrator-account-remove

Through Control Panel

You can also use the Control Panel, which is the traditional alternative of the Settings app, to delete a user account. It also gives you the choice of whether you wish to retain the user profile folder or not.

  1. Open Run.
  2. Type control and press Enter to open the Control Panel.
  3. Go to User Accounts or User Accounts > User Accounts.
    control-panel-user-accounts
  4. Select Manage another account and choose the admin account you want to remove.
  5. Click on Delete the account.
    manage-accounts-delete-the-account-control-panel
  6. Select between Delete Files or Keep Files depending on your need. If you choose to keep the files, the user profile data of the admin account will remain inside the C:\Users folder.
  7. Click on Delete account.

Through Command-line Interfaces

You can also use the command-line interfaces such as Command Prompt and PowerShell to delete the admin account. You will only need to use one command to check the user account list and another to delete an account. 

However, this process won’t remove the user profile folder, so you may need to remove it manually afterward.

On Command Prompt

  1. Open Run.
  2. Type cmd and press Ctrl + Shift + Enter to open the Elevated Command Prompt.
  3. Type net user and press Enter to list the user accounts.
  4. Then, type net user "User name" /delete while replacing the “User name” with the appropriate admin account name and press Enter.
    command-prompt-net-user-delete

On PowerShell

  1. Open Run.
  2. Type powershell and press Ctrl + Shift + Enter to open the Elevated Windows PowerShell.
  3. Use the cmdlet Get-LocalUser to list out the available user accounts.
  4. Type Remove-LocalUser -Name "User name" while replacing “User name” with the admin account’s name and press Enter to delete the user account.
    powershell-get-local-user-remove-localuser-name

Using Local Users and Group

Another way you can remove the administrator account from Windows without deleting the user profile folder is through Local Users and Groups. 

This is the only method that allows you to delete the currently logged in account as well. If you do so, you won’t see the account after you sign out.

However, make sure that there is at least one other admin account on your system and that you know its password before deleting the current logged in admin account. Otherwise, you won’t be able to log in to Windows and will need to restore or reset the system.

  1. Open Run by pressing Windows + R.
  2. Type lusrmgr.msc and press Enter to open Local Users and Groups.
  3. Expand Users and right-click on the admin account.
  4. Select Delete > Yes.
    local-users-and-groups-lusrmgr-msc-admin-account-delete
  5. Make any other confirmations if necessary.

Using Netplwiz Utility Tool

Netplwiz is another tool that you can use to specify advanced settings for your user accounts. It also allows removing an account, regardless of whether it is an admin account or not. However, similar to the last few methods, it doesn’t affect the user profile folder.

  1. Open Run.
  2. Type netplwiz and press Enter to open the Netplwiz utility.
  3. Select the administrator account.
  4. Click on Remove > Yes.
    netplwiz-admin-account-remove

Through the Registry Editor

Your registry stores the records of all available user accounts in your system. You can actually delete the relevant registry key for an admin account to remove it from your system.

While it does not remove all other records of the account, your system stops thinking that it contains such an account, so you won’t see it on the login screen or other utilities mentioned above.

You can even delete the hidden administrator using this method, but I don’t recommend doing so as it can bring some system issues.

Warning: Deleting a registry key is a very risky process and if you make any mistakes, it can break your system. Also, you might encounter issues if you create another account with the same name afterwards. So, it’s better to back up your registry beforehand to be safe.
  1. Open Run.
  2. Type regedit and press Enter to open the Registry Editor.
  3. Go to Computer\HKEY_LOCAL_MACHINE\SAM\SAM
  4. Right-click on SAM and select Permissions.
    registry-sam-permissions
  5. Select Administrators and click on the Allow checkbox for Full control.
  6. Click Apply and OK.
    sam-permission-administrators-allow-full-control-ok
  7. Press F5 to Refresh the editor.
  8. Expand SAM\Domains\Account\Users\Names
  9. Right-click on the admin account name and select Delete > Yes.
    sam-domains-account-users-names-delete
  10. Restart your computer.

You can also delete your Microsoft accounts from Computer\HKEY_USERS\.DEFAULT\Software\Microsoft\IdentityCRL\StoredIdentities

how-to
Abhishek Silwal
  • LinkedIn

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems. You can contact him at abhisheksilwal@technewtoday.com

Related Posts

how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
how to free up ram

How to Free Up Memory

August 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 26, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.