Recover Corrupted/Unreadable VHD or VHDX Files in Windows 10

Tracy King updated on Mar 29, 2019 to Storage Media Recovery | How-to Articles

Summary

When your VHD or VHDX disk suddenly becomes inaccessible or unreadable in Windows 10 or if you cannot access saved files on your Virtual hard disk, relax! EaseUS Data Recovery Wizard can recover lost VHD files. What's more, effective methods are available here to help you repair the unreadable or corrupted VHD/VHDX.

How to restore VHD files when the virtual disk becomes corrupted or unreadable

"Hi, does anyone know how to recover corrupted VHD files in Windows 10? I got a virtual hard disk installed on my PC with Windows 10. This morning when I turn on the VM, the VHD corrupted with all saved files turned into unreadable. So is there a way that can help me to repair corrupted VHD and perform VHD file recovery to get all files back?

According to Google searching result and major tech websites, VHD corruption with data loss issue indeed have caused serious results to many users. So how can you get corrupted VHD files back in Windows 10 or other Windows systems? The short answer is: "Run data recovery tools inside the virtual machine." For the long answer, we need to look at how the virtual hard disk is structured. Reading from the Virtual Hard Disk specification (available here) you can see that virtual hard disks have the following structure:

the structure of the vhd disks

  • If Virtual PC / Virtual Server / Hyper-V report that the virtual hard disk is corrupt – then one of the header/footer sections has been corrupted – and there is nothing that you can do.
  • If the virtual machine starts correctly – but then reports errors accessing the disk – run hard disk data recovery software inside the virtual machine.
Warning
If the HVD or VHDX image files are damaged or corrupted, being unable to be loaded, please contact a local or online VHD repair center or the support team of your VHD manufacturer and ask them for help.
If the VHD or VHDX image files are safe, try to reboot your virtual machine, check if you can visit your VHD or VHDX disks. If not, move on to follow Part 1 to restore important files on your virtual disk and run methods in Part 2 to repair the corrupted or unreadable virtual disk. 

Part 1. Try A Third-party VHD Data Recovery Tool

Professional VHD file recovery tool - EaseUS Data Recovery Wizard will effectively help you restore all files from VHD or VHDX disk partition with simple clicks. Download and install this VHD repair tool on your VM and apply the steps to restore your lost VHD files:

Step 1. Connect your device to PC.

If you lost files on an external storage device, connect the storage device to your computer firstly.

Step 2. Run this software and scan the lost file.

Run EaseUS file recovery software - Data Recovery Wizard on your PC, specify the location where you lost files and click "Scan" to scan those lost files.

Run data recovery software.

Step 3. Preview and restore file.

After the scanning, you can find and double-click to preview your lost files here:

  • Delete Files: All your deleted files are listed here.
  • Drive (with your device name): It loads all lost files here.
  • Lost Partition Files: Check first if your hard drive is formatted or partition gets deleted.
  • Extra Files: All files that lost names or paths on your drive can be found here.
Scan and find lost files.

Step 4. Choose and restore files.

Finally, select the found files, click "Recover" and navigate to save them to a secure location on your PC or another external storage device.

Restore lost files.

Part 2. Repair the Corrupted or Unreadable VHD/VHDX

After getting all data out of the unreadable virtual disk, you can now follow this part to repair and fix the corrupted VHD or VHDX:

1. Run CHKDSK command to repair bad sectors on VHD

If bad sectors exist on your virtual disk, you may not be able to access all saved data or important files on the drive. CHKDSK command will effectively solve this issue and repair all bad sectors on VHD for you:

  • Click Search and type: cmd, hit "Enter" to bring up Command Prompt.
  • Type: diskpart and hit "Enter" to bring up DiskPart.
  • Type: chkdsk D: /f /r /x and hit "Enter".

By doing so, CHKDSK command will automatically find and repair all existing errors, bad sectors and even corrupted system files on your VHD disk.

2. Format VHD to NTFS file system

If the VHD disk is still not working, you can directly format the disk into the NTFS file system to make it work again:

  • Open This PC on your virtual machine, find and right-click on VHD disk and select Format.
  • Select NTFS as the file system of VHD that you want to format it to.
  • Then click "OK" to confirm that you need to format the VHD to NTFS.

3. Delete and create a new VHD partition

The last way that you can try is to delete and create a new partition on your VHD disk.

  • Right-click on This PC > Manage.
  • Click Disk Management, find and right-click on the VHD disk partition, then select Delete Volume;
  • Click Yes to confirm the deletion;
  • Then right-click on the unallocated space on the VHD and select New Simple Volume;
  • Assign the volume with a new drive letter, file system, and size, then follow the onscreen instructions to complete the process.

After this, you'll get a brand new VHD partition and you can use it to save data again.

Still cannot solve the problem? If the provided methods didn't work, you may need a manual fix. Try to email the EaseUS Support team at support@easeus.com. You're not guaranteed to get a 100% working VHD/VHDX repair from there, but it seems the last resort when all the online workarounds cannot help.

 
 

100% of people found this article helpful.

 

Frequently Asked Questions

1. Why cannot I recover 2GB data for free?

It is recommended to check the version installed is Free or Trial because they are different versions.

Trial has data preview function but cannot save any files, while the Free version enables to recover 2 GB files. The default free space is 500 MB and you may share the product on social media to get another 1.5 GB.

2. Why cannot the recovered files be opened?

A file is saved as 2 parts on the storage device: directory info (which is comprised by file name, time stamp and size info, etc.) and data content.

If the files with original file names and folder structures cannot be opened, one possible reason is the corrupted directory info. There is still a chance to recover the data content with the RAW Recovery method in our software.

3. Why isn't it suggested to recover the files back to the original drive?

The storage structure of the lost files would be altered or damaged by any changes on the drive. If you save the recovered files back to the same drive, the original data structures and data content would be corrupted or overwritten, which causes permanent data loss. So you should prepare another disk to save the files.

4. How can I check whether my data is recoverable or not before purchase?

The Free version helps you save 2GB files to better verify the recovery quality of our product before purchase.

5. How long does it take to scan the drive?

It strongly depends on the capacity of your hard drive and the performance of your computer. As reference,most drive recoveries can be completed in around 10 to 12 hours for a 1-TB healthy hard drive in general conditions.

About Data Recovery Wizard

It's super easy to recover 250+ types of files after deletion, disk formatting and virus infection. Click the links and compare the difference of each version.