Question: how to remove orphaned dc from active directory?
Answer: Open the Active Directory Sites and Services console, expand the Sites object till you find the DC you want to delete. Here, right-click the NTDS Settings icon on the DC, and then click Delete. Confirm the deletion by pressing Yes. Confirm again while accepting the warnings by clicking the Delete button.