vCenter 7.x
vCenter 8.x
VCD
VMs are in an inconsistent status due to improper shutdown of the VMs resulting in still existing worlds, temporary files and locks on a non-running VM.
Move all of the VM temporary files to a temporary location (in case this has to be reverted)
To re-register VM on host go back to the ESXi Web UI where the VM folder was left open on the datastore before we then right click on the VMX and select Register, the VM should now be able to be powered on and resume normal operation (will not work from the ESXi host directly when using resource groups, please test directly on VCD or vCenter).