• sales02915

How to: Convert from VMDK to VHDX

How to: Convert from VMDK to VHDX

Recently we have had a raised number of requests asking if we’re able to recover backups made within VMware into a Hyper-V environment. Seems like a reasonable enough request (although we hadn’t done this before). This involved finding out a way to convert from vmdk to vhdx file formats so that the VMware guest is compatible within the Hyper-V environment.

convert from vmdk to vhdx easily with our how to guide!

SPOILER: We were able to do this successfully and I’m outlining a couple of methods and tools we used below.

Using the Microsoft Virtual Machine Converter

While using this method; firstly you’ll need to download the MS VM converter tool.

For us to use this correctly; the module provides a number of PowerShell commands to convert from vmdk to vhdx. However; you’ll need to import the module by using the following command within PowerShell (assuming the default installation directory):

Import-Module ‘C:\Program Files\Microsoft Virtual Machine Converter\MvmcCmdlet.psd1’

The syntax which needs to be used to convert a vmdk file into a vhdx file is as follows:

ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath <pathtovmdkfile>.vmdk -DestinationLiteralPath <outputpathtowritevhdxfile>

The example below has the vmdk file located on the E: drive. While the resulting vhdx file is output to the D: drive:

ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath E:\myvmwaremv.vmdk -DestinationLiteralPath D:\vhdxoutputpath\

All you have to do now is just sit back and wait for the magic to finish (which will vary depending on how large the virtual machine is).

StarWind V2V Converter Method

StarWind is an IT company which focuses on virtualized (cloud) based storage since 2008. One of their many products that they offer is a free virtual disk conversion tool named StarWind V2V converter (which can be downloaded from the hyperlink).

The great thing (and major difference from the Microsoft converter tool) about their V2V converter is that the task to convert from vmdk to vhdx is simple through an intuitive user interface. I’m a massive fan of anything that has a user interface. (Actually, more like anything that avoids having to mess with command interfaces).

Test My Backups

We have a number of clients who know that they’re able to throw a variety of recovery scenarios our way to see what’s possible.

The difference between us and other data recovery based companies is that we take the pro-active approach to data recovery. We come in before data loss and disasters occur. This ensures that your business backups will work when needed. Other data recovery companies are called in after the fact (re-active) with little to no guarantee of being able to get your data back as it was.

Got any other recovery scenarios you want tried? Outline the details and put us to the test!

#virtualization #VMware #HyperV #virtual #VM

41 views0 comments

Recent Posts

See All