reference:
https://www.sourceonetechnology.com/convert-vmware-vmdk-files-into-hyper-v-vhd/
https://www.petenetlive.com/KB/Article/0001508
1. Microsoft Virtual Machine Converter 3.1
https://www.microsoft.com/en-us/download/details.aspx?id=42497
download mvmc_setup.msi and install it to the default C drive location.
2. Open Windows Powershell with administrator privileges
Execute the following commands
(1)Import-Module ‘C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1’
(2) ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath'location of vmdk file' -DestinationLiteralPath'location after conversion' -VhdType DynamicHardDisk -VhdFormat Vhdx
Note: Errors may occur during this process. "The entry "{4}' is not a supported disk database entry for the descriptor." The solution is in step 3.
3. Find the vmdk file with a size of about 1KB, comment out the line marked in red with "#" and re-run the above program.