VHD files are prone to corruption just like any other computer file. There are various reasons which can cause corruption in VHD files and make them inaccessible. Thankfully, Microsoft provides VHD tool that can fix corrupt VHD file and recover data from it. Also, there are a couple of manual tricks you can try here to repair VHD file.
- You can run a script on Windows PowerShell that will help you mount the VHD file in the root folder, and then you can run a CHKDSK on it.
- You can create a new Virtual Machine. Now add the corrupt Virtual disk file to it and then compact it.
The above information has been taken from this source - Repair VHD File Manually – Utmost Solutions for VHD Recovery
Before you can purchase any paid software, you must try the VHD tool (provided by Microsoft) and the manual tricks shared in the above article. I hope the shared information would be helpful here.
Thanks and best regards.