You have probably had a case where you needed to migrate your VM from one to another hypervisor.
Migrating VM between the same hypervisor vendors is not a big deal, but when it comes to migrating between different hypervisors there is a different procedure in the place. You need to convert virtual disk from one to another format.
There are different third-party tools you can use for this purpose such as StarWind V2V Converter / P2V Migrator, WinImage, VMware Converter Standalone and others.
If you’d like to see StarWind V2V Converter / P2V Migrator in action, you can check it here Migrate VMs from Citrix XenServer to Hyper-V Server.
In this article, I’ll show you how to migrate VM from VMware to Hyper-V by converting VMDK to VHD(X) file using Vmdk2Vhd.
Step 1: Uninstall VMware tools
To provide you with the best VM and user experience, VMware and Microsoft use different tools. VMware uses VMware tools and Microsoft uses Hyper-V Integration Services.
Hence, you need to uninstall VMware tools from your machine. Why? Because, you don’t need to use VMware integration services on Hyper-V VM.
Once you are done, shutdown your machine.
Step 2: Export VMDK file
In the second step, you need to export or copy VMDK file from your VMware datastore to Windows Server.
You can access your VMware datastore from your Hyper-V server using VMware web UI. As you want to run VHD(X) file on Hyper-V, it make sense to do everything from there.
Step 3: Download Vmdk2Vhd
This is third-party tool, and you need to download it and run on your Windows machine. It is only 48 KB big.
Step 4: Convert VMDK to VHD(X)
Once you extracted Vmdk2Vhd from zip file, you need to convert exported VMDK file to VHD(X) file. Please follow the instructions:
- Open Vmdk2Vhd.exe. It’ll open window to select your VMDK file.
- Select source VMDK and destination VHD.
- Click Convert. Wait until file is ready.
Step 5: Import VHD(X) file to your Hyper-V
In the last step, you need to create virtual machine in your Hyper-V and attach VHD(X) virtual disk you created in the previous step.
- Open Hyper-V Manager.
- Click on New virtual machine in the right side device tree.
- Under Before you begin click Next.
- Specify name and location of the virtual machine and then click Next.
- Specify generation and click Next. You can choose between Generation 1 and Generation
- Assign memory and click Next.
- Configure Networking and click Next.
- Select Use an existing virtual hard disk, browse for it and click Next. You need to select VHD(X) file your created in previous step.
- Under Summary click Finish.
- Power on your VM.
Thank you for reading this article. If you found it useful, feel free to share it with your network.