How to Add and Delete User Accounts with Command Prompt on Windows

Access Command Prompt

How to Add and Delete User Accounts with Command Prompt on Windows Picture 1

Open the Start menu on your computer. You can do this by clicking the Start button in the lower left corner of the screen. Please note that if you want to add/remove users, you need to log in with an Administrator account.

You can also press the key ⊞ Winto open the Start menu.

How to Add and Delete User Accounts with Command Prompt on Windows Picture 2

Type "Command Prompt" into the Start menu search bar. The Command Prompt application will appear at the top of related search results.

You can also hold down the ⊞ Win+ key combination Xto open the quick access menu with Command Prompt.

How to Add and Delete User Accounts with Command Prompt on Windows Picture 3

Right click on the Command Prompt icon. A drop-down menu will appear.

How to Add and Delete User Accounts with Command Prompt on Windows Picture 4

Click "Run as administrator" in the drop-down menu. You will not be able to access Command Prompt in Administrator mode if you only use a guest account.

If you're opening the quick access menu, just click the "Command Prompt (Admin)" option. Do not use regular Command Prompt options.

How to Add and Delete User Accounts with Command Prompt on Windows Picture 5

Click "Yes" in the pop-up window. You will access Command Prompt as administrator.

Add and delete users

How to Add and Delete User Accounts with Command Prompt on Windows Picture 6

Click the Command Prompt window. This helps you make sure the mouse pointer is active on the Command line.

How to Add and Delete User Accounts with Command Prompt on Windows Picture 7

More account. To proceed, type net user (tên người dùng) (mật khẩu) /addand press ↵ Enter. New users will be added to your account!

Replace the information in parentheses with the username and password you want to use; Remember to remove the parentheses.

How to Add and Delete User Accounts with Command Prompt on Windows Picture 8

Delete the account. To proceed, type net user (tên người dùng) /deleteand press ↵ Enter. The account you selected will disappear!

You will see the message "The command completed successfully" after successfully adding or removing an account.

How to Add and Delete User Accounts with Command Prompt on Windows Picture 9

Exit Command Prompt. So you know how to add and remove users on the Command Prompt application!

4.5 ★ | 2 Vote

May be interested

  • How to Reset Toshiba LaptopPhoto of How to Reset Toshiba Laptop
    resetting a toshiba laptop (or laptop) is a useful solution in case you want to restore the computer to factory settings and erase all data. although toshiba laptops do not come with recovery discs, you can reset them at any time using the recovery partition on your computer.
  • How to Change Directory in Command PromptPhoto of How to Change Directory in Command Prompt
    this article shows you how to change folders in the command prompt program on a windows computer. to change commands in command prompt, you must use an administrator account.
  • How to Change Your Computer's Date and Time Using Command PromptPhoto of How to Change Your Computer's Date and Time Using Command Prompt
    today's tipsmake will show you how to change the date and time on a computer running windows operating system through the command prompt application. if you don't have administrator access, you won't be able to change the date and time.
  • How to Change or Create Desktop Icons on WindowsPhoto of How to Change or Create Desktop Icons on Windows
    today's wikihow will show you how to change the icons that appear on your windows computer screen. you can change to another icon system, download it, or create your own icons. additionally, you can add your own custom shortcuts to your desktop, change the icons, and even remove the arrow on the shortcut icon.
  • How to Change Startup Program on Windows 7Photo of How to Change Startup Program on Windows 7
    the startup program is saved in a special folder on the hard drive, and runs automatically when windows starts. in windows 7, installing a startup program is similar to previous versions of windows. the article below will show you how to add or disable startup programs.
  • How to Fix Windows Computer Sound ErrorsPhoto of How to Fix Windows Computer Sound Errors
    sound errors are extremely common errors for computers running the windows operating system. normally, when using windows xp and windows 7 operating systems, you can easily fix the error by adjusting the settings or reinstalling the sound card. with a little patience and using a troubleshooter, you can fix the audio error yourself.