Command prompt for create new user windows 10
To create a new user account in Windows 10 using the Command Prompt, you can use the following command:
net user <username> /add
Replace <username>
with the name you want to give to the new user account.
For example, to create a new user account named "john", you would use the following command:
net user john /add
This will prompt you to set a password for the new user account. You can enter a password and confirm it, and then press Enter to create the new user account.
If you want to create a new user account with a specific password, you can use the following command:
net user <username> *<password>*
Replace <username>
with the name you want to give to the new user account, and <password>
with the password you want to set for the new user account.
For example, to create a new user account named "john" with the password "password123", you would use the following command:
net user john *password123*
Note that you can also use the net user
command to modify existing user accounts, such as changing the password or setting the account to be a member of a specific group. For more information, you can type net user /?
at the Command Prompt to see the available options.