Host is Server 2012 with single Hyper-V guest which is a Domain Controller. When booting the DC it gives a Blue Stop Error: 0xc00002e2 and then reboots. After third reboot it shows a recovery console with options for
*Continue
*Troubleshoot
*Turn off your PC
I choose troublehsoot and open a command prompt and when I tried to run
SFC /scannow
But receive the error: Windows Resource Protection could not start the repair service.
I tried to run
chkdsk /r
And receive the error: Windows cannot run disk checking on this volume because it is write protected.
I can boot into DSRM but I'm not sure how to proceed. I try to demote the DC, but receive this error when supplying credentials:
Error verifying credentials: verification of user credential permissions failed. Failed to examine the Active Directory forest. The error was: The operation cannot continue because LDAP connect/bind operation failed: error 58. Ther specificied server cannot perform the requested operation.)
Best Answer
I'm going to go out on a limb and assume that this is not your only domain controller.
Delete the DC's computer object from Active Directory Users and Computers using a version of RSAT for Vista/2008 or later. Then, go into the AD Sites & Services snap-in and delete any reference to it in there. Then, reinstall the OS and promote the server again.
If directory services won't start, you can't do a clean demotion, so this is the best way to clean up a DC that's being taken out of service without a proper demotion. This is also why you can't demote in DSRM.
If this is your only DC, then do what Ryan says and pray for a miracle.