🎙️ [Audio Lecture] Active Directory, Part 3: What Sites Are Really For, Checking a DC's Health, and How GPOs Apply
How to Listen to This Lecture
Hello, and welcome to Part 3 of the Active Directory lecture series. Part 2 covered what an SPN actually points to, the Netlogon secure channel, why Kerberos authentication never sends your password, FSMO, and how replication works. Today we move into territory that’s more directly tied to day-to-day operations: three themes — what sites are really for, how to check whether a DC is healthy, and the order in which GPOs actually apply. This stands on its own, but it builds nicely on everything covered so far, so listening in order is still recommended. As before, no tables, code blocks, or diagrams here — just spoken-style prose.
Sites Aren’t Just About Replication
Last time, we talked about sites, the deliberate delay in cross-site replication, and the cost value the KCC automatically calculates. But there’s another important role sites play that we haven’t touched on yet: deciding which DC a client should query when it logs on or performs Kerberos authentication.
A site is actually tied to IP subnets. If an office’s network segment is registered to a particular site, a client sitting in that office recognizes it belongs to that site, and preferentially talks to a DC within that same site. What happens if that mapping isn’t set up correctly? The client can’t recognize its true site, and ends up querying whatever distant DC happens to respond, every single time it authenticates. This is one of the most common real-world causes behind the frequently reported complaint of “logon is slow.” Keep in mind that mapping sites to subnets isn’t just about making replication more efficient — it’s also about making everyday authentication fast.
Reading a DC’s Health With dcdiag and repadmin
Next: how do you check whether a DC is healthy? The two representative commands here are dcdiag and repadmin.
dcdiag checks a very broad range of items all at once — everything a DC needs to function correctly. Is DNS registration correct, are the services running, is replication working — item after item gets displayed. Here’s a crucial real-world mindset: just because dcdiag’s output shows some error or warning doesn’t mean it’s necessarily a critical problem that demands immediate attention. A newly promoted DC that hasn’t fully finished its configuration yet, for instance, can temporarily show errors on certain items. Conversely, an error on a replication-related item, left alone, frequently develops into something serious. The judgment call of distinguishing which errors have a legitimate reason to be ignored from which need attention right now is exactly what’s required here.
repadmin is a command specialized for looking at replication status in more detail. In particular, repadmin’s showrepl option displays, in a list, which other DCs a given DC last received replication from, and when. What matters here isn’t just whether an error appears, but how recent that last success time actually is. Even with no error showing, if the last success time is still stuck days in the past, you should suspect something is wrong with that replication path.
GPOs Apply in Local, Site, Domain, OU Order
Finally, the order in which GPOs, Group Policy Objects, apply. This is one of the single most confusing points when troubleshooting in real-world work.
A GPO applies in a fixed order: the local computer’s own settings, a GPO linked to the site, a GPO linked to the domain, and finally a GPO linked to the OU. Many people remember this by its initials, LSDOU. And this application works by letting whatever applies later override whatever applied earlier. In other words, the OU’s GPO — the most specific scope — ends up with the strongest final influence.
But there are two important exceptions here. The first is blocking inheritance. Block inheritance on a given OU, and that OU’s children stop being affected by a GPO coming from above it — from the domain or the site. The second is the enforced setting. Mark a GPO as enforced, and its content still gets applied without fail, even if a lower OU has blocked inheritance. When both blocking inheritance and enforcement exist at once, remember the clear priority rule: enforcement always wins.
There’s also the scenario, within the very same GPO, of wanting it to apply only to specific users or groups. That’s where security filtering comes in. Even though the GPO itself is linked to an OU, narrowing down which group has read-and-apply permission for that GPO effectively lets you apply the setting to only specific members within that OU.
And when you actually want to push a GPO’s setting to a client right now, you use the gpupdate /force command. Conversely, when you want to check which GPOs are actually, currently applying as a result on a given client, you use the gpresult /r command. In a troubleshooting scenario, when someone reports “the policy I set isn’t taking effect,” the real-world standard first move is checking gpresult’s output and seeing whether the GPO you expected is actually in that list at all.
Today’s Recap
That’s it for today. Let’s recap. Sites aren’t just about making replication more efficient — they’re also about which DC a client authenticates against, which affects everyday logon speed. dcdiag checks a broad range of items at once, but you need the judgment to tell which of its errors demand immediate attention. With repadmin’s showrepl, you should watch not just whether an error appears, but how recent the last success time actually is. And GPOs apply in Local, Site, Domain, OU order, with whatever applies later overriding whatever came before — except for two exceptions, blocking inheritance and enforcement, plus further narrowing via security filtering.
Next time, we’ll cover LDAP and the schema — the lower-level mechanisms closely tied to AD DS — along with a recap tying together everything covered across this whole hands-on series. Thanks for listening. That’s all for today.