Creating new virtual machine with virtual Trusted Platform Module (vTPM) device fails with the error "A general runtime error occurred. Key provider[Key Provider name] Windows11 is not compatible with the host [hostname]. Reason: "TPM2 device is required"
search cancel

Creating new virtual machine with virtual Trusted Platform Module (vTPM) device fails with the error "A general runtime error occurred. Key provider[Key Provider name] Windows11 is not compatible with the host [hostname]. Reason: "TPM2 device is required"

book

Article ID: 417299

calendar_today

Updated On:

Products

VMware vSphere ESXi 8.0

Issue/Introduction

When adding a Trusted Platform Module (TPM) to the virtual machine, a new window with the following error messages appears.
Operation failed!
Task name Reconfigure virtual machine
Target        [virtual machine name]
Status        RuntimeFault.Summary


A task status show the following message.
A general runtime error occurred. Key provider [Key Provider name] is not compatible with the host  [host name]. Reason: "TPM2 device is required."

Environment

VMware vCenter Server 8.x
VMware vSphere ESXi 8.x

Cause

The following message appears when adding a Native Key Provider to vCenter Server: If the checkbox in the message remains checked, only virtual machines on ESXi hosts with a physical TPM can have a vTPM attached. 
"Use key provider only with TPM protected ESXi hosts (Recommended)"

Resolution

If you have hosts with and without physical TPMs, and you want to use virtual machines with vTPMs on both, please uncheck the box when configuring NKP.
"Use key provider only with TPM protected ESXi hosts (Recommended)"