Learn 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.

Contents

Preparation

To prepare for this activity:

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

View Users

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.

Add a User Account

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.

Delete a User Account

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.
    • If you see “syntax of this command is:”, check spelling and spacing.
  3. Type net user and press Enter to confirm the user account has been deleted.
  4. Close the command prompt to complete this activity
CÓ THỂ BẠN QUAN TÂM

Được đóng lại, nhưng trackback và pingback được mở.