First, download the Microsoft Virtual Machine Converter:
Next run powershell as administrator and run the following commands.
- Import-Module C:Program FilesMicrosoft Virtual Machine ConverterMvmcCmdlet.psd1
- ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath C:Ubuntu-disk1.vmdk -DestinationLiteralPath C:Ubuntu-disk1.vhd -VhdType DynamicHardDisk -VhdFormat Vhd