Hello sdtechguy,
Thank you for posting on the Microsoft Community Forums.
Could you please confirm the number of domain controllers in your current AD environment?
How many of these domain controllers are encountering the 4012 error message?
- Please verify the status of AD replication on the domain controllers. Run the following commands on the Primary Domain Controller (PDC):
repadmin /showrepl > C:\rep1.txt
repadmin /replsum > C:\rep2.txt
repadmin /showrepl * /csv > C:\repsum.csv
- Backup the SYSVOL folder on each domain controller.
- Is the problematic domain controller not the Primary Domain Controller (PDC)? If indeed it's not the PDC, and if the SYSVOL on this problematic domain controller hasn't replicated with SYSVOL on other domain controllers, and if there are no issues with AD replication across the entire AD environment, you can perform a non-authoritative restore on this problematic domain controller. Force synchronization for Distributed File System Replication (DFSR) replicated sysvol replication - Windows Server | Microsoft Learn
- Alternatively, you can demote and remove the problematic server from the domain. Demoting Domain Controllers and Domains (Level 200) | Microsoft Learn
Best regards
Neuvi Jiang
============================================
If the answer is helpful, please click "Accept Answer" and vote for it.