Introduction

There are quite a few different errors that you may run into when using Hyper-V.

In this blog post, I explain the following error related to secure boot in Hyper-V, and how to solve it:

Boot Failed. EFI SCSI Device. Failed Secure Boot Verification

Hyper-V fails to boot EFI

Description of the error

The reason why you are receiving this error is that a generation 2 machine in Hyper-V by default runs Secure Boot.

How to solve the error

There are two ways to solve the error.

These solutions are explained below.

Solution 1 – Create a generation 1 virtual machine in Hyper-V

If you want to run an older operating system as a guest, select Generation 1 when creating the Virtual Machine:

Hyper-V Select Virtual Machine Generation

Solution 2 – Disable Secure Boot

The second solution is to disable Secure Boot under the VM settings for a Generation 2 Virtual Machine.

Disable Secure Boot for a Hyper-V machine using the Hyper-V Manager

Open Hyper-V Manager -> Right-Click -> Press Settings

Go to the Security tab and uncheck Enable Secure Boot.

Disable Secure Boot for a Hyper-V machine using Powershell

An alternative to the Hyper-V Manager is Powershell.

Run the following command, replacing “VM1” with the name of your virtual machine.

Set-VMFirmware "VM1" -EnableSecureBoot On

Conclusion

When configuring virtual machines in Hyper-V, it is important that you understand the difference between the different generations and how the new security features work.

Did you find this article helpful? Please leave a comment below!

References

Related posts

7 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here