Monitor Work from Home Employees with Employee Desktop Live Viewer.

Read More

Why & When to Use VHDX or VHD files with Hyper-V

Avatar Suman Kumar Updated On - 08 May 2020

With the release of Windows Server 2012, Microsoft introduced various virtualization improvements. Among these improvements, one important improvement was the addition of the VHDX file format. It is very important to note that Windows Server 2012 supports the new format, and at the same time allows Hyper-V administrators to make the proper usage of the old VHD format. However, the key question still remains –

“When to Use VHDX or VHD files with Hyper-V?”

So, let us try to understand this more with a comparison between both formats, i.e VHD vs. VHDX.

How VHD and VHDX differ?

If we try to make a comparison between VHD and VHDX files, these are the major differences:

  • Compatibility: VHD is supported by 2008, 2008R2, 2012R2 and 2012 versions of Windows Server. But VHDX is supported by Windows Server 2012 and later versions only.
  • Capacity: With the old VHD file format, the storage limit is restricted to 2TB; but with the new VHDX format, the maximum storage limit is 64TB.
  • Logical Sectors: The new VHDX format supports 4KB logical sector size which is a nice performance boost. While VHD format file supports logical sector size of 512 bytes only.
  • Data Protection: One more special feature about the new VHDX format is that the self-protection it provides against file corruption from unexpected IO failure (by tracking metadata) caused by issues like sudden power outage. It also provides larger blocks than VHD file for dynamic and differential disks with custom metadata features.
  • Resizing: Live resizing is possible for VHDX files, whereas it is not possible for VHD files.
  • Data Alignment and Trimming: VHD file format have issues with data alignment while VHDX file offers smooth data alignment. Also trimming feature is available only in VHDX file formats.
  • Storage Types: : Now let’s look at different storage types with VHDX. Hyper-V allows you to create two primary hard disk storage types – fixed and dynamic. The great aspect about dynamic size is its requirement for minimum initial space. And the size expands proportionately as one uses the space. On other hand with the fixed storage type, the size for your storage is fixed. In terms of performance, fixed storage is efficient compared to the dynamic one.

Now that you know the main differences between VHD and VHDX files, you can choose the file format accordingly. For some reasons based on the versions support,

Upgrade of VHD files to VHDX

An individual must keep in mind that this new VHDX format cannot be used with Microsoft Server 2008/2008R2 and therefore in case you are preparing to place your virtual machine on a Microsoft Server 2008/2008R2, Hyper-V then make sure you keep your files in a VHD format. And Windows Server 2012 users are recommended to upgrade VHD files to VHDX in order to make the upmost utilization of the benefits the new format. One can convert VHD to VHDX format from Hyper – V Manager (Windows Server 2012) User Interface using the Edit Virtual Hard Disk Wizard (Actions > Edit Disk). You can take help of the PowerShell also to convert VHD file format into VHDX file format.

Run the PowerShell as an administrator and run this command for the conversion.
Convert-VHD -Path ‘C:\New Virtual Disks\Fixed Disk.vhd’ -DestinationPath ‘C:\New Virtual Disks\Fixed Disk.vhdx’

So, we get that VHDX files are to be used with Windows Operating System 8 version & above and Windows Server 2012 & higher versions. While for the older versions, use of VHD files is suggested as VHDX files are not supported on these versions.

Protect Your VHD/VHDX Files

Like other file formats, there are chances of corruption or data loss in VHD/VHDX files owing to many different reasons like hardware failure, sudden shutdown of system or power outage, antivirus programs intrusions, etc. If you are already using the VHD or VHDX file and is facing corruption and subsequent data loss, then you can directly go for the advanced Kernel for VHD Recovery software without thinking twice. It completely scans the virtual hard disk drive and recovers desired data including the deleted partitions. It displays the recovered data first before saving it to the desired destination location on the system drive. The repair tool successfully repairs all VHD and VHDX files from any server version. You can work on this tool by downloading its trial version from the website. So, whether you choose working with VHD or VHDX file format, remember that its data is always secure with this tool.

Download Now

Select VHD/VHDX file

The blog explains the main differences between virtual hard disk files – VHD and VHDX – to let users choose their format conveniently. It also mentioned the methods for the conversion of VHD to VHDX file format. To recover lost or deleted VHD/VHDX files due to corruption, an effective third-party utility is described as well.