Net (command)/User

From Wikiversity
Jump to navigation Jump to search

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[edit]

To prepare for this activity:

  1. Start Windows.
  2. Log in if necessary.

Activity 1 - View Users[edit]

To view user accounts on your computer:

  1. Open an elevated/administrator command prompt.
  2. Type net user and press Enter.
  3. Observe the list of user accounts on your computer.

Activity 2 - Add a User Account[edit]

To add a user account to your computer:

  1. 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.
  2. Type net user and press Enter to confirm the user account has been added.

Activity 3 - Delete a User Account[edit]

To delete a user account from your computer:

  1. Type net user and press Enter to view user accounts on your computer.
  2. 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.
  3. Type net user and press Enter to confirm the user account has been deleted.
  4. Close the command prompt to complete this activity.

Readings[edit]

References[edit]