Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

How to recover data from Corrupt VHD file

Jul 3, 2018 10:34AM PDT

Last night while accessing my Virtual machine I receive an error like this " The VHD file or directory is corrupted " Can anyone tell how to resolve this issue.? Actually, this VHD file contains my important data

Discussion is locked

- Collapse -
Re: recover data from VHD file
Jul 3, 2018 10:45AM PDT

Didn't you backup that important data? If somebody doesn't backup some data, we conclude that it's unimportant.

Anyway, https://www.google.com/search?q=recover+VHD seems to find data recovery companies (or even programs) that can do it. Surely, if it's important data, you don't mind paying for it?

- Collapse -
That's the beauty of a VHD file.
Jul 3, 2018 1:42PM PDT

Too easy to make backups. I find that while you can repeat the lessons on backups most folk don't get it until they lose it all.

Nod to DriveSavers as they do this as well (at least last time I ran into them.)

- Collapse -
How to recover data from Corrupt VHD file
Jul 3, 2018 9:29PM PDT

You need to make another Virtual Server and need to include another hard disk.

Go to Settings and find the hard disk that you have made a few seconds ago. And after that browse the VHD record

Then reduce the records by choosing the "Minimized Option" in the Virtual Hard Disk Wizard. Make a point to choose the " Convert it to a settled size virtual hard disk" alternative before compacting the documents.

Now you can spare these documents in another area with another name.

When the records are compacted effectively. Duplicate it and adjust it with the old server and run it.

- Collapse -
Free way to explore
Jul 26, 2018 4:48AM PDT

Some of the ways you can explore over the internet, one of them is:

1. Firstly, mount the VHD file in the parent partition.
2. Run a script CHKDSK repair it.
3. By using Hyper-V virtual machine check the integrity of VHD.
4. Now add the .vhd file to the IDE controller and click on the inspect option.
5. Merge any VHD and AVHD data files.
6. Need to verify it by opening in Windows.
7. Finally, download the Microsoft VHD tool to finally implement the repairing process.

Try it, hope it will help you.