Today, Mytour will guide you through the process of adding a new user to a Windows computer using Command Prompt. Please note: you must have administrator rights to do this, as standard user accounts cannot create new user accounts. Also, Command Prompt cannot be used to create a Microsoft Account.
Steps



Search for Command Prompt. Type command prompt to find the app.



Click Run as administrator from the dropdown menu. This option is available in the dropdown menu.

Click on Yes when prompted. The Command Prompt window will appear.

Enter the command "add user". The command "add user" follows this structure: net user username password /add, where "username" is the desired username, and "password" is the password you want to assign to that account.
- For example, to add a user named "Michael" with the password "hello123", you would type net user Michael hello123 /add.
- If you wish to create a user account without a password, simply omit the password and use net user username /add instead.

Press ↵ Enter. The command will execute and start creating the user account.
- If the message "The command completed successfully" appears, it means the user has been successfully added.

Grant administrator privileges to the user. To assign administrator rights to a user account, type net localgroup administrators username /add in the Command Prompt, replacing "username" with the desired account name. Then press ↵ Enter.
- For example, to make the "Michael" account an administrator, you would enter net localgroup administrators Michael /add and press ↵ Enter.
Tip
- By default, any user created via Command Prompt will always be a standard account (not an administrator).
Warning
- If you are not logged into an administrator account, you will not be able to use Command Prompt to add a new user.
