Enable TPM2.0 on a Hyper-V VM

Omar McIver is a seasoned software architect turned AI transformation leader, with a passion for helping organizations and individuals harness the power of artificial intelligence. With years of experience in the tech industry and deep expertise in cloud-native technologies, Omar has evolved his focus to address the most critical challenge of our time: preparing the workforce for the AI revolution. As the Founder of Mode3 AI Training, Omar is pioneering a new approach to AI education that goes beyond simple tool usage. His company's innovative framework teaches professionals to partner with AI as "cybernetic teammates," achieving team-level performance as individuals while breaking down organizational silos.
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>"






