Active Directory DC did not authenticate and replicate

Yesterday I got a problem in an Active Directory environment. A DC stopped to authenticate users.

The first problem was easy to find and is typical. The time on this DC was several years behind. I know, not really common to have such a time shift, but the symptoms were clear. So this was fixed very quickly.

Event:

But I still didn’t know the root of this problem. After some brain work and research,  I found out, that the ESXi host it was running on was in the past, exactly the same time shift.

That the ESXi host is behind didn’t really care, but even I unchecked to sync the time over VMtools with the guest (the DC in this case), I couldn’t understand why the guest was updated with the time.

Then I found the information that explained the whole problem. Even the flag to sync the time on a VM is unchecked, during a start of a VM, the “hardware” clock will still be set to the ESXi host time.

Now I thought the problem is solved, but today an other event popped up:

We can imagine what the cause was, because the date of the last successfully replication in the message speaks for it self.

The event description contains almost all information needed to fix this (see also this page).
Because I knew there weren’t any lingering objects to clean, i used the hard method with the registry key.

If not already exist, create a DWORD value “Allow Replication With Divergent and Corrupt Partner” in the following key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters” and set it to “1”.

After some manual “Replicate Now” in “Active Directory Sites and Services” and some minutes, the replication succeed again between the DC’s.
To check the replication the following command could be used on the affected DC’s:

 

 

Important: Do not forget to revert the key back to “0”.

 

 

About 

Currently not much to say.
Just another geek which want to share some experience and also write it down to keep some stuff documented.

    Find more about me on:
  • facebook
  • googleplus
  • twitter

Leave a Reply

Your email address will not be published. Required fields are marked *