padlock and key icons on keyboard

Secure Boot with Linux Virtual Machine on Hyper-V

Q: I'm trying to use secure boot with a Linux virtual machine in Windows Server vNext Hyper-V, but it isn't working; what do I need to do?

A: Secure boot is supported with Windows Server vNext Hyper-V in Linux for Generation 2 virtual machines; however, it's necessary to change the certificate used via a PowerShell command:

Set-VMFirmware "<VM Name>" -SecureBootTemplate MicrosoftUEFICertificateAuthority

Secure boot should now work with the Linux virtual machine (providing the Linux distribution supports secure boot).

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.