Skip to main content

Command Palette

Search for a command to run...

Enable TPM2.0 on a Hyper-V VM

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

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>"
M
M4y ago

Hi, i have tried that with Windows 11 Host Hyper-V and tried also with Server 2022 and installed Hyper-V and Created fresh VM Gen2 , but error ( the key Protector could not be unwrapped ) i have tried many ways but have no success . another question if DDA available now in Pro for Workstation Edition or still only windows Server ?

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