Dealing with a state Active Directory

I recently got the opportunity to revisit Client L, based in Dorset. I’ve worked with them before in creating a mobile infrastructure.

Mobile, in this instance, is talking about it being an infrastructure that can:

  1. Set up in a mobile location
  2. Power up the infrastructure
  3. Complete the work required for a couple of months
  4. Power off the infrastructure
  5. Disassemble the location

So there were problems replicating the GPO files between the domain controllers. A quick look at the DFS logs showed the second domain controller was out of sync, as it hadn’t been replicating for over 500 days. Hardly surprising, as that was the design requirements.

A quick conversation found that not all servers were powered on when the previous refresh was completed. Since the Directory was out of sync, we were looking at an authoritative synchronization of DFSR-replicated sysvol replication.

In a nutshell, the process is as follows:

  1. Turn off DFS Replication Service and set to Manual.
  2. Using ADSIEdit, set the Primary DC as Authoritive and disable the DFSR.
  3. Using ADSIEdit, disable the DFSR on the other DC(s).
  4. Force Active Directory replication throughout the domain.
  5. Start the DFSR service on the Primary DC.
  6. Using ADSIEdit, enable the DFSR on the Primary DC.
  7. Force Active Directory replication throughout the domain.
  8. Use DFSRDIAG on the Primary DC.
  9. Start the DFSR service on the other DC(s).
  10. Using ADSIEdit, enable the DFSR on the other DC(s).
  11. Use DFSRDIAG on the other DC(s).
  12. Return the DFSR service to its original Startup Type (Automatic) on all DCs.

A couple of hours later, and the directory was syncing properly.

For more information, see the following Microsoft documents on “Authorative and Non-authoritive Replications

About the author