Hello,
We have a virtual infrastructure with 2 Domain Controllers present (DC1 and DC2 for reference). DC1 holds all FSMO roles and is server 2012. DC2 holds the Certification Authority Service and is server 2008.
The person that was performing the Windows updates last week had issues with DC2 updates and could not access the server. As a precaution, the user created a snapshot of the server before the updates on DC2 and reverted it once they could not access
the machine. It has been discovered that, since this has been done, there have been DC replication errors.
On DC2, I ran the command "repadmin /syncall /AeD". Every answer came back with the message "SyncAll terminated with no errors."
I then followed the post that was marked as the answer in the topic https://social.technet.microsoft.com/Forums/windowsserver/en-US/459fbea4-0380-4e8e-b32c-072ad0256d81/netlogon-service-stops-after-ever-restart-on-dc?forum=windowsserver2008r2general which
mentioned to delete the registry key "DSA Not Writable"
(REG_DWORD) and its value is 0x4, located within "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters" and then restarting the server might fix the issue. This removed the "The Active Directory Domain Services database
has been restored using an unsupported restoration procedure" error message, but I am still getting the "Outbound replication has been disabled by the user" and "Inbound replication has been disabled by the user" warnings.
The information I found suggested that I should fix the metadata for DC2 after forcing the server off the Domain with dcpromo. This is not possible due to the server running the Certification Authority Service. I would restore via backups but
too much data had been written to the DC2 before this was discovered and a restoration of the server would cause too many issues.
Any ideas on how to get this replication working again? It has caused login issues when a server was trying to authenticate via DC2 before DC1 and unsure what other issues could be caused.
Thanks
Below are the error messages for this issue on DC2:
Log Name: Directory Service
Source: Microsoft-Windows-ActiveDirectory_DomainService
Date: 27/09/2016 21:09:48
Event ID: 2095
Task Category: Replication
Level: Error
Keywords: Classic
User: DOMAIN\DC1$
Computer: DC2.DOMAIN.LOCAL
Description:
During an Active Directory Domain Services replication request, the local domain controller (DC) identified a remote DC which has received replication data from the local DC using already-acknowledged USN tracking numbers.
Because the remote DC believes it is has a more up-to-date Active Directory Domain Services database than the local DC, the remote DC will not apply future changes to its copy of the Active Directory Domain Services database or replicate them to its direct and transitive replication partners that originate from this local DC.
If not resolved immediately, this scenario will result in inconsistencies in the Active Directory Domain Services databases of this source DC and one or more direct and transitive replication partners. Specifically the consistency of users, computers and trust relationships, their passwords, security groups, security group memberships and other Active Directory Domain Services configuration data may vary, affecting the ability to log on, find objects of interest and perform other critical operations.
To determine if this misconfiguration exists, query this event ID using
http://support.microsoft.com or contact your Microsoft product support.
The most probable cause of this situation is the improper restore of Active Directory Domain Services on the local domain controller.
User Actions:
If this situation occurred because of an improper or unintended restore, forcibly demote the DC.
Remote DC:
e989faee-3cda-4f2e-91c3-a20f993d4e55 (DC1.DOMAIN.LOCAL)
Partition:
DC=DOMAIN,DC=LOCAL
USN reported by Remote DC:
12876327
USN reported by Local DC:
12876192
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-ActiveDirectory_DomainService"
Guid="{0e8478c5-3605-4e8c-8497-1e730c959516}" EventSourceName="NTDS Replication" />
<EventID Qualifiers="49152">2095</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>5</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2016-09-27T20:09:48.271799500Z" />
<EventRecordID>7393</EventRecordID>
<Correlation />
<Execution ProcessID="508" ThreadID="2184" />
<Channel>Directory Service</Channel>
<Computer>DC2.DOMAIN.LOCAL</Computer>
<Security UserID="S-1-5-21-3333000009-351869350-3691052627-6150" />
</System>
<EventData>
<Data>e989faee-3cda-4f2e-91c3-a20f993d4e55 (DC1.DOMAIN.LOCAL)</Data>
<Data>DC=DOMAIN,DC=LOCAL</Data>
<Data>12876327</Data>
<Data>12876192</Data>
<Data>Ignore USN Rollback</Data>
<Data>Dsa Not Writable</Data>
</EventData>
</Event>
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Log Name: Directory Service
Source: Microsoft-Windows-ActiveDirectory_DomainService
Date: 27/09/2016 21:09:48
Event ID: 2103
Task Category: Service Control
Level: Error
Keywords: Classic
User: DOMAIN\DC1$
Computer: DC2.DOMAIN.LOCAL
Description:
The Active Directory Domain Services database has been restored using an unsupported restoration procedure.
Active Directory Domain Services will be unable to log on users while this condition persists. As a result, the Net Logon service has paused.
User Action
See previous event logs for details.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-ActiveDirectory_DomainService"
Guid="{0e8478c5-3605-4e8c-8497-1e730c959516}" EventSourceName="NTDS Replication" />
<EventID Qualifiers="49152">2103</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>12</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2016-09-27T20:09:48.287423500Z" />
<EventRecordID>7394</EventRecordID>
<Correlation />
<Execution ProcessID="508" ThreadID="2184" />
<Channel>Directory Service</Channel>
<Computer>DC2.DOMAIN.LOCAL</Computer>
<Security UserID="S-1-5-21-3333000009-351869350-3691052627-6150" />
</System>
<EventData>
</EventData>
</Event>
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Log Name: Directory Service
Source: Microsoft-Windows-ActiveDirectory_DomainService
Date: 27/09/2016 21:09:48
Event ID: 1113
Task Category: Replication
Level: Warning
Keywords: Classic
User: DOMAIN\DC1$
Computer: DC2.DOMAIN.LOCAL
Description:
Inbound replication has been disabled by the user.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-ActiveDirectory_DomainService"
Guid="{0e8478c5-3605-4e8c-8497-1e730c959516}" EventSourceName="NTDS Replication" />
<EventID Qualifiers="32768">1113</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>5</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2016-09-27T20:09:48.301094500Z" />
<EventRecordID>7395</EventRecordID>
<Correlation />
<Execution ProcessID="508" ThreadID="2184" />
<Channel>Directory Service</Channel>
<Computer>DC2.DOMAIN.LOCAL</Computer>
<Security UserID="S-1-5-21-3333000009-351869350-3691052627-6150" />
</System>
<EventData>
</EventData>
</Event>
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Log Name: Directory Service
Source: Microsoft-Windows-ActiveDirectory_DomainService
Date: 27/09/2016 21:09:48
Event ID: 1115
Task Category: Replication
Level: Warning
Keywords: Classic
User: DOMAIN\DC1$
Computer: DC2.DOMAIN.LOCAL
Description:
Outbound replication has been disabled by the user.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-ActiveDirectory_DomainService"
Guid="{0e8478c5-3605-4e8c-8497-1e730c959516}" EventSourceName="NTDS Replication" />
<EventID Qualifiers="32768">1115</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>5</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2016-09-27T20:09:48.301094500Z" />
<EventRecordID>7396</EventRecordID>
<Correlation />
<Execution ProcessID="508" ThreadID="2184" />
<Channel>Directory Service</Channel>
<Computer>DC2.DOMAIN.LOCAL</Computer>
<Security UserID="S-1-5-21-3333000009-351869350-3691052627-6150" />
</System>
<EventData>
</EventData>
</Event>
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Log Name: Directory Service
Source: Microsoft-Windows-ActiveDirectory_DomainService
Date: 03/10/2016 15:41:51
Event ID: 2103
Task Category: Service Control
Level: Error
Keywords: Classic
User: ANONYMOUS LOGON
Computer: DC2.DOMAIN.LOCAL
Description:
The Active Directory Domain Services database has been restored using an unsupported restoration procedure.
Active Directory Domain Services will be unable to log on users while this condition persists. As a result, the Net Logon service has paused.
User Action
See previous event logs for details.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-ActiveDirectory_DomainService"
Guid="{0e8478c5-3605-4e8c-8497-1e730c959516}" EventSourceName="NTDS General" />
<EventID Qualifiers="49152">2103</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>12</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2016-10-03T14:41:51.828125000Z" />
<EventRecordID>7527</EventRecordID>
<Correlation />
<Execution ProcessID="508" ThreadID="2992" />
<Channel>Directory Service</Channel>
<Computer>DC2.DOMAIN.LOCAL</Computer>
<Security UserID="S-1-5-7" />
</System>
<EventData>
</EventData>
</Event>