Use this when giving VMs a TPM for BitLocker or measured boot.
Virtual TPM
A virtual TPM in virtualization security lets VMs use BitLocker, measured boot and credential protection. Protect its state with VM encryption and a key provider, and back up the keys.
1. vTPM enables BitLocker, Windows 11, measured boot in VMs.
2. Protect vTPM state (key providers, HGS).
3. Backups include vTPM.
4. Migration must carry keys.
5. Keep recovery keys.
vTPM state → guest TPM → disk keys
Context & applicabilityCommon mistakes · platform/version boundaries
- vTPM requires VM encryption or a key provider in vSphere (vCenter Native Key Provider).
- Backups/replicas restored to hosts without the key → VM will not boot.
- BitLocker recovery prompts after moving VMs or changing hardware.
- Clones carrying the same vTPM — use proper clone workflows.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- A vTPM needs UEFI and a key provider.
- Back up the vTPM keys.
- Protect it with VM encryption.
Get-VMSecurity <vm>— vTPMqm config <vmid> | grep tpmstate— Proxmox vTPM- vTPM state backup and key protection — recoverability
ReferenceWhy it matters1 section · depth on demand
Using vTPM
A vTPM lets VMs use BitLocker, Windows 11 requirements, Credential Guard and measured boot. Its state is stored encrypted with the VM files, so the VM must be protected too (vSphere needs a key provider, Hyper-V uses Host Guardian/key protector, Proxmox stores tpmstate). Losing the key provider can make VMs with vTPM unbootable; back up keys.
ReferenceImportant terms & boundaries2 sections · depth on demand
Requirements
| Platform | Needs |
|---|---|
| vSphere | Key provider (Native Key Provider or KMS), VM hardware 14+, UEFI |
| Hyper-V | Generation 2 VM, key protector (local or HGS) |
| Proxmox | tpmstate disk on supported storage, OVMF (UEFI) |
| Windows 11 guest | vTPM 2.0 and Secure Boot |
In depth
A virtual TPM (vTPM) gives a VM its own Trusted Platform Module, emulated by the hypervisor with its state stored encrypted. It enables guest features that require a TPM: BitLocker with TPM protector, Windows 11 requirements, Credential Guard, measured boot and attestation.
Considerations:
| Topic | Detail |
|---|---|
| Encryption dependency | vTPM state is encrypted; VMware requires a key provider (native or external KMS) |
| Backup and migration | Moving or restoring VMs must include the vTPM state and access to keys |
| Cloning | Cloned vTPMs may share secrets — re-provision where needed |
| Hyper-V | Requires Key Protector; shielded VMs use Host Guardian Service |
Losing the key provider can make vTPM-enabled VMs unbootable, so protect and back up key infrastructure carefully.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization Security → Virtual TPM. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/125/final · confidence 94%