Free Tool to Open VHD File in Windows

February 13, 2018 | Views: 2999

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Virtual Hard Disk (VHD) file is a file that acts as a virtual hard drive and can contain everything on a hard disk, such as a file system, files, folders and more. While going through this article you will come to know both the manual and the alternative method to Repair VHD File. 

Virtual hard disk (VHD) is a disk image file format that is used for storing the complete contents of a hard drive. VHD files is primarily designed in such a way that it can be used by virtual machines. Today, Virtualization has become an incredibly powerful and flexible way to store your valuable information on virtual environment.

Virtual hard disks are found in two different fixed-size and dynamically expanding. Both types have a great size value that identifieswhich size of the disk will appear on the virtual machines. Nevertheless, fixed-size VHDs will automatically take up the quantified amount of physical disk space on the host computer’s file system, whereas dynamically expanding disks will allocate space only as needed.

 https://www.arysontechnologies.com/vhd-recovery.html

How to repair VHD file (virtual disk)?

These days with the growth of technology you will find various ways to repair your VHD file manually.

Trick #1 to Repair VHD File

In order to repair VHD file, this would be the very first step. In this method you may run a script on Windows PowerShellso that this will help you to mount the VHD file in the root folder, and then you can run a CHKDSK on it. Run the commands given below (kindly change your details as per requirement):

#First we choose what VHD we want mounted

$VHDName = “V:serverx.vhd”

#Get the MSVM_ImageManagementService

$VHDService = get-wmiobject -class “Msvm_ImageManagementService” -namespace “rootvirtualization” -computername “.”

#Now we mount the VHD

$Result = $VHDService.Mount($VHDName)

You can now run a CHKDSK on this VHD.

Trick #2 to Repair VHD File 

This is another way to repair VHD file. In this method you need to create a new Virtual Machine, then add the corrupt Virtual disk file to it. Now compact it. If you don’t know how to do this, follow the steps given below:

Step 1: Create new Virtual Server, and add a new hard disk.

Step 2: Now click on the settings, then select the hard disk that you have made earlier. Then browse to the VHD file that will not load.

Step 3: Click the Virtual Disk Wizard, and select the compact option. Make sure that you have selected the option to convert it to a fixed-size virtual hard disk.

Note: suppose If the actual size of your VHD is 50 GB and you are using only 10 GB of data, then the new VHD file will only be compacted to 10 GB.

Step 4: Thus you can save this VHD file with a new name which is (optional).

Once you effectively compact the VHD file, then copy the VHD file back to the original server and try to mount it.

Trick #3 to Repair VHD File

You can also use VHD Tool provided by Microsoft. This method will provide you an option of restoration of your VHD file. Click on the Download button of the executable file, and run it as an administrator on your system with a command shown below:

VhdTool.exe /repair <BaseVhdFileName><FirstSnapshotAVhdFileName> [/quiet]

 

 

Alternative way to Repair VHD File

If you feel the above mentioned manual methods are not working according to you then there are many software vendors available in the market providing you best and effective recovery tools. VHD Recovery tool , is most effective software that fully recover any kind of corruption/ damage in an efficient way. The software has amazing user interface which makes this products very friendly for users and it recovers your maximum possible data in very quick time.

Share with Friends
FacebookTwitterGoogle+LinkedInEmail
Use Cybytes and
Tip the Author!
Join
Share with Friends
FacebookTwitterGoogle+LinkedInEmail
Ready to share your knowledge and expertise?
10 Comments
  1. Kernel for VHD, a prominent third party data recovery software, capable to recover data from corrupt or damaged VHD/VHDX file on a virtual hard disk drive. The software also permits its user to preview recovered data items before saving.
    Its free trial version is also available to download at- https://www.kerneldatarecovery.com/virtual-disk-recovery.html

  2. Great tips thanks!

  3. Excellent tip thanks

  4. useful tip thank you

  5. Nice tip thank you

Page 2 of 2«12
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play
 

Support Cybrary

Donate Here to Get This Month's Donor Badge

 
Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel