How to use Net User command on Windows 10

Windows is a GUI based OS. Users get an easy-to-use interface for complex tasks such as creating a new user and setting permissions for it, among other things. Many complex tasks are performed with a few clicks but many can be done from the command line.

Net user order

Windows 10 has plenty of command line tools; some devices do not have a UI like the ping tool and can only be used from the command line. The Diskpart tool is another good example of a command line tool but it has a GUI equivalent app ie the Disk Management utility.

Net User is a command line tool on Windows 10 that allows users to manage user accounts on the system. The tool supports all kinds of commands and switches that can be placed on top of the main command to change.

The tool can be used to;

  • Create a new user
  • Delete an existing user
  • Change user
  • Change the permissions for a user
  • Release the superintendent
  • Set an expiration date for the account
  • Get a user to change their password when they log in

The list is pretty long list of things you can use.

Use plain user commands

To use the net user resource, you need to know what commands you use and what those commands do. To begin with;

  1. Open Command Prompt with administrative rights.
  2. Enter net user and tap Enter
  3. This command returns all users configured on the system.
  4. You can change the command with switches to perform other operations.
  5. View user information
Net user [username]


Net user fatiw

Create a new user

Use this command to create a new user where you need to replace the username and password for the new user and the password you want to set for them. The square brackets can go, they are not part of the system.

net user [username] [password]

Delete user

The above command can be modified to delete a user.

net user [username] /delete

Net user commands and switches

The net user utility it supports has a large number of commands and switches. You can read the full list, and what they do on official documents released by Microsoft here.

To use them, follow this general agreement:

net user [<UserName> {<Password> | *} [<Options>]] [/domain]

net user [<UserName> {<Password> | *} /add [<Options>] [/domain]]

net user [<UserName> [/delete] [/domain]]

The square brackets are not part of the system and are no larger than and smaller symbols however the star, and the slash are part of it and should not be removed.


The net user utility is best used to unlock, or to hide, the super admin user. Most users know that the GUI is a much easier way to create or modify a user account. Some operations may be easier to manage with this tool eg, deleting a user or forcing a user to change their password. However, you should be careful with it as you may delete your user and their files.

The post How to Use Net User Command on Windows 10 appeared first on TechtricksNg.