vma to vhdx convert


New Member
Feb 1, 2024
Hi I'm using proxmox 8.1.3 I created a virtual windows machine and I want to take the backup file of it and convert it to this vhdx format how can I do?
To achieve this you will have to extract the desired disk image from the vma backup file and then convert the extracted disk image to the vhdx format.

To extract the vma file, use the vma utility.
vma extract <vmafile> [-d <drive-list>] <targetdir>
If you want to only extract certain disk images, use -d with a comma separated list of disks.
You can get a list of disks with vma list <vmafile>

Once the disk images are extracted, convert them to vhdx with qemu-img
qemu-img convert -f raw -O vhdx disk-drive-scsi0.raw disk-drive-scsi0.vhdx
  • Like
Reactions: Moayad


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!