Would you like to learn how to create a domain user account using the command-line? In this tutorial, we are going to show you how to use the command-line to create a user account on the Active Directory.
• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7
Equipment list
The following section presents the list of equipment used to create this tutorial.
As an Amazon Associate, I earn from qualifying purchases.
Windows Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Windows.
Tutorial Windows – Create a domain user account using the command-line
As an Administrator, start a new command-line prompt.
Create a domain user account.
Here is the command output:
In our example, we created a domain user account named Gohan.
The new user account will be created in the Active Directory organizational unit named Users.
Keep in mind that you need to change the username and password.
List all domain user accounts.
Verify the existence of the new user account.
Here is the command output:
Configure the new user account as a member of a domain group.
In our example, the user was configured as a member of the domain admins group.
Verify if the user account is a member of the domain group.
Here is the command output:
Congratulations! You are able to create a domain user account on the Active Directory using the command-line.