Attempting to change a VM's encryption state (encrypting, decrypting, or re-encrypting) when snapshots are present fails
We see errors in vpxd similar to:
2025-04-15T17:45:31.109Z info vpxd[40574] [Originator@6876 sub=CryptoManager opID=########-#######-auto-1bl82-h5:70324484-dd-01] Key info for VM enkrypt after reconfigure operation:
--> Fault : (vim.fault.InvalidVmConfig) {
--> faultMessage = (vmodl.LocalizableMessage) [
--> (vmodl.LocalizableMessage) {
--> key = "msg.hostd.configSpec.enc.snapshots",
--> message = "Cannot change encryption state with virtual machine snapshots present."
--> }
--> ],
--> property = "config.crypto"
--> msg = "Invalid virtual machine configuration."
--> }
vSphere 7.x
vSphere 8.x
VM encryption does not support modifying encryption settings on VMs with existing snapshots.
Remove all snapshots before changing encryption state