You may receive error during VMware tool update, The reason for this is that upgrading VMware tools within guest is disabled by default.
To resolve this Edit the virtual machine's vmx file.
Add following line in vmx file. isolation.tools.guestInitiatedUpgrade.disable = "FALSE"
To Edit vmx file In ESXi/ESX using the vCenter Server GUI
- Shut down the virtual machine, if it is running.
- Open the datastore browser and navigate to the virtual machine directory.
- Using the GUI option, download the .vmx to your local desktop.
- Create a backup of the .vmx on your local workstation.
- Open the .vmx file using a text editor and add this line to the end of the file:
isolation.tools.guestInitiatedUpgrade.disable = “FALSE”
- When saved, upload the file via the datastore browser GUI.
- Power on the virtual machine.
- Verify functionality before deleting the .vmx backup on your local workstation.
In ESXi/ESX using the command line
- Shut down the virtual machine if it is running.
- Open an SSH session to a host
- Navigate to the virtual machine directory.
- Run this command to create a backup of the .vmx file:
cp .vmx .vmx.backup
- Open the .vmx file with a text editor and add this line to the end of the file:
isolation.tools.guestInitiatedUpgrade.disable = “FALSE”
- Power on the virtual machine.
- Verify the virtual machine is functional before deleting the backup file. To delete the backup file, run the command:
– rm .vmx.backup
Now you should be able to upgrade VM Tools