Question: how to check domain controller database?
Answer: Start the server in Directory Services Restore Mode.
Once you log on with the Directory Services Restore Mode Administrator account, open a command prompt.
At the command prompt, type ntdsutil and press Enter.
Type activate instance ntds and press Enter.
From the ntdsutil: prompt, type files and press Enter.