​When trying to power off a VDI or VM in vSphere sometimes the machine will stop itself at 95% complete in the task, you’re unable to make any changes and it won’t respond to further commands. Follow these steps below to try to remedy the situation.

  1. Determine which host the VM is on.
    1. While on the VM in vSphere click Summary and look at the “Host” field under “General”
  2. Connect to that host through vSphere.
  3. Click the VM and try to power it down.
  4. If that fails you’ll need to use Putty to SSH into the host.
    1. First SSH needs to be enabled on the host. You can activate it by going to the configuration tab on the host in vSphere and make sure the SSH service is running.
  5. Log in as Root and run the following commands:
    1. esxcli vm process list
      1. This is to find the world ID of the unresponsive VM.
    1. esxcli vm process kill --type=[soft,hard,force] --world-id=WorldNumber
      1. Three power-off methods are available. Soft is the most graceful, hard performs an immediate shutdown, and force should be used as a last resort.
     6. Double check that the VM is powered off now 

Additional information HERE