syg_hira's tech memo

windows server関連のTipsのおぼえがき

STOP: c00002e2 ... when boot domain controller on Hyper-V

I had a windows 2008 R2 active directory domain controller, it's running on hyper-v virtual machine.
The DC had a NTDS directory on D drive.
The VM had used a differencial VHD.
I had merge the virtual disk from differencial to new single vhd.

After merging VHD, attach the new VHD and boot domaincontroller.
I had encount the error as bellow.


STOP: c00002e2 Directory services could not start because of the following error:

Error Status: 0xc000001.
please shutdown this system and reboot into Directory Services restore Mode, check the event log for more detailed information.


Resolution

  1. Press F8 key on start up
  2. Select "Directory Service Restore mode" and Press Enter
  3. Log on as ".\Administrator" with the password for "Directory Service Restore mode".
  4. Open NTDS directory("D:\NTDS" in my case, Windows default may be "C:\Windows\NTDS")
  5. rename "*.log"(rename to "*.log.bak" in my case)
  6. restart VM