Hyper-V launch aborted due to auto-launch being disabled in the registry.

Over the weekend, I spent some time rejigging the disk structure in my R&D Hyper-V server. I used StorageCraft ShadowProtect to backup the entire server as part of a regular backup process. I installed all the new disks into the server and then proceeded to restore all the partitions.  Because I was not moving it to new server hardware, I did not do a Hardware Independent Restore at all – just a restore and then a reboot as that was all that was needed.

When I restored the server, it booted just fine, but I found that the Hyper-V machines would not start.  Further digging into the situation showed the error below in the System Event Log

image

On Windows Server 2008 R2, there is normally a 100MB partition at the start of the 1st physical drive that contains the C: drive. This partition is used to store Boot Configuration Data (BCD) information as well as other critical files. As part of my ShadowProtect backup, I do not backup this partition at all as ShadowProtect cannot restore it.

I did some digging and found that Microsoft have some info on this error here and it tracks back to the fact that I no longer have the original 100MB boot partition with its original Boot Configuration Data information.  The BCDEdit command can be used to modify this information.

If you use the BCDEdit /enum command you can get a picture of what is in the Boot Configuration Data store as you can see below on this machine.

image

You will note there is no mention of HyperVisor.

To fix this use the following procedure

  1. Launch a Command Prompt with Administrative privileges
  2. Run the command bcdedit /set hypervisorlaunchtype auto
  3. Reboot – you will find the error is gone

After you’ve done that if you run the BCDEdit /enum command again you will see that you now have a HyperVisor section.

clip_image001

Hope this helps someone else caught in this situation.

Tags: , , ,

This entry was posted on Monday, March 21st, 2011 at 6:00 am and is filed under Blog. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

17 Responses to “Hyper-V launch aborted due to auto-launch being disabled in the registry.”

  1. Ben Day Says:

    October 8th, 2011 at 6:41 am

    Thanks a ton! I restored my server on to new disks from backup and had tons of problems with the bootmgr and had to recreate all that boot stuff.

  2. Oca Says:

    January 29th, 2012 at 7:31 am

    This helped a bunch and worked like a charm thanks! It happened to me after mistakingly setting my active partition to another drive on my Hyper-V server then setting it back to C. That didn’t work right and the server wouldn’t boot. So i had to rebuild my BootMGR with a Windows 7 startup repair, that didn’t include the Hypervisor section. Ran this command from the dos prompt on my Hyper-V server and it rebooted and worked no problem.

  3. Wayne Small Says:

    January 29th, 2012 at 10:45 am

    Glad it helped!

  4. Error: Hyper-v launch aborted due to auto-launch being disabled in the registry | Microsoft Client and Cloud by Simon May Says:

    January 11th, 2013 at 3:56 am

    […] a quick Bing brought up this excellent article from SBSFaq.com so I needed some more commands to enable Hyper-V which doesn’t happen […]

  5. Biro Jasa Says:

    October 5th, 2013 at 8:44 pm

    When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment
    is added I get several e-mails with the same comment.
    Is there any way you can remove people from that service?
    Thank you!

  6. webnode.Com Says:

    February 4th, 2014 at 7:06 pm

    Someone essentially help to make seriously articles I’d state.
    That is the first time I frequented your website page and
    so far? I amazed with the research you made to create this actual
    put up incredible. Magnificent job!

    Here is my blog post; insurance valdosta Ga (webnode.Com)

  7. GoAuto Outlet Says:

    April 16th, 2014 at 8:22 am

    Thanks a lot! That was useful :)

  8. limpieza de colon Says:

    June 2nd, 2014 at 5:24 am

    Every weekend i used to go to see this web page, for the reason that
    i want enjoyment, for the reason that this this
    site conations truly good funny information too.

  9. scène plaisante de cette marchande d'amour péruvienne Says:

    June 21st, 2014 at 3:18 pm

    Sujet trop cultivant !

  10. xxx meuf Says:

    June 29th, 2014 at 2:12 am

    C’est un véritable plaisir de visiter ce poste

  11. www.essexcaraudioandalarms.co.uk Says:

    July 11th, 2014 at 9:42 pm

    This is the right website for everyone who really wants to understand
    this topic. You know a whole lot its almost tough to argue with you
    (not that I actually will need to…HaHa). You certainly put
    a brand new spin on a topic that’s been written about for decades.

    Great stuff, just wonderful!

  12. オーディオテクニカ ヘッドホン Says:

    September 13th, 2014 at 10:43 am

    Rumor: bag Will Have A Leading role In Any Administration

  13. Nike Air Max Lunar90 C3.0 Says:

    January 30th, 2015 at 4:54 pm

    pelbagai rintangan yang dihadapinya ketika menguruskan jenazah yang satu ini.ini kerana yang bahagian hadapan semuanya sudah penuh.” Kulihat bibir Suhaily bergetap menahan tangis. Sue tunggu abang balik ya.You wajib hormatkan I” Wajahku berubah.Lagi lah Ila dapat semangat lebih dari Fitri. Ni setakat 30 saat. ditekannya minyak sampai 120 kmj. Sesekali Razi menguap seperti tanda orang tidak cukup tidur. bunyi hon kancil kepunyaan Razi yang menandakan ketibaannya di halaman rumah Azman.

  14. Nike Free 5.0 Mens Says:

    February 8th, 2015 at 1:06 pm

    “It would be disingenuous of me to say I’m not disappointed by some of the surprises and the pressures we have had this year,” he said, neatly summing up an annus horribilis during which the boss of Britain’s biggest pharmaceuticals group has had to launch corruption investigations, pay a ?300 million fine to the Chinese government and make an abject apologyA senior council officer accused of trying to suppress a damning report on child sex crimes in Rotherham 12 years ago is today responsible for the safety of thousands of children in a neighbouring town, The Times can reveal.

  15. Mercurial Glide III FG Says:

    February 8th, 2015 at 1:06 pm

    The Financial Conduct Authority (FCA), which took charge of monitoring the payday lending industry in April, criticised Wonga for “unfair and misleading debt collection practices” and ordered it to hand back more than ?55 to each customer.

  16. REEBOK Says:

    February 8th, 2015 at 1:07 pm

    Like WarrenThe good news is that you can create a food and wine marriage made in heaven by sticking to a few simple rules

  17. Nike Kobe 9 Elite Says:

    February 8th, 2015 at 1:07 pm

    Name Graham O’Brien, Sam Smith and Ben Freeman

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>