Powershell Repair Vhd File
Look for the disk that matches the size and file name of your VHD.
Run the following cmdlet to repair the VHD file: powershell repair vhd
Identify the path to the corrupt VHD file. Make sure you have the correct path and file name. Look for the disk that matches the size
Repair-VHD -Path "C:\Path\To\CorruptVHD.vhd" -Repair powershell repair vhd