Net (command)/User
Net is a Windows command used to view and modify network settings. These activities will show you how to use the net user command.
Note: To complete this activity, you must have an administrative user account or know the username and password of an administrator account you can enter when prompted.
Preparation
editTo prepare for this activity:
- Start Windows.
- Log in if necessary.
View Users
editTo view user accounts on your computer:
- Open an elevated/administrator command prompt.
- Type net user and press Enter.
- Observe the list of user accounts on your computer.
Add a User Account(fr works)
editTo add a user account to your computer:
- Open cmd with Administrator and Type net user username password /add, where username is the name of the new user and password is the password for the new user account. For example, if the username is Bill and the password is Passw0rd, you would type net user Bill Passw0rd /add. Then press Enter.
- Type net user and press Enter to confirm the user account has been added.
Please note that passwords with a dollar-sign ($) are not allowed.
Delete a User Account
editTo delete a user account from your computer:
- Type net user and press Enter to view user accounts on your computer.
- Type net user username /delete, where username is the name of the user you wish to delete. For example, if the username is Bill, you would type net user Bill /delete. Then press Enter.
- If you see "syntax of this command is:", check spelling and spacing
- Type net user and press Enter to confirm the user account has been deleted.
- Close the command prompt to complete this activity.