RODC: How to Defrag or Compact the Active Directory Database

A Read Only Domain Controller has the benefit of being able to perform administrative maintenance tasks without entering into Active Directory Restore Mode which previously required a reboot. The following command shows how to compact the Active Directory database from the command line. Before you start, remember not to leave the Active Directory Services stopped for a long period of time since replication of the active directory data will not occur during the period where it is shut down. Stop the Active Directory Services. From the command prompt with administrative privileges type ntdsutil and press enter type activate instance ntds … Continue reading RODC: How to Defrag or Compact the Active Directory Database