There are several ways and tools for this. Here is the path that worked for me.
- qemu-img for Windows
QEMU disk image utility for Windows. It is used for converting, creating and consistency checking of various virtual disk formats. It’s compatible with Hyper-V, KVM, VMware, VirtualBox and Xen virtualization solutions.This build has been optimized for Windows Server (x64), including Windows Nano Server. qemu-img can be downloaded here
To use it to convert a VMware image to Hyper-V you need to run:
qemu-img convert -f vmdk “SourceDisk.vmdk” -O vhdx -o subformat=dynamic “Destination.vhdx”
See also Ben Armstrong’s Virtualization Blog
2. Create new Virtual Machine using existing VHD(X)
- Select New Virtual Machine from the Hyper-V Manager.
- Use the new Virtual Machine wizard to choose a location, name, and the base memory size.
- On the Connect Virtual Hard Disk page of the wizard, select Use existing virtual hard disk and choose your previously converted VHD (X) file.
- Complete the wizard and start the virtual machine.
See for details Using a VHD with Microsoft Hyper-V or Virtual PC
Chances are that new virtual machine will boot but you might end up with black screen with blinking cursor as well.
3. In later case this is the next step – fix the boot sector. In my case the VM was Windows 7 and issue was fixed by running Windows setup and using “Repair your computer”
See for full details Fix Windows 7 Black Screen At Startup On A Virtual Machine