How to Add and Delete Users Accounts With Command Prompt in Windows
Adding and deleting user accounts with Command Prompt in Windows can be useful for system administrators who need to manage multiple accounts quickly and efficiently. Here are the steps to add and delete user accounts with Command Prompt in Windows:
Adding a User Account: 1. Open Command Prompt by pressing the "Windows key + R" and typing "cmd" in the Run box.
2. Type the following command: net user username password /add, where "username" is the name of the new user account and "password" is the desired password for that account.
3. Press Enter to create the new user account. You can now log in to the new account with the password you just created.
Deleting a User Account: 1. Open Command Prompt by pressing the "Windows key + R" and typing "cmd" in the Run box.
2. Type the following command: net user username /delete, where "username" is the name of the user account you want to delete.
3. Press Enter to delete the user account. Windows will ask you to confirm the deletion before proceeding.
Note: You need administrative privileges to create or delete user accounts with Command Prompt.