
For testing and less disk usage, you can try dynamically allocated disks. If you are familiar with a Virtualization platform, you must be aware of them. Click on Copy.ģ) In the next disk copy option, select the VHD file format as output.Ĥ) Next screen gives the option to make the disk dynamic or fixed size. Obviously, the VM should be powered off before proceeding further.Ģ) Select the appropriate disk that is attached to the VM you want to migrate. VDI to VHD by VirtualBox Media Managerġ) Click on File in VirtualBox and open Virtual Media Manager. Therefore it’s recommended to delete snapshots, that will merge current machine’s state to the single original disk file. Also, you can’t convert snapshot VDI files separately. So if you convert the original base VDI file, you will not get the latest state of the virtual machine.

VirtualBox snapshots keep separate VDI files for each machine. It may cause an issue on the Hyper-V platform. Note: It is recommended to uninstall the VirtualBox guest additions from the VM before starting the migration. Steps to Convert VDI to VHD (VirtualBox to Hyper-V)
#Import vdi into virtualbox software#
We do not need any third party software for this conversion since the built-in VirtualBox command will do the job well.
#Import vdi into virtualbox how to#
Here, I’m going to show how to convert a working Windows VM from VirtualBox to VHD and attach to Hyper-V. Microsoft Hyper-V doesn’t support VDI (VirtualBox hard disk file) file type, therefore it should be converted to VHD (MS Virtual Disk format) or VHDX.

But, in this guide, we will convert the VDI file to VHD to achieve this task. As an alternate method, we can use any P2V tools to directly convert the VirtualBox VM to Hyper-V (Considering that VirtualBox VM is running on physical hardware).
