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

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

 

 

 

Advertisements
This entry was posted in Microsoft General, VMWare and tagged , , , . Bookmark the permalink.

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

  1. Nick says:

    Worked great, cheers!

  2. svdb says:

    Doesn’t work for 5.1 😦

  3. MSFan says:

    Thanks!! was searching for this. 🙂

  4. Pingback: Another day in Paradise » Convertir une machine virtuelle de VMware vers Hyper-V (et inversement)

  5. Khalil says:

    Thanks. Great and helpful post

  6. Joao says:

    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)

  7. Alex says:

    Thanks.. I was searching for this too

  8. karim says:

    Thanks:)

  9. Akshay says:

    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).

  10. Comeon says:

    What if your .vmdk hard disk is split virtual disk? Can can you combine and then converter or is there another process?

  11. VirtualBox is another good free tool for this, you can convert using the VBoxManage command which is shown here: http://www.rootusers.com/how-to-convert-an-ova-virtual-machine-to-vhd/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s