Question: how to restore active directory in windows server 2008 r2?
Answer: To do this you will need to boot into DSRM (Directory Services Restore Mode) by restarting your server and pressing F8 during the restart.
Choose Directory Services Restore Mode from the Advanced Boot menu.