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

RECOMMENDED: Download PC Repair tool to quickly find and fix Windows errors automatically

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.

RECOMMENDED: Download PC Repair tool to quickly find and fix Windows errors automatically

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

Related Articles

  • 4 Ways To Check If You Have Administrator Rights In Windows 11
  • How To Create A Local User Account In Windows 11
  • How To Install Windows 11 Without A Microsoft Account
  • How To Create Local User Account Without Password In Windows 10
  • How To Remove Or Change Local Account Password In Windows 10
  • How To Change Windows 10 Account Username

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

  • Pin File Explorer & Documents Folders To Start Menu In Windows 11
  • Where Is The Documents Folder In Windows 11/10?
  • 4 Ways To Check If You Have Administrator Rights In Windows 11
  • How To Reinstall Microsoft Solitaire Collection In Windows 11
  • Can We Change The Clock’s Position On Windows 10/11 Lock Screen?
  • How To Open The Start Menu Without Windows Key In Windows 10/11
  • How To Reset WhatsApp In Windows 11/10
  • Fix: Save Button Grayed Out In Microsoft Office Word, Excel, & PowerPoint
  • Keyboard Shortcuts To Shutdown And Restart Windows 11
  • Use Power Button To Shut Down Or Hibernate Windows 11 PC

Advertisements

About us

  • About Us
  • Contact Us
  • Privacy Policy

Copyright © 2022 · Into Windows