What Windows Server and AD are and how they work
Windows Server is a server operating system used to build an organisation’s infrastructure: an account directory, DNS and DHCP, file services, Hyper-V virtualisation. Its main role is Active Directory Domain Services (AD DS): a single database of users, computers and policies for the whole network.
You need a domain when an office has ten or more Windows computers: one password works on every machine, and an administrator grants permissions from a single place. A couple of Linux servers do not need a domain; separate local accounts are enough for them.
AD DS is a directory service: it stores objects (user, computer, server and printer accounts) in a hierarchical database and answers queries against it. Sign-ins are checked against this database by the Kerberos protocol: after one sign-in, no computer in the domain asks for the password again.
What a domain consists of
The AD logical model is a set of nested containers, independent of the physical network. At the top is the forest: the shared directory rules and search across the whole organisation. Inside a forest are domains, where accounts and their passwords live. Domains in the same forest are joined by two-way transitive trusts. Inside a domain are organizational units (OUs), where an administrator groups objects for policies and delegation.
The physical model is machines and the network. A domain controller (DC) is a server with the AD DS role that holds its own copy of the domain database and handles user sign-ins. The copies are replicated between controllers, so the failure of one does not stop the network. A site is a group of subnets with fast links: clients use a controller in their own site, and replication between sites runs on a schedule.
What a domain gives you
With a domain account, an employee signs in to any machine in the fleet with one password: Kerberos issues tickets both for the sign-in and for access to a file server or printer. The administrator manages the fleet from one place. Rules are set by group policy: a policy is linked to an OU, and its settings apply to the computers and users inside it. Besides policies, you can delegate permissions in an OU: let someone reset the passwords of their own department without granting rights over the whole domain.
Add-Computer -DomainName example.com -Restart| Level | What it contains | Why it matters |
|---|---|---|
| Forest | Schema, configuration, global catalog | Shared rules and search across the whole organisation |
| Domain | Accounts, passwords, domain policies | Boundary for sign-in and replication |
| Organizational unit (OU) | Users, computers, groups, other OUs | Group policy and delegation |
| Site | Subnets with fast links | Clients use the nearest controller |
When you need AD and when you do not
AD DS is created for a fleet of Windows computers: it provides single sign-on, group policy and centralised accounts. A domain is not built from a few Linux servers, which have their own access mechanisms. If a company needs a cloud directory without its own controllers, Microsoft offers Microsoft Entra ID, a cloud identity management service; a detailed comparison is beyond the scope of this reference.
What to know first
- The “TCP/IP and DNS” reference: IP addressing and name resolution. AD DS relies on DNS: controllers and clients find each other through DNS records.
- The “Virtualisation” reference: a domain controller is often deployed in a virtual machine, so the basics of VMs will help.
Section sources
the section is written from these pages- Active Directory Domain Services overviewlearn.microsoft.com/en-us/windows-server/identity/ad-ds/get-started/virtual-dc/active-directory-domain-services-overview(opens in a new tab)
- Understanding the Active Directory Logical Modellearn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/understanding-the-active-directory-logical-model(opens in a new tab)
- Reviewing OU Design Conceptslearn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/reviewing-ou-design-concepts(opens in a new tab)