• Home
  • Consulting
  • Contact Us
    • About this site
    • Contact Wayne
    • Media Room
    • Wayne’s Bio

SBSFAQ.COM

Supporting IT Pro's & MSP's since 2000

  • Blog
  • FAQs
  • Reviews
  • Downloads

How to resolve STOP Error c00002e2 when restoring from a backup into a virtual machine

December 9, 2016 by Wayne Small 1 Comment

We’ve done a DR for a new client this week that we picked up when their server failed.  Last known good backup was to tape drive a week ago, which is not ideal.

We were unable to fix the hardware of the server, but were able to get a cold image of it using ShadowProtect IT Edition.  We restored it into a virtual machine on a Hyper-V 2012R2 server and when it booted we got a “STOP c00002e2 Directory Services could not start” error as per the screenshot below.

clip_image001

One of our techs working on it attempted to recover it but we were unable to get into DSRM mode as the client did not know the DSRM password.  We also realised that when we built the VM we used the default settings for the virtual hard drives which generates them as VHDX drives.

One of the key changes between VHD and VHDX drives is the sector size of the virtual disk.  In VHD – the sector size is 512byte, whereas in VHDX, it’s 4K sector size.  For most applications this won’t matter, however with Active Directory it’s VERY important as when the AD database starts up, it checks to see the physical sector size of the “disk” it’s on (in this case the Virtual Hard Drive) is the same as what it was when the database was created.  If it’s not, then it will give the stop error above, specifically with the error status of 0xc0000001.

There were two ways we could have resolved this – here’s what we did.

We were able to get the old server running again for a short time and during that we reset the DSRM password to something we knew, and then did another cold backup of the C: drive.  This time however when we restored it, we restored it to a VHD file.  This permitted us to recover into DSRM mode after the server booted nicely and do the normal things we would do to cleanup (ie set fixed IPs etc on the server)

The alternate thing we could have done is to use the powershell command “Convert-VHD” to convert the VHDX into a VHD.  This would have also changed the sector size from 4K to 512byte.  However – we still would not know the DSRM password which may be critical for the recovery.

For now – the client is running again on new hardware which is totally awesome way to end a busy week.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to print (Opens in new window)

Filed Under: Blog Tagged With: Disaster Recovery, StorageCraft, Virtualisation

About The Author

Wayne has been working with Microsoft Server products in the SMB market for over 20 years. He has a passion for technology and been a Microsoft MVP for over 15 years. Read More…

Comments

  1. David Moen says

    January 4, 2017 at 12:06 pm

    Nice Save Wayne!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Connect Online With Us

  • Facebook
  • Twitter

Reviews

Splashtop – Cost Effective Remote Control Software

September 22, 2017 By Wayne Small 2 Comments

Western Digital DL4100 NAS

March 3, 2015 By Wayne Small Leave a Comment

SBS 2011 Configuring Certification Guide (70-169)

August 7, 2012 By Wayne Small 4 Comments

Site News

Exchange Bug Stops Mail Delivery in 2022

January 2, 2022

Huge bug found in Intel CPU that could permit hackers to steal your data

January 4, 2018

Recent Posts

  • MS Exchange Zero Day and RemotePowerShell Disabling on Admin accounts
  • Setup changes for Exchange 2016 and Exchange 2019
  • Bluetooth Mouse and Keyboard Randomly Stop Responding
  • Exchange Bug Stops Mail Delivery in 2022
  • How to open and search extremely large text log files

Tags

Antivirus Backup Business Focus Cloud Computing Community Conferences Disaster Recovery Exchange 2010 Exchange Server Future Products Hyper-V Installation Microsoft Migration Patches Personal Rants SBS 4.5 SBS 2000 SBS 2000 SP1 SBS 2003 SBS 2003 Premium SBS 2003 R2 SBS 2003 R2 Premium SBS 2003 R2 Standard SBS 2003 SP1 Premium SBS 2003 SP1 Standard SBS 2003 Standard SBS 2008 SBS 2008 R2 SBS 2011 SBS 2011 Essentials SBS 2011 Standard Security Service Packs ShadowProtect SMB Community Software Software I use StorageCraft Training TrendMicro Troubleshooting Virtualisation Windows Server 2012 Essentials

Terms of Use

Privacy Policy

Copyright © 2023 · Magazine Pro Theme on Genesis Framework · WordPress · Log in