Skip to content
Tech Master Tech Master

OneStopTechnical Forum

  • Books
  • AI
  • Networking
  • Windows
  • Linux
  • Cloud
  • Mac
  • Active Directory
  • Azure
  • Cloud
  • Exchange
  • M365
  • Server 2025
  • Storage
  • Vsphere
  • Website
  • Database
  • Security
  • Knowledge Base
  • VPN
Tech Master
Tech Master

OneStopTechnical Forum

Active Directory replication troubleshooting

blog.payperitem.com, April 3, 2025
🔍 Step 1: Identify the Replication Issue
  1. Check Replication Status Run the following command to detect any replication errors:
  2. powershell
  3. repadmin /showrepl Look for failure codes in the output.
  4. Force Replication and Check Errors powershellCopyEditrepadmin /syncall /AdeP
    • /A – All partitions
    • /d – Shows changes
    • /e – Enterprise-wide
    • /P – Push replication
  5. Check AD Event Logs Open Event Viewer (eventvwr.msc) and navigate to:
    • Directory Service Logs (Event ID 1865, 2042, 1311, 1988 indicate replication problems)
    • DNS Server Logs (if DNS is involved)

⚠️ Step 2: Common Causes and Fixes

1️⃣ Network Connectivity Issues

  • Verify DCs can communicate using:
  • powershell
  • Test-NetConnection <DC-IP> -Port 135
  • Use ping, tracert, or PathPing to check for delays.
  • Ensure firewalls allow necessary ports:
    • RPC (TCP 135)
    • LDAP (TCP/UDP 389)
    • Kerberos (TCP/UDP 88)
    • SMB (TCP 445)
    • DNS (TCP/UDP 53)

2️⃣ DNS Misconfiguration

  • Ensure correct DNS settings (dcdiag /test:dns /v).
  • All DCs should use internal DNS, not external (e.g., Google DNS 8.8.8.8).
  • Check DNS zones for stale or missing records (nslookup, dnscmd).

3️⃣ Time Sync Issues

  • Run:
  • powershell
  • w32tm /query /status
  • Ensure all DCs sync time with a valid NTP source (PDC Emulator should sync with an external NTP).

4️⃣ USN Rollback / Tombstoned DC

  • If a DC was restored from an old backup, it may be in a “lingering object” state.
  • Check for lingering objects:
  • powershell
  • repadmin /removelingeringobjects <Source_DC> <Dest_DC_GUID> <NamingContext>
  • If a DC is tombstoned (default is 60 days of no replication), consider demoting and re-promoting it.

5️⃣ Global Catalog (GC) & FSMO Role Issues

  • Check if GC is enabled on key DCs:
  • powershell
  • Get-ADForest | Select-Object GlobalCatalogs
  • Check FSMO role holders: powershellCopyEditnetdom query fsmo
    • If a role holder is offline, seize the role using ntdsutil.

🔄 Step 3: Force Replication & Reset Services

  1. Restart Active Directory Services
  2. powershell
  3. net stop ntds && net start ntds Or restart all dependent services: powershellCopyEditnet stop netlogon && net start netlogon
  4. Manually Trigger Replication
  5. powershell
  6. repadmin /replicate <DestinationDC> <SourceDC> DC=Domain,DC=com
  7. Rebuild SYSVOL & Netlogon If policies or scripts are missing:
  8. powershell
  9. net stop dfsr cd C:\Windows\SYSVOL\domain rd /s /q policies net start dfsr Then run: powershellCopyEditdfsrdiag pollad

🛠 Step 4: Escalation & Recovery

  • If a DC is beyond repair, consider: powershellCopyEditdcpromo /forceremoval Then clean metadata: powershellCopyEditntdsutil metadata cleanup
  • For large-scale failures, restore from a system state backup.

🚀 Final Verification

Run:

powershell

dcdiag /c /v /e

And ensure repadmin /showrepl shows no errors.

Active Directory Server 2025 Website Windows

Post navigation

Previous post
Next post

Related Posts

SoftEther VPN Server – Default Ports to Open

April 17, 2025April 18, 2025

To run a SoftEther VPN Server properly, you’ll need to ensure specific ports are open both on your firewall and ISP (or NAT router). Here’s is the list of the default and recommended ports: 🔐 SoftEther VPN Server – Default Ports to Open Protocol Port Purpose TCP 443 HTTPS VPN…

Read More

Download Professional Windows Desktop and Server Hardening PDF

April 9, 2025April 9, 2025

​”Professional Windows Desktop and Server Hardening” is a comprehensive guide that offers practical advice on enhancing the security of Microsoft Windows desktops and servers. The book emphasizes configuring default security settings before deploying additional security products, providing readers with a solid foundation in understanding significant security threats and implementing effective…

Read More

Configure Outlook with Gmail

April 3, 2025April 3, 2025

tep 1: Enable IMAP in Gmail Step 2: Generate an App Password (For 2FA Accounts) If your Gmail account has 2-Step Verification enabled, you must generate an App Password: Step 3: Configure Outlook Step 4: Test and Verify

Read More

Recent Posts

  • List of AD Schema Versions
  • OldNewExplorer Free Download For Windows 11, 10, 8 and 7 [Latest Version]
  • How to Get the Classic (old) Context Menu on Windows 11
  • BitLocker Recovery Keys
  • Active Directory and Server hardening

Recent Comments

No comments to show.
June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« May    
Log in
©2025 Tech Master | WordPress Theme by SuperbThemes
  • Login
  • Sign Up
Forgot Password?
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
body::-webkit-scrollbar { width: 7px; } body::-webkit-scrollbar-track { border-radius: 10px; background: #f0f0f0; } body::-webkit-scrollbar-thumb { border-radius: 50px; background: #dfdbdb }