Are there any risks with enabling Secure Boot on Azure Windows Server VMs? (Gen1 and Gen2)

Hamish Patel (Cloud Admin) 20 Reputation points
2024-09-09T00:03:19.4233333+00:00

One of our security guys has told us to enable Secure Boot on our Windows Server VMs. We want to be sure there'll be no issues with our VMs after enabling secure boot before we go ahead. Could we please get a few pros/cons on enabling Secure Boot on Azure VMs.

Also noticed that you can't easily enable Secure Boot on Gen1 VMs - Requires Powershell converting it to Gen2.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,514 questions
{count} votes

Accepted answer
  1. Prrudram-MSFT 27,961 Reputation points
    2024-09-09T09:32:53.59+00:00

    Hello @Hamish Patel (Cloud Admin)

    Enabling Secure Boot on your Windows Server VMs can provide additional security by ensuring that only trusted bootloaders, kernels, and drivers are allowed to run. Secure Boot is a feature of trusted launch for generation 2 VMs in Azure.

    Regarding your note about enabling Secure Boot on Gen1 VMs, you are correct that it is not supported on Gen1 VMs in Azure. To enable Secure Boot, you would need to convert the VM to a Gen2 VM using PowerShell. This process involves creating a new Gen2 VM and migrating the data and configuration from the old Gen1 VM to the new Gen2 VM.

    This can be a complex process and may require additional configuration or troubleshooting to ensure that all drivers and software are properly signed and compatible with Secure Boot. Before enabling Secure Boot on your Azure VMs, it is recommended that you test the configuration in a non-production environment to ensure that there are no compatibility issues or unexpected behavior. You should also make sure that you have a backup or a copy of the data, and that you have a plan to recover from any issues that may arise.Here are some pros and cons of enabling Secure Boot on Azure VMs

    Pros: - Provides additional security by ensuring that only trusted bootloaders, kernels, and drivers are allowed to run. - Helps protect against malicious and unauthorized changes to the boot chain. - Can help meet compliance requirements for secure boot.

    Cons: - May cause compatibility issues with some drivers or software that are not signed by a trusted certificate authority. - May cause issues with some legacy hardware or firmware that does not support Secure Boot. - May require additional configuration or troubleshooting to ensure that all drivers and software are properly signed and compatible with Secure Boot.
    Hope this helps!

    If I have answered your query, please click "Accept as answer" as a token of appreciation

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.