Create new user account windows 10 cmd

To create a new user account in Windows 10 using the Command Prompt (Cmd), you can use the following steps:

Method 1: Using the built-in net user command

  1. Open the Command Prompt as an administrator. To do this, right-click on the Start button and select "Command Prompt (Admin)".
  2. Type the following command and press Enter:
    net user <username> /add

    Replace <username> with the desired username for the new account.

For example:

net user john /add

This will create a new user account with the specified username.

Method 2: Using the wmic command

  1. Open the Command Prompt as an administrator.
  2. Type the following command and press Enter:
    wmic useraccount create /name:<username>

    Replace <username> with the desired username for the new account.

For example:

wmic useraccount create /name:john

This will create a new user account with the specified username.

Method 3: Using the dsadd command

  1. Open the Command Prompt as an administrator.
  2. Type the following command and press Enter:
    dsadd user <username> /password:* /fullname:"<full name>"

    Replace <username> with the desired username for the new account, and <full name> with the full name of the user.

For example:

dsadd user john /password:* /fullname:"John Doe"

This will create a new user account with the specified username and full name.

Note: The dsadd command is only available in Windows 10 Pro, Enterprise, and Education editions.

After creating the new user account, you can set a password for the account using the net user command:

net user <username> *

Replace <username> with the username of the new account. This will prompt you to set a password for the account.

That's it! You have successfully created a new user account in Windows 10 using the Command Prompt.