Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Migrate a Hyper-V VM With a Virtual TPM

Prepare destination Hyper-V hosts with the certificates a Generation 2 VM uses for its vTPM, then verify the guest after migration.

Table of Contents

Before moving a Generation 2 Hyper-V VM that uses a local vTPM key protector, prepare the destination host with the source host’s encryption and signing certificates. The destination needs both certificates with their private keys to start the protected VM. Use your organization’s Host Guardian Service procedure if the VM belongs to a guarded fabric.

Identify the certificates on the source host

Microsoft shares detailed instructions on how to meet Windows 11 TPM requirements when migrating virtual machines Picture 1

In Microsoft Management Console, add the Certificates snap-in for the Computer account. Look in the Shielded VM Local Certificates store for Shielded VM Encryption Certificate and Shielded VM Signing Certificate entries associated with the local guardian. Verify which guardian protects the VM if the store contains several certificate pairs.

Prepare each approved destination host

  1. Confirm you have a current VM backup and access to the BitLocker recovery key if the guest uses BitLocker.
  2. Follow Microsoft’s export and import procedure to transfer both certificates as password-protected PFX files that include their private keys. Use approved transfer and credential-handling methods.
  3. Import both certificates into the Shielded VM Local Certificates store of each intended destination. Verify the certificate pair and expiry dates before moving the guest.
  4. After migration, check that the VM starts, the guest can see its TPM, and BitLocker protection remains active where used. If it fails to start, use Microsoft’s vTPM troubleshooting guide to check the destination’s key protector and certificates.

The virtual TPM and Secure Boot are separate settings in a Generation 2 VM. For a new guest, see how to create a VM with Hyper-V Manager or how to enable Hyper-V on Windows 11.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.