VMware Converter Failure

This took me a bit of searching. Posting for my own memory or for anyone else having an issue.

FAILED: An error occurred during the conversion: ‘The session does not have the required permissions’

Basically, the way we fix this issue to 3 parts:

  1. Delete any snapshots or move them into a separate folder.
  2. Delete or move the CTK files into a separate folder.
  3. Disable CBT on the VM.

Lets start!

First, login to the VMware host running the VM that has this issue. Don’t use vSphere as it can often fail.

Head over to the datastore and folder that the VM resides in and create a new folder called CTK

Now, you want to move any files associated with the VM, with ctk in the filename, into this new folder.

You can see a simple example of this in the below screenshot:

Next, remove any snapshots associated with the VM. If you can’t remove any snapshots, simply move them into the CTK folder created earlier.

Finally, go to VM Options -> Advanced -> Edit Configuration

If there is already an entry for SCSI0:0:ctkEnabled, then set it to FALSE. Otherwise, simple create a new entry named ctkEnabled and set it to FALSE.

In order to export the VM, you will need to boot it up and shut it back down again cleanly. Once complete, VMware converter will now export the VM without issues!

Source: https://blog.devops.dev/vmware-converter-the-session-does-not-have-the-required-permissions-7e04c3227158