Why convert OVA to VHD?
An OVA bundles a VM descriptor and a VMDK virtual disk into a single TAR archive. VHD is Microsoft's virtual disk format used by Hyper-V and Azure. Converting allows a VM exported from VMware or VirtualBox to run under Hyper-V, which cannot import OVA directly and requires a standalone .vhd or VHDX disk.
How to convert OVA to VHD
VirtualBox OPEN-SOURCE
Import the .ova via File > Import Appliance, note the .vmdk path in Settings > Storage, then run VBoxManage clonehd disk.vmdk disk.vhd --format VHD; use --format VHDX for the newer Hyper-V format.
qemu-img OPEN-SOURCE
Extract the .vmdk from the OVA with tar -xf machine.ova, then run qemu-img convert -f vmdk disk.vmdk -O vpc disk.vhd; use -O vhdx for VHDX output.
Programs that convert OVA
About these formats
An OVA file is a single-file package of a complete virtual machine - its hardware configuration plus one or more virtual hard disks bundled into one TAR archive. You import it into a…
Open .OVA details →A VHD file is a complete hard disk stored as a single file - partition table, filesystem, and often a full operating system. On Windows you can mount it in Disk Management to read files, or…
Open .VHD details →Quality & what to watch
- No tool does a single-click OVA-to-VHD conversion - the VMDK disk inside the OVA must be extracted and re-encoded separately.
- VMware sometimes splits large VMDK files into multiple extents; VBoxManage handles these correctly.
- To get VHDX (the newer Hyper-V format) instead of VHD, use
--format VHDXwith VBoxManage or-O vhdxwith qemu-img.
Frequently asked questions
Can Hyper-V import an OVA file directly?
Do I need to start the VM in VirtualBox before exporting?
VBoxManage clonehd without ever starting the VM.What is the difference between VHD and VHDX?
--format VHDX or -O vhdx to produce VHDX.