Unable to deploy OVF Template to content Library for Windows 11 VMs. Error "The operation is not supported on the object. The operation is not supported on encrypted VM The operation failed due to The operation is not supported on the object."
search cancel

Unable to deploy OVF Template to content Library for Windows 11 VMs. Error "The operation is not supported on the object. The operation is not supported on encrypted VM The operation failed due to The operation is not supported on the object."

book

Article ID: 403026

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

"Clone as Template to Library" operation from existing vTPM enabled Windows 11 VM to the Content Library fails with Error:

"The operation is not supported on the object. The operation is not supported on encrypted VM The operation failed due to The operation is not supported on the object."

"The selected virtual machine cannot be exported because it is encrypted"

Environment

VMware vCenter Server 7.x

VMware vCenter server 8.x

Windows 11

Cause

Virtual machines with a vTPM device do not support the OVF/OVA template format directly.

It is not supported to export a virtual machine with a vTPM device to an OVF/OVA file using the vSphere Client.

Resolution

It is not supported to export a virtual machine with a vTPM device to an OVF/OVA file using the vSphere Client. The vTPM device must be first removed before you can export the VM as an OVF/OVA template.

Reference: vSphere Virtual TPM (vTPM) Questions & Answers

Additional Information

The OVF Tool can automate the process by adding a vTPM placeholder attribute. See the section “TPM as a Virtual Device in OVF” in the OVF Tool User Guide for more details on using OVF Tool.

Reference: vSphere Virtual TPM (vTPM) Questions & Answers