Solving the “Boot Failed. EFI SCSI Device” error when installing Windows 2012 Server on Hyper-V

I’ve installed Windows 2012 server on a few Hyper-V images in the past but ran into an error that looked unfamiliar. I created my Hyper-V machine, configured it with a dynamic hard drive, added a DVD and mounted the Windows Server 2012 ISO making sure the DVD drive was top of the boot order and started it up.

cameron-dwyer-install-windows-2012-server-hyperv-boot-failed-EFI-SCSI-Device

I was then presented with a black screen an the error message:

Boot Failed. EFI SCSI Device.

cameron-dwyer-install-windows-2012-server-hyperv-boot-failed-EFI-SCSI-Device-Error-On-Startup

Here’s the long winded explanation from the Senior Program Manager of the Hyper-V team (John Howard).

The short answer: It’s because the virtual machine was created as a Generation 2 machine rather than Generation 1.

cameron-dwyer-install-windows-2012-server-hyperv-specify-machine-generation-2

To get past this error simply hold down a key as you start up the virtual machine. You’ll notice at the top of the error screen it says “Press any key to boot from CD or DVD…..” the issue is that it doesn’t wait for you to press a key, just make sure you have a key held down when it gets to this point and you should see the Windows Boot Manager prompt allowing you to boot to the DVD image.

cameron-dwyer-install-windows-2012-server-hyperv-boot-failed-EFI-SCSI-Device-Windows-Boot-Manager

Then hey presto you’ll get a successful boot to DVD and the Windows Setup window you expected.

cameron-dwyer-install-windows-2012-server-hyperv-boot-Windows-Setup

42 thoughts on “Solving the “Boot Failed. EFI SCSI Device” error when installing Windows 2012 Server on Hyper-V

Add yours

  1. Unchecking Enable Secure Boot in the Settings > Firmware section did the job for me. I did not have a problem with this when loading Server 2012R2 but did when trying to install Win7, Win8 and Server 2008R2.

    Like

    1. Also forgot to pay attention to GEN1 vs GEN2 settings. Only Server 2012 or Win8 x64 can be created with GEN2. Installing Win7 x64 or Server 2008R2 as GEN2 will hang at “Starting Windows”.

      Like

  2. Can you mount an ISO file to boot from using Generation 2? My understanding is Generation 2 is more secure. I’d like to keep it that way.

    Like

  3. very helpful, if you are doing this remotely, you may have to wait for it to fail, then when it says hit any key to retry boot sequence, hit any key and hold it. Then it works.

    Liked by 1 person

  4. This was tremendous help to me. I was baffled and frustrated. Internet is full of nonsense, and a lot of people who think they’re technical post the most ridiculous suggestions out there. Yes, this did work for a Windows 2019 install like a charm. Thank you!

    Liked by 2 people

  5. Trying to upgrade Server 2012 R2 to Server 2019 Std by booting from 2019 ISO on DVD. 2012 R2 was built in Hyper-V as Gen 2. I’ve disabled Secure Boot but still get the “Boot Failed…” error. I’ve tried holding a key when powering up, but no success. Nothing is working.

    Like

  6. Yes the DVD is first in the boot order. In fact, when it fails to boot, after about one minute it then tries the virtual hard drive and boots up into the 2012 R2 Windows.

    Like

    1. Not sure what’s different in your scenario sorry. I also haven’t tried this on a 2012 R2 server for many years so something could have qite easily changed. Looks like the latest comment someone left on this blog post was HonestRadical in Dec 21 where they were successful in using this technique to install Windows Server 2019 from DVD

      Like

  7. Just successfully installed Windows Server 2019 using this tip! I had tried everything I could think of (including disabling ‘Secure Boot’) but nothing was working. I just held the ENTER key down as soon as I started the VM and that did the trick. Thank you so much, Cameron! How can I pay you for this? 🙂

    Liked by 1 person

  8. Just installed Server 2019 using this tip. I had tried everything I could think of (including disabling ‘Secure Boot’) but nothing was working. I just held ENTER down as soon as I started the VM (maybe others are pressing the key too late?) Thank you so much, Cameron. How can I pay you for this? 😉

    Liked by 1 person

  9. Wow, finally! This is exactly what I needed. I knew it had to be easy. You would think they would fix that in an update or something. I connected to the VM first, hold down any key, and then press start. It brought me straight to the new install screen for Win10. Thanks very much!

    John
    Owner/CEO
    http://www.landscapinghomestead.com

    Liked by 1 person

Leave a comment

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

Create a website or blog at WordPress.com

Up ↑