Skip to content

Instantly share code, notes, and snippets.

@netrunn3r
Last active June 1, 2020 18:39
Show Gist options
  • Save netrunn3r/f840065572cf30ae1bae5f370573be2c to your computer and use it in GitHub Desktop.
Save netrunn3r/f840065572cf30ae1bae5f370573be2c to your computer and use it in GitHub Desktop.
  1. download: MVMC
  2. (optional) edit with text editor vmdk file and remove (or comment out) all below line '# The Disk Data Base '
  3. run powershell as admin
  4. > Import-Module 'c:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1'
  5. > ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath source.vmdk -DestinationLiteralPath dest.vhdx -VhdType DynamicHardDisk -VhdFormat Vhd

or

qemu-img convert -f vmdk -O vhdx -o subformat=dynamic source.vmdk dest.vhdx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment