Convert VMDK to VHD

Use MVMC 3 to convert VMDK files to VHD.

John Savill

August 25, 2015

1 Min Read
Convert VMDK to VHD

Q. How do I convert a VMDK file to VHD using MVMC version 3?

A. Once you have installed MVMC 3.0 you can either convert VMs using the MVMC graphic interface or using PowerShell. If you want to perform an offline VMDK to VHD conversion use the following:

#Download at http://www.microsoft.com/en-us/download/details.aspx?id=42497 Import-Module 'C:Program FilesMicrosoft Virtual Machine ConverterMvmcCmdlet.psd1'Get-Command -module mvmccmdletConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "S:TemplatesWin2012DC.vmdk" -DestinationLiteralPath "C:ClusterStorageVMsTemp" `-VhdType DynamicHardDisk -VhdFormat Vhdx#If offline can disable the tools. If was online could uninstall from the source VM Uninstall-MvmcSourceVMToolsDisable-MvmcSourceVMTools -DestinationLiteralPath "C:ClusterStorageVMsTempWin2012DC.vhdx"

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like