Unable to boot the server after performing a BMR
Symptom
When the source machine is an Active Directory server performing a BMR to a physical machine with different hardware or to a virtual machine on a Hyper-V server, the server does not boot and a blue screen displays with the following message:
STOP: c00002e2 Directory Services could not start because of the following error: a device attached to the system is not functioning. Error status: 0xc0000001.
Solution
Follow these steps:
- Power on the Domain Controller.
- When the machine is powering on, press F8 before the OS begins to load and select the Directory Service Restore mode.
- Rename all the *.log files (edb.log and edbtmp.log) in the C:\Windows\NTDS folder. For example, rename the file edb.log to edb.log.old
- Run the following command:
esentutl /p "C:\Windows\NTDS\ntds.dit"
- It repairs a corrupted Active Directory database in the default location.
- To continue the repair process, click OK.
- Restart the system.
If the issue persists, contact Microsoft support for more assistance.