Active Directory Users and Computers (ADUC) is the primary Microsoft Management Console (MMC) snap-in for managing objects in an Active Directory domain. It allows administrators to create, modify, move, disable, and delete users, groups, computers, and organizational units (OUs). This guide covers everything a Windows Server administrator needs to know to work effectively in ADUC.
How to Open Active Directory Users and Computers
- Server Manager: Tools → Active Directory Users and Computers
- Run dialog: Press Win + R, type
, press Enterdsa.msc
- On Windows 10/11 (RSAT): Install via PowerShell as Administrator:
Add-WindowsCapability -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 -Online
Enabling Advanced Features
In ADUC: View → Advanced Features. This reveals hidden containers and adds the Attribute Editor tab to object properties — essential for troubleshooting and direct attribute modification.
Managing User Accounts
Create a New User
Right-click the target OU → New → User. Fill in the first name, last name, and User logon name (UPN). Set the initial password and select the appropriate password options.
New-ADUser `
-Name "John Smith" `
-SamAccountName "jsmith" `
-UserPrincipalName "[email protected]" `
-Path "OU=Users,OU=IT,DC=contoso,DC=com" `
-AccountPassword (ConvertTo-SecureString "P@ssw0rd!" -AsPlainText -Force) `
-Enabled $true `
-ChangePasswordAtLogon $true
Reset a Password
Set-ADAccountPassword -Identity jsmith -Reset `
-NewPassword (ConvertTo-SecureString "NewP@ss123!" -AsPlainText -Force)
Set-ADUser -Identity jsmith -ChangePasswordAtLogon $true
Unlock a Locked Account
Get-ADUser -Identity jsmith -Properties LockedOut | Select-Object Name, LockedOut
Unlock-ADAccount -Identity jsmith
Disable and Enable Accounts
Disable-ADAccount -Identity jsmith
Enable-ADAccount -Identity jsmith
Managing Groups
New-ADGroup `
-Name "IT-Admins" `
-GroupScope Global `
-GroupCategory Security `
-Path "OU=Groups,OU=IT,DC=contoso,DC=com"
Add-ADGroupMember -Identity "IT-Admins" -Members jsmith
Get-ADGroupMember -Identity "IT-Admins" | Select-Object Name, SamAccountName
Managing Organizational Units (OUs)
New-ADOrganizationalUnit `
-Name "Workstations" `
-Path "OU=IT,DC=contoso,DC=com" `
-ProtectedFromAccidentalDeletion $true
Move-ADObject `
-Identity "CN=PC001,CN=Computers,DC=contoso,DC=com" `
-TargetPath "OU=Workstations,OU=IT,DC=contoso,DC=com"
Finding Objects with Advanced Search
Right-click the domain or an OU → Find. Switch to Custom Search for LDAP queries. Useful filters:
| Task | LDAP Filter |
|---|---|
| Find all disabled users |
(userAccountControl:1.2.840.113556.1.4.803:=2) |
| Find users with no password expiry |
(userAccountControl:1.2.840.113556.1.4.803:=65536) |
| Find locked accounts |
(lockoutTime>=1) |
Delegation of Control
In ADUC: right-click the OU → Delegate Control. Grants specific AD permissions without making users Domain Admins — essential for helpdesk teams.
| Team | Delegated Permission | Scope |
|---|---|---|
| Helpdesk | Reset passwords, unlock accounts | Users OU |
| HR team | Create and delete user accounts | HR OU only |
| Server team | Join computers to domain | Computers OU |
ADUC vs PowerShell: When to Use Each
| Task | Use ADUC | Use PowerShell |
|---|---|---|
| Create one user | ✅ Faster | Either works |
| Create 50 users from CSV | ❌ Not practical | ✅ Import-Csv + New-ADUser loop |
| Browse OU structure visually | ✅ Better | ❌ Not visual |
| Bulk disable inactive accounts | ❌ One at a time | ✅ Search-ADAccount + Disable-ADAccount |
| Scheduled/automated tasks | ❌ Manual only | ✅ Script and schedule |
Conclusion
Active Directory Users and Computers remains the most practical tool for day-to-day AD administration. For routine tasks involving single objects, the GUI is fast and intuitive. For bulk operations or automation, PowerShell with the ActiveDirectory module is the right choice. Most experienced AD admins use both depending on the task.