How To'sWindows

How To Use Net User Commands on Windows 10

Windows is a graphical user interface (GUI)-based operating system. A simple user interface simplifies the process of creating a new user and assigning permissions to that user. Few clicks accomplish many difficult operations, but many more can be done from the command line.

Net User Commands on Windows 10

Windows 10 features a variety of command-line tools, such as ping tool, Diskpart, and many other command-line tools examples, and some command-line tools have GUI counterpart apps i.e. the Disk Management utility.

Don’t Miss: How To Upgrade From Windows 10 To Windows 11? Easy Tutorial

It is possible to manage user accounts on Windows 10 using the command line utility Net User. In order to customize the primary command, the tool provides a wide range of additional commands and switches.

Net User Command Features:

  • Creating New User
  • Deleting an Existing User
  • Modify a User
  • Changing The Permission For A User
  • Unlock The Super Administrator
  • Setting An Expiry Date For The Account
  • Forcing Users To Change Your Password When They Sign-in

Net User Commands

To get the most out of the Net User utility, you’ll need to know what each command does and how to use it. To begin with;

  1. Open CMD as an Administrator
  2. Enter net user and tap Enter
  3. Command will return Users that is Configured on the System
  4. Modify Commands that Uses Switches to Perform other Operations
  5. View Information
Net user [username]
Net user noor

Creating New User

To create a new user, run the following command, replacing the username and password with the desired username and password for the new user. The square brackets can be removed from the syntax, as they are not necessary.

net user [username] [password]

Deleting an Existing User

The above command can be modified to delete a user.

net user [username] /delete

Commands And Switches

The Net User utility supports a wide range of commands and switches. You can see the complete list and what each one does in Microsoft’s official documentation here.

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

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

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

The square brackets and greater than and less than symbols are not part of the syntax, but the asterisk and slash are and should not be removed.

The super admin user can be unlocked or hidden with the Net User utility. For most users, the GUI is a more convenient method of creating a user account or making changes to it. This tool may make it easier to expire a user’s password or force a user to change their password. In any case, you should exercise caution because you could accidentally delete a user and their data.

William Keener

William is a tech writer at Hacktoday. He's been writing how-to guides for about 4 years now and has covered many topics. He loves to cover topics related to Windows, Android, and the latest tricks and tips.

Related Articles

Back to top button