I have two Windows 2012 servers, SVR1 and SVR2.
Initialy SVR1 was PDC, and SVR2 DC.
Then due to NTDS database errors on SVR1 that caused Azure AD Sync to stall, SVR2 got promoted to PDC and SVR1 was demoted and removed from the AD.
When the problem with Azure AD Sync was identified as successfully solved, SRV1 was reinstalled as a DC but it's SYSVOL folder is remaining empty and is not being shared.
The Sysvol shares DFRS replication state on SVR1 is 2 ('Initial Sync'), on SVR2 it is 5 ('In Error'), and the DFSR Replication eventlog on SVR2 shows this error:
The DFS Replication service stopped replication on the replicated folder at local path C:\Windows\SYSVOL\domain.
Additional Information:
Error: 9075 (The content set is read-only and can't be a primary)
Additional context of the error:
Replicated Folder Name: SYSVOL Share
Replicated Folder ID: 90D03954-301C-4C2E-8BA9-96DBACF396CD
Replication Group Name: Domain System Volume
Replication Group ID: 6AF91133-D1E5-4767-8BC3-54CCC6CEF7D7
Member ID: 6FCC89FE-3F11-4119-8EAF-B16F8A86F958
I have tried my best google-fu but have so far come up short.
At this point I am inclined to just remove SVR1 (again), and promote some new freshly installed 2016 server, but I hope there maybe is an other solution, and I can keep the current servers running.
Regards
Ulrik