Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Non-auto replication connection count should be investigated

AD-REPL-02InfoActive DirectoryReplication

Part of Active Directory · Active Directory · Replication · All checks

Run this check
Invoke-Maester -TestId AD-REPL-02

Non-auto-generated (manual) replication connections bypass the Knowledge Consistency Checker (KCC) automatic topology generation. While sometimes necessary for specific scenarios, manual connections require careful management:

  • Topology Bypass: Manual connections don’t benefit from automatic optimization and failover
  • Documentation Gap: Manual connections may lack proper documentation of their business purpose
  • Operational Debt: Accumulated manual connections from past troubleshooting may no longer be needed
  • Security Risk: Undocumented connections may hide unauthorized replication paths

Operational

  • Prefer auto-generated connections for standard replication topology
  • Document all manual connections with business justification
  • Regularly audit manual connections to ensure they are still required
  • Remove manual connections that are no longer needed
  • Use manual connections only for specific scenarios like site bridging

This test retrieves all Active Directory replication connections and identifies:

  • Auto-generated vs. manual connections
  • Count and percentage of manual connections
  • Total replication connection count
  • Test-MtAdDisabledReplicationConnectionCount - Identifies disabled replication connections
Every attribute of this check
FieldValue
Test IDAD-REPL-02
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureReplication
AreaInfrastructure hardening
Resource typeDomainController
MITRE ATT&CKNone
PowerShell testTest-MtAdNonAutoReplicationConnectionCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:nTDSConnection:ReadProperty