Question: how to restore active directory domain services?
Answer: Click Start menu / Administrative Tools / System Configuration. On the Boot tab, click Safe boot / Active Directory repair and choose OK. In the System Configuration dialog box, click Restart. The domain controller restarts in DSRM.