Learn how to add a new user to your Windows computer using the command prompt. You must have administrator rights to do this, because standard user accounts cannot create new accounts. You cannot use the command prompt to create a Microsoft account.
Steps

Step 1. Open the Start menu

Click on the logo Windows at the bottom left of your screen.

Step 2. Find the Command Prompt
Type command prompt for this.

Step 3. Right click on Command Prompt

This is at the top of the start window. When you right click on it, a drop down menu will appear.

Step 4. Click Run as administrator
This can be found in the drop-down menu.

Step 5. Choose Yes when it appears
The Command Prompt window will open.

Step 6. Type the command add user
It uses the format net user username password / add, where username is the name you want to use for the new user and password is the password to assign to the account.
- For example, to add a user named Maeva with bonjour123 as a password, you must enter net user maeva bonjour123 / add.
- If you don't want to use a password for the account, don't enter a password, just net user username / add instead.

Step 7. Press Enter
This executes the command and the user account will be created.
Once you see the phrase The command completed successfully, your user has been added

Step 8. Grant the user administrator rights
If you want to change the user account to an administrator account, type net localgroup administrators username / add at the command prompt, making sure to replace username with the name of the account you want to change. Then press Enter.