How to create users
"A user account in Active Directory is a digital identity that allows a person to access network resources like files, printers, and applications. It includes a username, password, and personal settings. Each account can be assigned permissions and group memberships to control what the user can do. User accounts are essential for security, as they help track who is accessing what and when. They also enable centralized login and management across all computers in the domain."
Creating these objects is really simple. Go to Server Manager > Tools > Active Directory Users and Computers (ADUC). In the "View" tab, enable "Advanced Features" so we can look at all objects.

On the "Users" container, right clikc it and select "New User".

Then we can configure its name and last name. I use the following scheme for AD accounts:
Name: John
Last name: Smith
User logon name: j.smith@boxcreator.htb

After that we fill in the password field and uncheck the first box, in order to check the one that says "Password never expires".

We have successfully created our first user account!
If we want to automate this using PowerShell, I made a script that creates 20 random users and assigns to them random passwords.

We can see their credentials in the text file it has created.
Written by ruycr4ft
Last updated