How to Add and Delete Users Accounts With Command Prompt in Windows
When it comes to managing user accounts on a Windows computer, Command Prompt can be a powerful tool. Whether you need to add a new user or delete an existing one, Command Prompt allows you to perform these actions quickly and efficiently.
Add a User Account
To add a new user account using Command Prompt, follow these steps:
- Open Command Prompt with administrative privileges by searching for ‘cmd’ in the Windows search bar, right-clicking on ‘Command Prompt,’ and selecting ‘Run as administrator.’
- Once Command Prompt is open, type the following command and press Enter: net user username password /add (replace ‘username’ with the desired username and ‘password’ with the desired password).
- The new user account will be created, and you can now log in using the provided username and password.
Delete a User Account
If you need to delete a user account, follow these steps:
- Open Command Prompt with administrative privileges.
- Enter the following command to delete the user account: net user username /delete (replace ‘username’ with the username of the account you want to delete).
- Once the command is executed, the user account will be deleted from the system.
Using Command Prompt to manage user accounts in Windows is a convenient way to handle user permissions and access. By following these simple steps, you can efficiently add and delete user accounts as needed.