Hi,
please, backup the vm folder before proceeding.
After that, make a distinction:
1) "virtual machine consolidation needed" status means that there were files left that could not be merged when deleting snapshots has been processed. Ensure there is enough disk space (!) and run "Consolidate", see here.
2) After 1) has been proceeded successfully, proceed with the inner vm fixing e.g. chkdsk /f /r and sfc /scannow .
Collect the activities log e.g. vCenter logs, vm log, event viewer logs of the vm.