Operational Defect Database

BugZero updated this defect 57 days ago.

VMware | 2007298

Updating VMware Tools fails with the error: Update Tools failed. Edit the virtual machine's vmx file

Last update date:

3/23/2024

Affected products:

Fusion

Player

Workstation Player

vSphere ESXi

Fusion Pro

Workstation Pro

Workstation

Player Pro

Affected releases:

5.x14.x11.x12.x6.x9.x7.x3.x8.x4.15.14.x5.015.x10.x

Fixed releases:

No fixed releases provided.

Description:

Symptoms

You are unable to update VMware Tools.Updating VMware Tools fails.You see the error: Update Tools failed. Edit the virtual machine's vmx file, add the line below and try again. Please read KB article 1714 on tips for editing a vmx file. isolation.tools.guestInitiatedUpgrade.disable = "FALSE"

Cause

This issue occurs because, for security purposes, updating VMware Tools from within the guest is disabled by default.

Resolution

To resolve this issue, enable VMware Tools updates from within the guest by updating the virtual machine configuration file. To update the virtual machine configuration file: In Fusion, Player, or Workstation Shut down the virtual machine, if it is running.Open the virtual machine configuration file (.vmx) using a text editor. For more information, see: Fusion: Editing the .vmx file for your Fusion virtual machine (1014782)Workstation: Editing the .vmx file of a VMware Workstation and VMware Player virtual machine (2057902) Add this line to the end of the file: isolation.tools.guestInitiatedUpgrade.disable = "FALSE" Save and close the .vmx file.Power on the virtual machine.Start the VMware Tools upgrade within the guest operating system. 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" Note: For more information, see Tips for editing a .vmx file (1714). 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.Start the VMware Tools upgrade within the guest operating system. In ESXI/ESX using the Web and vSphere Client Login to vCenter Server/Virtual Center using vSphere Client/Web Client.Right-click on virtual machine and click to shutdown or Power off the virtual machine.Right-click on virtual machine and click edit settings.Click the Options tab and select General under Advanced.Click Configuration Parameters and a new window opens.Click Add Row and type isolation.tools.guestInitiatedUpgrade.disable and FALSE under ValueClick OK twice to close all the windows. In ESXi/ESX using the command line Shut down the virtual machine if it is running.Open an SSH session to a host. For more information, see Using ESXi Shell in ESXi 5.0 and 5.1 (2004746) or Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).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" Note: For more information, see Editing files on an ESX host using vi or nano (1020302). 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 Start the VMware Tools upgrade within the guest operating system.

Related Information

Note: To work around this issue, connect directly to the ESXi/ESX host or the vCenter Server and upgrade VMware Tools on the virtual machine. For more information, see General VMware Tools installation instructions (1014294).How to install VMware ToolsEditing the .vmx file for your VMware Fusion virtual machineUsing Tech Support Mode in ESXi 4.1, ESXi 5.x, and ESXi 6.xEditing files on an ESX host using vi or nanoTips for editing a .vmx fileUsing ESXi Shell in ESXi 5.x and 6.xEditing the .vmx file of a VMware Workstation and VMware Player virtual machineLa actualización de VMware Tools falla con el error: Update Tools failed. Editar el archivo vmx de la máquina virtual VMware Tools の更新が次のエラーで失敗する:ツールの更新に失敗しました。仮想マシンの vmx ファイルを編集してください更新 VMware Tools 失败并显示以下错误:更新工具失败。请编辑虚拟机的 vmx 文件

Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Unavailable

Learn More

Search:

...