"The virtual hard disk 'Accounting VM.vhdx' is corrupted or invalid."
The Hyper-V Manager includes a graphical utility that can sometimes resolve minor corruption by compacting or expanding the disk. Open Hyper-V Manager. Select "Edit Disk" from the Actions pane. Browse to and select your corrupted VHDX file.
The end.
The following steps can be used to repair corrupted VHDX files:
Methods and Tools for Repairing Corrupted VHDX Virtual Disk Files in Enterprise Environments
VHDX files can become corrupted due to various reasons, including: