Converting a VMDK to VHD with Microsoft Virtual Machine Converter (MVMC)

Posted on Posted in Microsoft General, VMWare

The Microsoft Virtual Machine Converter (MVMC) Solution Accelerator is a Microsoft-supported, stand-alone solution for the IT pro or solution provider who wants to convert VMware-based virtual machines and disks to Hyper-V-based virtual machines and disks. The MVMC solution can perform full conversions of VMware-based virtual machines as well as conversions of VMware-based virtual hard disks to Hyper-V-based virtual hard disks (VHD).

Hyper-V-based virtual hard disks can be used in Windows 8 with the Hyper-V role installed. This way you can, for example, stop using VMware Workstation.

Let’s get going:

Download the software from Microsoft here
Install the Microsoft Virtual Machine Converter Solution Accelerator
Click Next
SNAGHTML82e27a3
Click I accept, click next SNAGHTML82ea966
Click Next SNAGHTML82ee361
Click Next SNAGHTML82f0e3a
Wait for the installer to finish SNAGHTML82f4f98
Click finish SNAGHTML82fbe12

 

Ok, let’s convert a VMDK file to a VHD file:

Open a Command Prompt as Administratror from the location C:\Program Files (x86)\Microsoft Virtual Machine Converter Solution Accelerator image
Use the following parameter to convert a VMDK file to a VHD file:

MVDC.exe ‘.\VMDK\Test.vmdk’ ‘.\vhd\Test.vhd’

SNAGHTML8365f08
The conversion starts… SNAGHTML8362c01
Tada, finished SNAGHTML844345a
We can now add the VHD file to a Virtual Machine and boot it. I have used Virtual Box to test it. It took around 20 minutes to convert the 8 GB disk. SNAGHTML845b8d7

 

    • We can also convert a VMware Virtual Machine to a Hyper-V Virtual Machine but this requires vCenter Server 5.0 or vCenter Server 4.1 or ESXi Server 5.0 or ESXi/ESX Server 4.1.
    • I also tested the functionality to copy the “

C:\Program Files (x86)\Microsoft Virtual Machine Converter Solution Accelerator”  folder to another place and uninstall the MVMC program. This works well.

 


Manage, automate, and streamline your Hyper-V environment effectively with advanced PowerShell cmdlets:

 

3599_Microsoft Hyper-V PowerShell Automation

 

 

 

12 thoughts on “Converting a VMDK to VHD with Microsoft Virtual Machine Converter (MVMC)

  1. Thanks for the tip!

    PS: You can also use the /Dyn parameter to create Dynamic VHD´s (seems to me that gets a faster conversion, but still use the full size of the vmdk because the RAW copy of data)

  2. i have created blank vmdk from vmware workstation and try with mvdc and get below error
    C:Program Files (x86)Microsoft Virtual Machine Converter Solution Accelerator>MVDC.exe “F:Windows XP Professional-flat.vmd
    Step 1 of 3: Loading Source Disk…
    No suitable drive was found at path (F:Windows XP Professional-flat.vmdk).

Leave a Reply

Your email address will not be published. Required fields are marked *