Below is the way I used to convert vmware player virtual machine into hyper-V virtual machine.
-
Using below commands to enable and disable Microsoft hypervisor service
bcdedit /set hypervisorlaunchtype off
bcdedit /set hypervisorlaunchtype auto
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
- Using virtualbox as tool to convert vmware player virtual machine to VHD format.
- install virtualbox
- run command
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe clonehd "C:\Users\yiyu\Virtual
Box VMs\vm\YiyuJia-Gateway-disk1.vmdk" "C:\yyjia\Hyper-V\VHD\YiyuJia-Gateway.vhd
" --format VHD
- create new virtual machine in hyper-v manager and choose using existing VHD file.