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

Command Prompt is basically a version of the 'Terminal' application (Apple) on Windows, a program that allows us to enter system adjustment commands. While most commands users enter into Command Prompt simply execute the action itself (such as opening a folder), you can also use Command Prompt to quickly create (or delete) accounts. right on your computer!

Access Command Prompt

How to Add and Delete User Accounts with Command Prompt on Windows Picture 1How 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 2How 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 3How 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 4How 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 5How 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 6How 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 7How 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 8How 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 9How 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