Converting a VMware virtual machine snapshot to a memory dump with vmss2core.exe fails with the below error due to the disks being encrypted.
Unrecognized .vmss file (magic 4f434e45)
Example:
# ./vmss2core.exe -W8 snapshot.vmsn snapshot.vmem
vmss2core version 24832109 Copyright (C) 1998-2025 Broadcom. All Rights Reserved.
Unrecognized .vmss file (magic 4f434e45).
This issue occurs because a windows 11 VM is encrypted by default due to the mandatory Trusted Platform Module (TPM) requirement for the operating system.
crypto-util encobj decrypt --related vm-231.vmx vm-231.vmem vm-231-decrypted.vmem
crypto-util encobj decrypt --related vm-231.vmx vm-231.vmss vm-231-decrypted.vmss
2. Once decryption is completed
3.Transfer the .vmss and .vmem (If present) file to the system where vmss2core is located.
4.Run vmss2core on the Copied Files
./vmss2core -W8 vm-231-decrypted.vmss vm-231-decrypted.vmem
Following the Decrypt an Encrypted Virtual Machine or Virtual Disk is not an option as a windows 11 VM is vTPM-enabled and to remove a vTPM from a virtual machine, see Remove Virtual Trusted Platform Module from a Virtual Machine.
Data loss warning appears : Removing the vTPM on an encrypted virtual machine will cause you to lose any data protected by it, such as BitLocker encryption keys. You must back up and decrypt any data before proceeding, or the data will be unrecoverable.
Also removing the vTPM will not let the windows 11 guest OS to boot.
Note: For VMs with other guest operating systems you can follow Unable to convert a VMware virtual machine snapshot to a memory dump
For additional information, see the Debugging Virtual Machines with the Checkpoint to Core Tool Guide.
Suspending a virtual machine on ESX/ESXi to collect diagnostic information
Note : For the vmss2core tool to successfully process snapshot files from a Windows virtual machine, features such as Virtualization-Based Security (VBS) and Hyper-V must be disabled. If either of these features is enabled, the tool will instead produce a .core memory dump rather than a standard format.