Dismount-VHD "C:\Corrupted.vhd" Mount-VHD -Path "C:\Corrupted.vhd" -NoDriveLetter Then assign a drive letter via Disk Management and run CHKDSK again.
Mount-VHD -Path "C:\Corrupted.vhd" -ReadOnly This prevents further writes to a damaged structure. how to repair vhd file
diskpart select vdisk file="C:\Corrupted.vhd" attach vdisk list disk If the disk appears but has no partitions, attempt to bring it online: Dismount-VHD "C:\Corrupted