Skip to main content
Version: 2.2.1-preview

AD-DFSR-01 - DFS-R subscription count should be retrievable

Overviewโ€‹

DFS-R (Distributed File System Replication) is the modern, recommended technology for replicating SYSVOL content between domain controllers:

  • Reliability: DFS-R is more reliable than the legacy FRS (File Replication Service)
  • Scalability: Better handles large SYSVOL contents and many DCs
  • Conflict Resolution: Superior handling of file conflicts
  • Migration Status: Indicates whether the domain has migrated from FRS to DFS-R

Microsoft recommends migrating from FRS to DFS-R for all domains. A count of DFS-R subscriptions compared to DC count shows migration coverage.

Security Recommendationโ€‹

  • Migrate all domains from FRS to DFS-R if not already done
  • Ensure all domain controllers have DFS-R subscriptions
  • Monitor DFS-R replication health regularly
  • Document any DCs without DFS-R subscriptions
  • Plan migration for any remaining FRS-based SYSVOL replication

How the Test Worksโ€‹

This test counts DFS-R subscription objects and reports:

  • Total DFS-R subscription count
  • Domain controller count
  • Coverage percentage (subscriptions vs. DCs)
  • Details of subscription objects
  • Test-MtAdDisabledReplicationConnectionCount - Checks AD replication connection health

Test Metadataโ€‹

FieldValue
Test IDAD-DFSR-01
SeverityInfo
SuiteActive Directory
CategoryAD.Replication
PowerShell testTest-MtAdDfsrSubscriptionCount
TagsAD, AD-DFSR-01, AD.Replication

Sourceโ€‹

  • Pester test: tests/ad/replication/Test-MtAdDfsrSubscriptionCount.Tests.ps1
  • PowerShell source: powershell/public/ad/replication/Test-MtAdDfsrSubscriptionCount.ps1