Into Windows

  • Home
  • Windows 11
  • Windows 10
  • Windows 7
  • Privacy
You are here: Home » Windows 8 Guides » How To Add Or Remove User Account Using Command Prompt

How To Add Or Remove User Account Using Command Prompt

Last Updated on April 5, 2020 by admin 5 Comments

Have you ever been in a situation where you struggled to create a user account in Windows Control Panel? Do you want to create or delete a user account right from the Command Prompt? If so, read on this guide.

Creating a new user account is pretty easy in Windows 8. Just open the Metro Control Panel, go to Users and click Add a user button. In Windows 8, you can’t actually create a new user account from old Control Panel. When you click Add a new user option in the old Control Panel, it opens the Metro Control Panel. So, Metro Control Panel is the fastest and easiest way to create a new user account.

What if the Metro Control Panel is missing from your Windows 8 Start screen or you can’t open the Control Panel for some other reasons?

A user account can be added from the Command Prompt as well. All you need to do is execute a simple command and your new user account is ready!

Here is how to create a user account in Windows from Command Prompt:

Step 1: Open Command Prompt with admin privileges. To do this, type CMD in Start menu search box and simultaneously press Ctrl + Shift + Enter keys.

If you are a Windows 8 user, type CMD in Start screen and hit Ctrl + Shift + Enter keys to open elevated prompt. Click Yes for the confirmation prompt. You can also follow our how to run a program as administrator in Windows 8 guide to know more.

Step 2: In the Command Prompt, type the following command and hit enter key:

net user username password /add

(in the above command, replace “username” with your a custom name and password with a strong password to secure your account)

Create User Account From Command Prompt

Please note that you run the above command in elevated prompt. Running the command without admin rights will show “Access denied” error.

How to delete a user account from Command Prompt:

Step 1: Open elevated Command Prompt.

Step 2: Type the following Command and hit enter key:

net user username /delete

(replace “username” with the user account name which you would like to delete)

Delete User Account From Command Prompt

Please note that the above command also works in XP, Vista, and Windows 7.

Filed Under: Windows 8 Guides Tagged: Command Prompt, User Account

Related Posts

  • Launch Elevated Command Prompt From Command Prompt
  • How To Remove User Account Password In Windows 10
  • How To Add Command Prompt Option To Win+X Power User Menu In Windows 8.1
  • How To Add Password To Local User Account In Windows 10
  • How To Change Standard User Account To Admin Account In Windows 10
  • How To Delete User Accounts In Windows 10

Comments

  1. Ash Singh says

    September 17, 2014 at 1:50 am

    Did not work maybe I did it wrong I don’t know

  2. admin says

    December 8, 2011 at 7:00 pm

    It works on Windows 8 as well. In fact, as you can see in the screenshot, it was performed on Windows 8 only.

  3. Sols says

    December 7, 2011 at 12:18 pm

    Thank you :D And what about windows 8 ?

  4. admin says

    December 7, 2011 at 10:19 am

    Yes, both commands should work in older versions of Windows too.

  5. Sols says

    December 6, 2011 at 11:32 pm

    Hello,

    You said “Please note that the above command also works in XP, Vista, and Windows 7.” Is this command “net user username /delete” ? I understood this right ?

Leave a Reply

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

Advertisements

Search Into Windows

Recent posts

  • 5 Ways To Go To Desktop In Windows 11
  • How To Show Battery Percentage On Taskbar In Windows 11
  • Fix: AMD Software Adrenalin Edition Not Opening In Windows 11
  • How To Show Year On Windows 11 Taskbar
  • Windows 11 24H2 Is Available Now
  • How To Create 7z & TAR Files In Windows 11 Without Using Additional Apps
  • How To Remove Bell Icon From Taskbar In Windows 11
  • How To Reinstall Windows 11 Without Losing Apps And Files
  • How To Hide/Show Files & Icons On Desktop In Windows 10/11
  • How To Show Hidden Icons On Taskbar In Windows 11

About us

  • About Us
  • Contact Us
  • Privacy Policy

Copyright © 2025 · Into Windows