A messy Active Directory is easy to create and painful to clean. This guide builds the structure in the right order - OUs first, then users, then groups - so policy and delegation stay simple for years.
Most small networks grow like this: one default container, fifty user accounts dumped in together, and permissions given person by person until nobody knows who can open what. The fix is not a new tool - it is structure, decided before you create a single account. Below is the same order used in the video: plan the OU tree, create the OUs, create users inside them, then create security groups and hand out rights through the groups. Do it in this order and every later job - Group Policy, delegation, audits - becomes ten times easier.
An OU tree that mirrors the real office. Names above are examples - copy the pattern, not the names.
An OU is not just a folder. It is the unit you later use to apply Group Policy and to delegate small jobs like password resets. So design OUs around how the office is actually run:
Honest rule: if an OU does not change a policy or a delegation decision, it is decoration. Keep the tree shallow - three levels is plenty for most offices.
Open dsa.msc on the domain controller, right-click the domain, choose New → Organizational Unit, and build the tree from your plan. PowerShell does the same job and is easier to repeat:
New-ADOrganizationalUnit -Name "Delhi Office" -Path "DC=office,DC=local"New-ADOrganizationalUnit -Name "Accounts" -Path "OU=Delhi Office,DC=office,DC=local"Replace office.local with your own domain name everywhere in this guide. The structure matters, the example names do not.
Right-click the department OU → New → User. Two decisions here decide how clean your directory stays:
firstname.lastname - decided once and never broken, even for similar namesThe same account from PowerShell: New-ADUser -Name "Rahul Sharma" -SamAccountName "rahul.sharma" -UserPrincipalName "[email protected]" -Path "OU=Accounts,OU=Delhi Office,DC=office,DC=local" -Enabled $true -ChangePasswordAtLogon $true
Groups are how permissions stay manageable. Create one security group per resource - for example GRP-Accounts-Share for the accounts file share - then add users to the group, and give the share permission to the group only.
New-ADGroup -Name "GRP-Accounts-Share" -GroupScope Global -GroupCategory Security -Path "OU=Groups,OU=Delhi Office,DC=office,DC=local"Add-ADGroupMember -Identity "GRP-Accounts-Share" -Members "rahul.sharma"Honest warning: the day you give a folder permission to one person directly, you have started the mess this guide exists to prevent.
Finish with two habits that separate a maintained directory from a lucky one:
Get-ADUser -Filter * -SearchBase "OU=Delhi Office,DC=office,DC=local" - the list should show users only in their planned OUsThat is the whole foundation: a shallow OU tree that mirrors the office, users created under a naming rule, and every permission flowing through a group.
The full OU, user and group creation process - live on a real domain controller, step by step.
▶️ Watch Full VideoContainers such as Users and Computers are built-in and cannot take Group Policy or delegation. OUs are the objects you create yourself, and they are the ones policies link to and rights are delegated on. That is why new objects are always moved out of the default containers into your own OUs.
By whichever one changes policy or support responsibility. Most small companies need location first (each branch has its own support person), then department inside each branch. If one admin manages everything and policy differs by team, department-first is equally valid - pick one logic and stay consistent.
Shallow. Two to three levels cover almost every office: site, then department, then the Users and Computers split. Deep trees make policy inheritance hard to predict and slow down every future admin who has to understand your layout.