Sometimes we have everything in front of us and we begin to look for in a different place, it was something simple.

 

Virtual box has a tool that does the job for us and very quickly:

 

I have a virtual machine in Virtual box I want to move it to Hypver-V so I did the following:

 

Hard drive name CEH-XP.vdi

 

1. First we go where virtual box is installed: cd C:\Program Files\Oracle\VirtualBox>

 

2. Now I use the tool vboxmanage with the switch clonehd:

 

C:\Program Files\Oracle\VirtualBox>vboxmanage clonehd "E:\Images\Virtual machines\CEH\CEH-XP.vdi" z:\ceh-xp.vhd --format vhd

 

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

 

Clone hard disk created in format 'vhd'. UUID: 801c7ac4-b396-42cb-bf9a-939d78ad0

8f8

 

If you noticed my hard drive was in the E drive and my destination drive was in the Z drive, your case is going to be different.

 

3. Now we create a virtual machine in Hyper-V without hard drive and attach the result hard drive to the virtual machine in my case was ceh-xp.vhd

 

This was quicker than my export to OVF and later to other format.