PS C:\> Convert-VHD -Path ' E:\Virtual Hard Disk-1.vhd' -DestinationPath E:\Virtual-HD.vhdx Convert VHD to VHDX with PowerShell Convert Single Virtual Hard DiskĬonvert a single vhd to vhdx with the following command. Remember, before starting conversion of vhd, you must turn off all you guest computers in Hyper-v environment. It is also easy and just requires one line command of convert-VHD.
Now try to convert vhd to vhdx with Windows Powershell. Go to virtual hard disk directory and see the converted vhdx file. Yes, the vhd format converted successfully to vhdx format. Completing the Edit Virtual Hard Disk Wizard Configure Virtual Hard Diskįinally on the Summary page click Finish button to complete the conversion of VHD to VHDX. Now, on the Configure Disk page click Browse and select the directory, where you want to save the vhdx file and then click Next. On the Choose Disk Format page, select VHDX and click Next. On the Choose Action page, select Convert and click Next. When the Edit Virtual Hard Disk Wizard opened, click browse and select the virtual hard disk files. So open your hyper-v manager and click the Action then click Edit disk or from right side click Edit Disk. The first method is using Hyper-v Manager to convert vhd to vhdx. Do it like the below step by step guides. (Trim requires physical disks directly attached to a virtual machine or SCSI disks, and trim-compatible hardware.)Ĭonvert VHD to VHDX with hyper-v manager is the graphical method and is easy for beginner to Virtualization with hyper-v.
The VHDX format also provides the following features:
So here I’m going to show you how to convert VHD to VHDX using Hyper-v manager and PowerShell command line.īefore starting conversion process, once read the benefits and new features of VHDX from Hyper-V Virtual Hard Disk Format Overview The main new features of the VHDX format are: But in Windows Server 2012, Microsoft has changed the VHD format to VHDX, like the old file documents (.doc) to. Virtual Hard Disk (VHD) is the hard disk format of Microsoft Hyper-v, a compatible hard disk format with Windows Server 2008 and Hyper-v server 2008.