Back to Blog
Arnošt Havelka

User Mgmt

Add, remove, and manage user accounts with net user.

Start Interactive Lesson
User Mgmt

The net user command is the key to managing users from the command line. You can add new accounts, reset passwords, or delete users without clicking through Settings. Note: These commands typically require Administrator privileges.

Try the command

Add a new user!

Build the command
net user
/active:{yes|no}Activates or deactivates the user account.
Terminal
C:\Users\User>net user JohnDoe P@ssword123 /add

Common Operations

1. View User Details

See when a user last logged in, password expiration, and group memberships.

Command Prompt
C:\Users\User>net user Guest

2. Add a New User

Create a new account quickly.

Command Prompt
C:\Users\User>net user NewUser 12345 /add

3. Change a Password

Reset a user's password.

Command Prompt
C:\Users\User>net user NewUser NewPassword!

Knowledge Check

1 / 3

Which command adds a new user?

References

These documentation links provide authoritative details for the commands used in this article.

Up Next

System Info

Get detailed hardware and software specifications.