How to Recover VHD File on Windows [Top 4 Solutions]

VHD files serve as the digital storage backbone for virtual machines. Their significance cannot be overstated. Wondering how to recover VHD file? This post will not only provide you with a thorough understanding of VHD files, but also offers 4 effective ways to recover deleted or corrupted VHD files.

Aria

By Aria / Updated on June 13, 2025

Share this: instagram reddit

What is VHD File?

A VHD (Virtual Hard Disk) file is a file format used to represent a virtual hard drive. It contains the contents and structure of an actual physical hard disk. VHD files are commonly used in virtualized environments, such as Virtual Machines (VMs), where they serve as the storage medium for operating systems and applications. This format is widely used by virtualization software like Hyper-V, VirtualBox, and VMware.

VHD File

VHDs allow users to create isolated environments, test different OS setups, or run multiple operating systems on a single physical machine without needing separate physical disks.

However, there can be situations where a VHD file gets lost or gets corrupted for various reasons, such as human error, hardware failure, driver conflicts, virus and malware infection. When a VHD file is deleted or crashes, it may cause data loss in the virtual machine system and even affect the normal operation of the virtual machine. Knowing how to recover VHD file on Windows can help you better manage your virtual machine and the its data.

How to Recover VHD File from Virtual Machine

No matter what causes the VHD file to be deleted or crash, you can try to choose a suitable method to recover it according to your actual situation. Below are four methods tailored to help you recover deleted and corrupted VHD files.

Recover Deleted VHD Files

If the VHD file was accidentally deleted from a virtual machine or storage system, there are several ways to recover it. If you have backed up the lost VHD file or entire folder with the lost file using Server backup, you can restore the deleted files from the created backup. Even without a backup, there is still hope—third-party software that supports running on the Windows Server can also help you recover the deleted VHD files.

✅Recover Deleted Files from Server Backup

Step 1. Open "Server manager" and click "Tools" tab to select "Windows Server Backup".

Windows Server Backup

Step 2. Click "Local Backup" and select a created backup you wish to recover files from, then click on "Recover".

Local Backup

Step 3. Select "This server" to start the recovery. If the created backup is not stored on the local drive or it's not connected to the Server, select "A backup stored on another location".

Select this Server

Step 4. Select the date of the backup containing the deleted files to use for recovery , then click "Next".

Select Backup Date

Step 5. Select the recovery type as your needs. You can select the files or folders in the backup or the entire volume.

Select Recovery Type

Step 6. Browse and select the files or folders you want to recover in the available items.

Select Items to Recover

Step 7. Choose a secure destination to store the deleted files or folders. And choose how to deal the files are already in the recovery destination.

Specify Recovery Options

Step 8. Confirm the recovery items, destination, options and settings, then click "Recover" to start the process.

Confirmation

Once the process is completed, you can check the recovered files in the destination folder.

Recovery Progree

Recover Deleted Files from Server Data Recover Tool MyRecover

If you haven't made any backups of the files, MyRecover becomes your last resort. It requires no backup and supports running on various devices such as Server 2012 R2, 2016, 2019, 2025, and Windows 11/10/8.1/8/7. It covers multiple complex data loss scenarios, such as unreadable drives, lost partitions, drive formatting and more. Here's how to recover deleted files on Server.

 MyRecover
All-in-One FREE Data Recovery Tool
  • No Tech Skills Needed: User-friendly interface designed for beginners and non-tech-savvy users.
  • Supports Over 1000 File Types: Recover photos, videos, documents, emails, ZIP files, and more.
  • Supports Multiple Storage Devices: Works seamlessly with internal and external HDD, SSD drives, USB flash drives, SD/memory cards, digital cameras, and more.
  • Safe & Read-Only Process: Your original data remains untouched during the scan and recovery process.
  • Runs on multiple Windows systems: supports Windows Server 2012 (R2), 2016, 2019, 2025, and Windows 11, 10, 8.1, 8, 7.

4 steps to recover deleted files

Step 1. Download and install MyRecover on your computer, avoid installing it on the drive with lost files.

Step 2. Launch it and select the drive to scan for lost files, then click "Scan".

Select Drive to Scan

Step 3. Choose the files you wish to recover from the recoverable lists and click "Recover".

Select VHD Files to Scan

Step 4. Select a secure location to save the recovered files.

Select a Destination to Save

When the message "Files have been recovered successfully" pops up, you can click the path of recovered files to check them.

Recover Successful

Recover Corrupted VHD File

A corrupted VHD file may occur due to disk errors, improper shutdowns, or even software crashes. If you're facing corruption issues, there are methods to repair the error or recover the VHD file.

Run CHKDSK Command

The CHKDSK command can help you check and repair any disk errors on the storage device containing the VHD file. If your virtual hard disk has bad sectors, you might fail to access some saved data or crucial files on the drive. The CHKDSK command can effectively address this problem and repair all bad sectors on the Drive including VHD files for you.

Step 1. Type "command prompt" in the Start Bar and right click on it to choose "Run as administrator".

Step 2. Type the command chkdsk G: /f /r and press "Enter".

Run CHKDSK Command

Then, the CHKDSK command will automatically find and repair all existing errors on the virtual hard drive with VHD files.

Use Hyper-V Manager

Hyper-V Manager is a built-in virtualization management tool in Windows, used for creating, configuring, and monitoring virtual machines. You can use it to recover corrupted VHD files.

Step 1. Launch Hyper-V Manager and click "Edit Disk".

Edit Disk in Hyper-V

Step 2. In the left panel, click "Locate Disk". Then browse and select the corrupted VHD files or the drive, click "Next".

Locate Disk

Step 3. Select "Compact" and "Next".

Choose Action

Step 4. Click "Finish" when the process is completed.

Editing Virtual Disk

Step 5. Rename the VHD file.

Summary

Up to this point, you should be able to recover your VHD file in most situations, whether it was deleted or corrupted. If you are searching for a reliable tool to recover deleted files, MyRecover is worth recommending. It can recover CAD files, VHD files, VHDX files, Photoshop files, PDF files and over 1000 formats.

Moreover, the Professional and Technician versions of MyRecover can recover files from crashed Windows system. It also has preview feature to check whether the files are what you need before recovering them.

Aria
Aria · Editor
I've been specializing in the data recovery industry for years. I am dedicated to translating intricate software features and functions into plain - language explanations, enabling everyone to understand how to utilize the data recovery software effectively and retrieve their valuable data with confidence. My overarching professional objective is to bridge the gap between complex data recovery technologies and users of all skill levels. Through my work, I strive to eliminate the common anxiety associated with data loss, thereby providing a reliable method for safeguarding digital assets.