14 replies
Hello, if you VHD file is corrupted then i prefer you to first go with the help of manual method here is the link
https://gallery.technet.microsoft.com/repair-vhd-file-hyper-v-f00b3b50
In case if you are unable to repair VHD file with the help of manual method and still wants to access the VHD file items. Then you can prefer Hyper-V recovery software to recover the data from corrupted and inacessible virtual hard disk files in just few clicks.
Here is the link https://www.systoolsgroup.com/hyper-v-recovery.html
by vitsusa
Following steps that help to overcome the problem:
Step 1: First, you need to mount the VHD file in the parent partition, and then, run a script CHKDSK to repair it.
Step 2: After this, check the integrity of VHD by using Hyper-V virtual machine
Step 3: Now, to Add the .vhd file to the IDE controller and click on the Inspect option
Step 4: You can merge any VHD and AVHD data files. You need to verify if it can be opened by Windows 7, server 2008 (for Virtual machine)
Step 5: In last, you can download the free Microsoft vhd tool, which includes a “repair” option that is designed to undo the expanding mode on a base VHD when different VHDs are available.
by dbcomp
Attaching a VHD file directly in a host operating system requires Windows 7 or later. Attach the VHD image to the system from the Windows Disk Management utility.
You can check this process
I had used this application last week and it works for me. Good thing about this application is that, this tool show all the recoverable data in free version without spending any amount. You just go through free version to see results.
http://www.undeletepcfiles.com/vhd-data-recovery-tool.html
Thanks
by mack9555
Want to recover data from damaged vhd file. Then follow the below-mentioned steps:
1. Download VHD Data Recovery Software ( http://www.softwarepro.org/recovery/hyper-v/ )
2. Install on your windows os machine
3. Browse .vhd file using software window
4. Preview complete data and apply selection
5. Save data at any location easily.
There's no way to repair VHD file or its data. All you can do is try to recover the data which is left in the VHD file. And that's only possible with a 3rd party recovery tool. Although most of the vendors in the online marketplace provide the free demo version, you have to purchase the software for saving the recovered data. So if you're looking for a free solution, you should try the VHD tool provided by Microsoft. It can fix corrupt VHD file if there's minor corruption.
Also, you can try a couple of DIY tricks:
1. Run a script on Windows PowerShell to mount the VHD file in the root folder, and then you can run a CHKDSK on it.
2. Create a new Virtual Machine, then add the corrupt Virtual disk file to it. Now compact it.
Thanks.
Hi andrewmanson1994 ,
VHD files are more vulnerable to corruption due to hard drive failure, virus attack, abrupt system shutdown, networking fault, etc. However, there are various manual ways that can easily repair corrupt VHD file without losing its data integrity. The best method is to run Windows PowerShell command.
Mount VHD File – $VHDName = “V:\serverx.vhd“
Get the MSVM_ImageManagementService
$VHDService = get-wmiobject -class “Msvm_ImageManagementService” -namespace “root\virtualization” -computername “.”
Mount VHD file here:
$Result = $VHDService.Mount($VHDName)
Now run CHKDSK command on this VHD File.
Hope it will help you to repair your corrupt VHD file.
Thanks
There are various reasons which can cause corruption in VHD files and make them inaccessible. But there are a couple of manual tricks and automated tools available by which 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.
• You can download free utility to recover corrupt VHD file from here: https://download.cnet.com/SysInfoTools-VHD-Recovery/3000-2248_4-76476794.html
• Microsoft provides VHD tool that can fix corrupt VHD file and recover data from it, you have to download the executable file and run the command VhdTool.exe /repair [/quiet]
You can follow the above mention methods to repair VHD file.
Thank You
This discussion is closed to new replies.
Trending Software posts
Sort by Trending