How to Add and Delete Users Accounts With Command Prompt in Windows
Command Prompt, which is essentially Windows' version of Apple's 'Terminal' app, allows you to enter system-altering commands. While most user commands one might enter in Command Prompt are easier to carry out by simply performing the...
Part 1 of 2:
Accessing the Command Prompt
- Open your PC's Start menu. You can do this by clicking the Start button in the bottom left corner of your screen. Please note that, in order to add or delete users, you'll need to be on an Administrator account.
- You can also tap the ⊞ Win button to do this.
- Type "Command Prompt" into your Start menu's search bar. The Command Prompt app should appear at the top of the relevant search results.
- You can also hold ⊞ Win and tap X to bring up the quick-access menu with Command Prompt in it.
- Right-click the Command Prompt icon. This will prompt a drop-down menu.
- Click "Run as administrator" in the drop-down menu. You won't be able to access Command Prompt in Administrator mode if you're using a guest account.
- If you're using the quick-access menu, just click the "Command Prompt (Admin)" option. Do not use the regular Command Prompt option.
- Click "Yes" on the pop-up window. This will allow you access to Command Prompt as an administrator.
Part 2 of 2:
Adding and Deleting Users
- Click on the Command Prompt window. This will make sure that your cursor is currently active on the Command line.[1]
- Add a user account. To do this, type net user (username) (password) /add and tap ↵ Enter when you're done. This will add a new user to your account!
- Replace the information in parentheses with an actual username and password; be sure to exclude the parentheses.
- Delete a user account. To do this, type net user (username) /delete and tap ↵ Enter when you're done. Your selected user account should be gone!
- You will see a line that says "The command completed successfully" after successfully adding or removing an account.
- Exit Command Prompt. Now you know how to add and delete users with the Command Prompt app!
4 ★ | 1 Vote
You should read it
- Use the Command Prompt to add or delete User accounts
- Add Command Prompt to Power User Menu on Windows 10
- How to use the command history function in Command Prompt
- Guide 5 ways to delete User accounts on Windows 10
- How to change Windows user account password using Command Prompt
- How to Change Directories in Command Prompt
- How to open Command Prompt on Windows 10, 8, 7, Vista and XP
- How to Make Command Prompt Appear at School
- 6 Best Command Prompt Alternatives for Windows
- How to use Xcopy command in Command Prompt
- Instructions for using Command Prompt
- All Frequency Restart, Shutdown, Remote Off ... with Command Prompt
Maybe you are interested
How to use the file search command on Windows, find saved files
Why is tldr command better than man command in Linux?
Should I use PowerShell or Command Prompt?
What to do when open command window here does not appear?
How to switch users on the Linux command line
How to fix Mac Homebrew error 'zsh: command not found: brew'