vmware-cmd

How to kill stuck VMware Tools install from the command line ESXi 5.x

Trying to put a host into maintenance mode in vCenter and one machine wouldn't VMotion because it said VMware Tools were being installed or upgraded.

Searching Google came up with this article which applies to ESX 4.x:

http://lonesysadmin.net/2009/12/11/how-to-cancel-a-stuck-vmware-tools-in...

Well vmware-cmd is gone in ESXi 5.x. Here's how you do it in ESXi 5.x:


cd /vmfs/volumes/[datastore]/[vmname]
vim-cmd vmsvc/getallvms

Note the VmId of the machine having the issue. Then run:


vim-cmd vmsvc/tools.cancelinstall VmId

Syndicate content