AD-DCD-04 - Non-Global Catalog DC count should be retrievable
Overviewโ
Global Catalogs (GCs) maintain a partial replica of all objects in the Active Directory forest, enabling:
- Forest-wide searches: Users can search for objects across all domains in the forest
- Universal group membership caching: Required for authentication when universal groups are used
- Efficient authentication: Users can be authenticated even when their home domain's DC is unavailable
In a single-domain environment, all domain controllers should be Global Catalogs for optimal performance and redundancy. There's no downside to making all DCs GCs when there's only one domain.
In a multi-domain forest, proper Global Catalog placement is critical:
- Each site should have at least one GC for optimal authentication performance
- Too few GCs can cause authentication delays and failures
- Too many GCs can increase replication traffic
Security Recommendationโ
- Single-domain forests: Configure all DCs as Global Catalogs
- Multi-domain forests: Ensure each site has at least one GC, preferably in the same site as the users
- Monitor GC health: Regularly verify GCs are functioning properly
- Plan for GC failure: Ensure redundant GC coverage for business-critical sites
- Universal group considerations: If not using universal groups, GC requirements may be reduced, but GCs still provide benefits for directory searches
How the Test Worksโ
This test retrieves all domain controllers and identifies which are configured as Global Catalogs. The test reports:
- Total number of domain controllers
- Number of DCs configured as Global Catalogs
- Number of DCs not configured as Global Catalogs
- Names of non-GC DCs (if any exist)
- Forest domain count to provide context for the configuration
The test provides different guidance based on whether the forest is single-domain or multi-domain.
Related Testsโ
Test-MtAdDcReadOnlyCount- Analyzes RODC deploymentTest-MtAdDcSiteCoverageCount- Analyzes DC distribution across sitesTest-MtAdForestDomainCount- Determines the number of domains in the forest
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-DCD-04 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.DomainController |
| PowerShell test | Test-MtAdDcNonGlobalCatalogCount |
| Tags | AD, AD-DCD-04, AD.DomainController |
Sourceโ
- Pester test:
tests/ad/domaincontroller/Test-MtAdDcNonGlobalCatalogCount.Tests.ps1 - PowerShell source:
powershell/public/ad/domaincontroller/Test-MtAdDcNonGlobalCatalogCount.ps1

