Is it possible to enable Trusted Launch when creating a virtual machine from a custom image?

Tomoki Endo 40 Reputation points

I have a question regarding Trusted Launch. I'm attempting to redeploy a virtual machine image that was running on Hyper-V on my local PC on Azure. However, I'm having trouble creating this virtual machine with Trusted Launch. Is it possible to create a custom image with Trusted Launch? My image has been prepared with the following steps:

  1. Prepare a Windows VHD or VHDX to upload to Azure

  1. Upload a VHD to Azure

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

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 23,181 Reputation points Microsoft Employee

    Hello, @Tomoki Endo ! If you already have a VHD you can try going the direct deployment route if you meet the requirements however it sounds like you may want to create the VM from your VHD and enable Trusted Launch after the fact. I've included steps and information below. Make sure you meet all the requirements before you start!

    Is it possible to enable Trusted Launch when creating a virtual machine from a custom image?

    Yes, you can use custom OS image or disks however there are several requirements.

    A direct deployment of a Trusted Launch VM supports the following image sources:

    For the following image sources, the security type on the image definition should be set to TrustedLaunchsupported:

    It is also possible to enable Trusted Launch on an existing Azure VM:

    If you are able to create a VM that meets those requirements, then you will be able to deploy a VM with Trusted Launch enabled. The following pages of documentation includes relevant information:

    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    1 person found this answer helpful.
    0 comments No comments