This little tidbit from The Lone Sysadmin saved our bacon this morning: if you’re finding it impossible to migrate a VM off of a host because of a stuck VMTools installation process, there’s a quick way to kill this process off via the command line to get things moving along. First, you need to know the process ID of the VM you’re working with (run this from the host where the VM is currently living):
/usr/bin/vmware-cmd /vmfs/volumes/datastore/vmname/vmname.vmx getid
This should return something like “getid() = 192″
Using that ID you can then cancel that tools install:
/usr/bin/vmware-vim-cmd vmsvc/tools.cancelinstall
Voila! No more tools install, and migration should work normally. Huge thanks, again, to Bob over at The Lone Sysadmin!









