Skip to main content

Command Palette

Search for a command to run...

Enable TPM2.0 on a Hyper-V VM

Published
1 min read
Enable TPM2.0 on a Hyper-V VM

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>"

More from this blog

O

Omar McIver ...a code blog

23 posts

Principal Cloud & AI Platform Architect at Mode3 Cloud, AI productivity guru, and family man balancing code and kids