T The Triage ManualTechnical Guides for IT Emergencies
P2 · Active Directory

AD Replication Failure between DCs

Domain controllers are not replicating, or a decommissioned DC has left stale metadata in Active Directory. Changes made on one DC do not appear on others; stale DC objects cause replication errors, DNS pollution, and KCC failures. If left unresolved, the directory diverges and tombstone lifetime becomes a hard deadline.

Indicators

Likely causes

Diagnostic steps

  1. repadmin /showrepl <dc> /errorsonly — surface the actual error code first
    Identifies specific replication errors and error codes per DC partner
  2. repadmin /replsummary — total view across the domain
    Provides a domain-wide summary of replication success and failure counts
  3. dcdiag /test:replications /test:dns /test:advertising on each DC
    Runs targeted health checks on replication, DNS, and DC advertisement
  4. Check connectivity DC-to-DC: portqry on 135/389/445/3268/53; firewall logs if cross-site
    Rules out network or firewall blockages as the root cause
  5. For 8606 (lingering objects): repadmin /removelingeringobjects from a known-good source
    Removes lingering objects that block strict replication consistency
  6. If a DC was offline >tombstone lifetime: do not allow it to replicate — demote and rebuild
    Prevents USN rollback and directory divergence from a tombstone-exceeded DC
  7. Get-ADDomainController -Filter * | Select-Object Name, Site, IsGlobalCatalog, OperationMasterRoles, IPv4Address — enumerate registered DCs to identify stale entries
    Confirms which DC objects still exist in AD and pinpoints the stale object to be removed
  8. netdom query fsmo — identify which FSMO roles are assigned to the potentially dead DC
    FSMO roles on a dead DC must be seized to a surviving DC before metadata cleanup proceeds
  9. Get-ADObject -Filter {ObjectClass -eq 'nTDSDSA'} -SearchBase 'CN=Sites,CN=Configuration,DC=domain,DC=com' -Properties * | Select-Object DistinguishedName, Name — check for stale NTDS Settings objects
    Confirms the NTDS Settings object is still present and must be removed as part of metadata cleanup
  10. Get-DnsServerResourceRecord -ZoneName 'yourdomain.com' | Where-Object { $_.RecordData -like '*<OldDCName>*' } — enumerate stale DNS records
    Identifies A, PTR, and SRV records that must be removed after the DC object is cleaned up

Resolution path

Prevention

Tools

References

active-directoryreplicationrepadmindcdiaglingering-objectsmetadata-cleanupntdsutilfsmodecommissionwindows-serverdomain-controllerdnsad-ds