Hello,
Thank you so much for your feedback.
Then I would recommend Dave's former suggestion. Firstly make sure that there is another domain controller where we could seize the roles or to make the AD environment could still work. Then we will demote the domain controller and perform the cleanup. For more information about these, we could refer to the links provided by Dave.
Then we will replicate the changed to all domain controllers in our environment. During the process, we will make sure there is no any error. Check if all DCs work fine by running Dcdiag /v on every DC. And check if AD replication is working properly by running repadmin /showrepl and repadmin /replsum on every DC.
If all work fine, we are able to promote the server as Domain Controller again.
Here is the discussion: https://patrickdbarros.com/2017/09/04/active-directory-error-0xc00002e2/
For any question, please feel free to contact us.
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Best regards,
Hannah Xiong
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.