Would you like to learn how to create a local user account using the command-line? In this tutorial, we are going to show you how to use the command-line to create a local user account on a computer running Windows.
• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
Windows – Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Windows.
Tutorial – Creating a user account using the Command-line
As an Administrator, start a new command-line prompt.
Create a local user account.
In our example, we created a local user account named: Gohan
The following password was set to this user account: Kamisama123@@
Keep in mind that you need to change the username and password.
Here is the command output:
Verify the existence of the new user account.
Here is the command output:
Configure the new user account as a member of a local group.
In our example, the user was configured as a member of the local administrator group.
Verify if the user account is a member of the local group named Administrators.
Here is the command output:
Congratulations! You are able to create a user account using a DOS command-line.