Active Directory Basics
Understand domains, users, groups, organizational units and Group Policy in plain words, find your way around the admin tools, and fix the access and policy problems a help desk sees every day.
Table of contents
Most offices that run Windows sign people in with Active Directory Domain Services (AD DS), usually just called Active Directory or AD. It is the company's master list of people and computers, plus the rules for what each one may do. When a nurse signs in to any computer on the unit with the same username, or a new hire's mapped drives appear on their first day, AD is doing the work. You will read it every day and change small parts of it, so learn how the pieces fit before you touch anything.
This guide was checked against Microsoft Learn documentation for Windows Server 2025 in November 2026. Your organization's layout, names and delegated rights will differ. Make changes only with the rights your job gives you and under your employer's procedures.
What You Will Be Able to Do
- Explain what a domain, a domain controller and an organizational unit are.
- Find a user or computer in the admin tools and read its key properties.
- Choose the right kind of group, and grant access through groups instead of to single users.
- Explain how Group Policy reaches a computer, and check which policies applied.
- Fix the common problems: new access not working, a policy not applying, a computer that lost its domain trust.
The Big Pieces
| Piece | What it is | Everyday example |
|---|---|---|
| Domain | One AD database and its rules | corp.example.com |
| Domain controller (DC) | A server that holds a copy of the domain and checks sign-ins | DC01, DC02 |
| Object | One item in the directory | A user, a computer, a group, a printer |
| Attribute | One fact stored on an object | Job title, phone number, manager |
| Organizational unit (OU) | A folder that holds objects | Staff, then Nursing inside it |
A company usually has two or more DCs so sign-ins keep working if one fails. A change you make lands on one DC and then replicates, or copies, to the others. Within one site that usually takes under a minute. Between sites it can take longer, so a change that "did not work" may just not have reached the DC the user's computer talks to yet.
A forest is the top level, a set of domains that trust each other. Most employers have one forest with one domain.
Names You Will See
Every user has more than one name, and tickets mix them up.
- User logon name, also called the user principal name (UPN):
jsmith@corp.example.com. Often the same as the email address. - Pre-Windows 2000 logon name:
CORP\jsmith. Older apps and some sign-in screens use it. - Display name: "Jordan Smith," what the address book shows.
- Distinguished name: the object's full address in the directory, such as
CN=Jordan Smith,OU=Nursing,OU=Staff,DC=corp,DC=example,DC=com. Read it right to left: domain, then OUs, then the object.
The Tools
| Tool | Opens with | Used for |
|---|---|---|
| Active Directory Users and Computers | dsa.msc | Users, groups, computers, OUs |
| Active Directory Administrative Center | dsac.exe | The same, plus the Recycle Bin |
| Group Policy Management Console | gpmc.msc | Creating, linking and reporting on policies |
| PowerShell Active Directory module | Get-ADUser and other cmdlets | Fast lookups and bulk changes |
On Windows 11 Pro or Enterprise, these come from the Remote Server Administration Tools (RSAT), added in Settings, usually under System, then Optional features. Many employers preinstall them.
Use the separate admin account your employer gives you for directory work, and your normal account for email and the web. If your daily account had admin rights, a single bad link could hand them to an attacker.
In Active Directory Users and Computers, turn on View, then Advanced Features, to see extra tabs such as Attribute Editor and Object. A quick PowerShell lookup looks like this:
Get-ADUser jsmith -Properties Title,Department,LockedOut,LastLogonDate
Organizational Units
An OU is a folder for organizing objects. Organizations build OUs by location, department or type, such as Staff, Service Accounts and Workstations. OUs do two jobs:
- Delegation. An admin can give the help desk the right to reset passwords only for users in certain OUs, without giving them control of the whole domain.
- Group Policy. Policies are linked to OUs, so where an object sits decides which settings it gets.
OUs do not grant access to files or apps. Groups do that. Moving a user from one OU to another can change their desktop settings, drive mappings and security rules, so never drag objects between OUs to tidy up.
The built-in Users and Computers folders look like OUs but are not. They are plain containers, and Group Policy cannot be linked to them. A computer that joins the domain lands in Computers by default unless your organization redirected it, so it gets only the domain-wide policies until someone moves it to the right OU. On the Object tab, the setting Protect object from accidental deletion blocks deletes until someone clears it on purpose.
Groups
A group collects users, computers or other groups so you can manage them as one. Microsoft's guidance is direct: assign permissions for shares and printers to a security group, not to individual users. When someone joins the team, you add them to one group instead of editing ten folders.
| Type | What it does | Example |
|---|---|---|
| Security group | Grants access to files, printers and apps, and can receive email | Billing-Share-Modify |
| Distribution group | Email list only, cannot grant access | All-Staff-Newsletter |
Each group also has a scope that sets where it can be used.
| Scope | Can contain | Usually used for |
|---|---|---|
| Global | Users and groups from its own domain | Role groups, such as Nurses-Unit4 |
| Domain local | Users and groups from any trusted domain | Permissions on one resource, such as a share |
| Universal | Users and groups from any domain in the forest | Multi-domain forests |
A common pattern is to put users in a role group (global), put the role group in a resource group (domain local), and give the resource group the permission. The names in your organization tell you which is which, so learn the naming rule before you add anyone to anything.
Warning: Groups such as Domain Admins, Enterprise Admins, Administrators and Account Operators carry broad control of the domain. Never add anyone to a privileged group, including yourself, without written approval through your change process.
Why New Access Does Not Work Yet
When a user signs in, Windows reads their group list and builds a pass, called an access token, that they carry for the session. Adding them to a group does not change the pass they already hold. Have them sign out and back in, or restart, before you troubleshoot further. On a slow VPN link the change may take even longer to reach them.
Group Policy in Plain Words
Group Policy pushes settings from the domain to computers and users: screen lock timers, mapped drives, printers, security rules, software. A Group Policy Object (GPO) is one named bundle of settings. A GPO does nothing until it is linked to a site, the domain or an OU.
Every GPO has two halves:
- Computer Configuration applies to the machine when it starts, no matter who signs in.
- User Configuration applies to the person when they sign in, on any machine.
Which Policy Wins
Policies apply in this order: the computer's own local policy, then site, then domain, then OUs from the top down. Each later one can overwrite an earlier one, so the OU closest to the object wins a conflict.
Two settings change that order:
- Enforced on a link means lower OUs cannot override that GPO.
- Block inheritance on an OU stops higher policies from applying, except enforced ones.
A GPO can also be filtered to certain security groups, so it applies only to members.
When Policy Arrives
After startup and sign-in, computers check for policy changes about every 90 minutes, plus a random delay of up to 30 minutes. Domain controllers check every 5 minutes. Some settings, such as folder redirection and software installs, apply only at sign-in or startup, so a refresh alone will not bring them.
Worked Example: The Missing Drive
A billing clerk says the new S: drive her coworkers got this morning is not on her computer.
- Check group membership. The drive is mapped by a GPO filtered to the Billing-Staff group. She was added an hour ago.
- Ask her to sign out and back in. Her old access token does not include the new group.
- Refresh policy. In a Command Prompt, she runs
gpupdate /force, which reapplies every setting, not only the changed ones. - Check what applied.
gpresult /rlists the GPOs that applied to the user and computer, and those that were filtered out and why. For a fuller report,gpresult /h report.htmlsaves one you can open in a browser. - Confirm. After signing back in, the S: drive appears, and the billing GPO shows as applied.
If it still fails, check that her user and computer sit in OUs the GPO is linked to, and escalate with the gpresult output.
Everyday Help Desk Tasks
| Task | Where | Watch for |
|---|---|---|
| Find a user | Users and Computers, Action menu, Find | Search by name, not by guessing OUs |
| Add to a group | User Properties, Member Of tab | Use the group the request names, no others |
| Disable an account | Right-click, Disable Account | A signed-in user stays signed in until they sign out |
| Unlock or reset | Right-click, Reset Password | Verify identity first |
| Check last sign-in | Get-ADUser with LastLogonDate | The value can lag by days across DCs |
When an account is disabled, the person cannot start a new sign-in, but a session already open keeps running. When an account is deleted, its group memberships and permissions go with it. You can bring it back only if the AD Recycle Bin was turned on before the delete, or from a backup. That is why most organizations disable first and delete much later.
Hybrid: AD and the Cloud
Many organizations copy AD accounts to Microsoft Entra ID, the cloud directory behind Microsoft 365 that was formerly called Azure Active Directory. A tool called Microsoft Entra Connect Sync does the copying, every 30 minutes by default.
For a synced user, AD is the source. Change their name, title, groups or status in AD, and the cloud copy updates at the next sync. The Microsoft 365 admin center blocks many edits to a synced user and tell you to make them on premises. If a change is urgent, ask the admin who runs the sync server to start an early sync.
Troubleshooting Table
| Symptom | Likely cause | First step |
|---|---|---|
| New share or app access does not work | Old access token | Sign out and back in |
| Policy setting is missing | Wrong OU, filtering, or not refreshed | gpresult /r, then gpupdate /force |
| "The trust relationship between this workstation and the primary domain failed" | Computer's account and AD disagree | Escalate to repair the secure channel or rejoin the domain |
| Sign-in fails with a time or clock error | Clock more than 5 minutes off from the DC | Fix the time sync, then retry |
| Change shows on one DC but not another | Replication delay | Wait a few minutes, or check the same DC |
| Cloud account did not update | Not synced yet, or edited on the wrong side | Edit in AD, wait for the sync |
The clock rule comes from Kerberos, the sign-in protocol AD uses. By default it rejects sign-ins when a computer's clock is more than 5 minutes off from the domain controller's, to stop replayed sign-ins.
Common Mistakes
| Mistake | What it costs |
|---|---|
| Granting a permission to one user | Access nobody can track or remove cleanly later |
| Moving objects between OUs to tidy up | Settings and security rules change without warning |
| Copying a coworker's account for a new hire | The new hire inherits years of extra access |
| Deleting instead of disabling | Access and data links are gone for good |
| Daily work in an admin account | One phishing click can take over the domain |
Check Your Understanding
1. A manager asks you to give a new employee access to the Payroll share by adding her name to the folder's permissions. What do you do instead?
Add her to the security group that already has access to the share, as long as the request is approved under your procedure. Then have her sign out and back in so her access token includes the group.
2. You moved a laptop from the Computers folder into the Workstations OU an hour ago, but it still does not have the screen lock setting. Why might that be, and what can you check?
It may not have refreshed policy yet, since computers check about every 90 minutes plus up to 30. Run gpupdate /force, then gpresult /r to confirm the Workstations GPO applied.
3. A domain GPO sets a 15-minute screen lock. A GPO linked to the Front Desk OU sets 5 minutes. Neither is enforced. Which applies to a front desk computer?
5 minutes. The OU closest to the computer applies last and wins the conflict.
4. A user sees "The trust relationship between this workstation and the primary domain failed." What does it mean, and should you fix it?
The computer's account and the domain no longer agree on the computer's password. The fix is to repair the secure channel or rejoin the domain, which needs local admin and domain join rights. Do it only if your role includes those rights. Otherwise escalate.
Key Takeaways
- AD is the master list of people and computers and the rules for each. Changes copy between domain controllers, so give them a minute.
- OUs organize objects and decide which policies apply. Groups grant access.
- Give permissions to groups, never to single users, and never add anyone to a privileged group without approval.
- New group access needs a sign-out and sign-in. New policy needs a refresh, and
gpresult /rshows what applied. - The closest OU wins a policy conflict unless a higher link is enforced.
- For synced users, AD is the source of truth. Edit there.