Kill VM Process on ESXi 5.0 via command line


  • You cannot power off an ESXi hosted virtual machine
  • A virtual machine is not responsive and cannot be stopped or killed

ESXCLI is a great command that simplifies the way to kill unresponsive virtual machine

to do so:

  1. open SSH session to your esxi
  2. view your VM list by using:

#esxcli vm process list

esxcli vm process list

  1. Identify the unresponsive VM world ID number, for example VM2 has a world id: 14896
  2. now you can kill this VM using:

#esxcli vm process kill ?world-id=14896 ?type=hard

Related Link