What is Trusted Launch? Why Enabling it?
Trusted Launch is an Azure security feature that provides enhanced protection for generation 2 VMs. It provides three key platform security technologies, including:
- Secure Boot: Ensure VMs boot only with verified OS images
- vTPM (Virtual Trusted Platform Module): Emulates a hardware TPM to securely store sensitive data like encryption keys within the VM
- Integrity Monitoring: Measures and records the VM’s boot process to verify the VM’s integrity and generate attestation reports
These capabilities can safeguard the VM against malicious rootkits and bootkits targeting the boot chain or firmware layer, helping organizations improve compliance and enable zero-trust architecture. If you use third-party security solutions like CrowdStrike, not enabling Trusted Launch may be flagged as a high-severity IOM (Indicator of Misconfiguration).
Prerequisites for Enabling Trusted Launch
To enable Trusted Launch, the VM must meet several requirements, including:
- The VM must be Generation 2
- The VM must use a supported OS and be in a compatible VM size
- The VM is not using features currently not supported with Trusted launch, such as managed image
- If Azure Backup is enabled on the VM, it should be configured with the Enhanced Backup policy
Enabling Trusted Launch via Azure Portal
The operation is straightforward and takes about 15 minutes if it runs smoothly. Note that you need to shut down the VM to enable Trusted Launch, which causes a short downtime. The official document provides detailed step-by-step instructions.
- Stop the VM
- Go to Security Type and change the type from Standard to Trusted Launch with Secure Boot and vTPM
- Save the change and start the VM. You will see the applied Security Type in the VM Overview


Enabling Trusted Launch via Azure CLI or PowerShell
If the VM is created using Azure Compute Gallery (ACG), managed image, or an OS disk, Azure Portal may block you from enabling Trusted Launch, showing “Security type cannot be updated with the current image”.

In this case, if we are sure the OS version is supported, we can try to enable Trusted Launch via Azure CLI. After stopping the VM, run the command:
az vm update \
--resource-group myResourceGroup --name myVm \
--security-type TrustedLaunch \
--enable-secure-boot true --enable-vtpm trueThe official document also provides PowerShell commands and an ARM template for enabling Trusted launch on an existing VM.
How to Enable Trusted Launch for Generation 1 VMs?
Enabling Trusted Launch for Generation 1 VMs is in public preview (as of April 2025). If you attempt to do that through the Azure Portal, you will see the guidelines and instructions provided by Microsoft.

The guidelines include the prerequisites, best practices, and known issues for enabling Trusted Launch on Gen V1 VMs. Note that this is currently in public preview and not recommended for your production VMs. The instructions have three core steps:
- Register the preview feature
Gen1ToTLMigrationPreviewin your Subscription - Convert the OS disk from MBR (Master Boot Record) to GPT (GUID Partition Table)
- Run the PowerShell command to enable Trusted Launch

Gen1ToTLMigrationPreviewMore details can be found in the document. MS also provides a PowerShell script that performs the above three steps simultaneously.
Preventing the Creation of Non-Trusted Launch VMs Using Azure Policy
Aside from the remediations, we can proactively prevent the creation of new VMs without TL by adopting Azure Policy. Below is the policy enforcing TL:
{
"properties": {
"displayName": "Enforce Trusted Launch on Azure Virtual Machines",
"policyType": "Custom",
"mode": "Indexed",
"description": "Newly created VMs must have Trusted Launch enabled with Secure Boot and vTPM.",
"metadata": {
"category": "Security Center"
},
"version": "1.0.0",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Deny"
}
},
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Compute/virtualMachines"
},
{
"anyOf": [
{
"field": "Microsoft.Compute/virtualMachines/securityProfile",
"exists": "false"
},
{
"field": "Microsoft.Compute/virtualMachines/securityProfile.securityType",
"notEquals": "TrustedLaunch"
},
{
"field": "Microsoft.Compute/virtualMachines/securityProfile.uefiSettings.secureBootEnabled",
"notEquals": "true"
},
{
"field": "Microsoft.Compute/virtualMachines/securityProfile.uefiSettings.vTpmEnabled",
"notEquals": "true"
}
]
}
]
},
"then": {
"effect": "[parameters('effect')]"
}
}
}
}The policy will ensure that TL is enabled with Secure Boot and vTPM when VMs are created or updated. We also parameterize the policy effect (Deny, Audit, Disabled) in case you want to detect (but not block) non-compliant resources only (Audit), or turn off the policy (Disabled). With the policy enforced, users will be blocked when they try to create new VMs without TL:

FAQ
Does enabling Trusted Launch cause system downtime?
Yes. We need to stop the VM to enable Trusted Launch. However, the essential steps (stop the VM → enable TL → start the VM) should only take a few minutes, so the anticipated maintenance window is brief.
Does enabling Trusted Launch impact the application or data?
While there is no guarantee from the documentation, we did not observe any impact on the applications or data after enabling tens of our VMs. Logically, Trusted Launch targets the boot process on the OS disk of the VM, so it should not affect the stored apps or data.
Can I roll back the VM to Standard type after enabling Trusted Launch?
No. Once you enable Trusted launch, the VM cannot be reverted to the Standard security type. However, you can use backups made before the upgrade to restore the entire VM or create a new Standard VM.
Refer to more FAQs by Microsoft
