Enable TPM2.0 on a Hyper-V VM
·Jul 1, 2021·
1 min read
For Windows 11 to work in a Hyper-V VM you need to ensure your host system processor is supported and that TPM 2.0 is available.
You have to 'enable' VM-TPM (a pass-thru support option) on the VM for it to detect and use TPM.
To do this, on your host machine simply create a VM Key Protector :
Set-VMKeyProtector -VMName "<your VM name>" -NewLocalKeyProtector
Then enable VMTPM :
Enable-VMTPM -VMname "<your VM name>"