VMware Tools may not install on a Windows guest operating system after upgrading to a newer version of ESXi
search cancel

VMware Tools may not install on a Windows guest operating system after upgrading to a newer version of ESXi

book

Article ID: 343126

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • VMware Tools does not install on a Windows 2008/2003 guest operating system after upgrading to a newer version of ESXi.
  • Automatic installation of VMware Tools fails.
  • Interactive installation of the VMware Tools tries to uninstall the previous version, but it fails because it cannot reference the previous VMware Tools MSI.
  • You may receive errors similar to:
Error 1316 A network error occurred while attempting to read from the file C:\Windows\Installer\VMware Tools.msi.
 
Error 1706. Setup cannot find the required files.

The installation source for this resource is not available. Verify that the source exists and that you can access it.


Environment

VMware vSphere ESXi 7.0.0
VMware vSphere ESXi 6.7
VMware vSphere ESXi 5.5
VMware vSphere ESXi 6.5
VMware vSphere ESXi 6.0

Cause

This is an issue with Microsoft Windows Installer and does not affect all Windows 2008/2003 systems. The problem can occur when the original install path from the older version of VMware Tools is invalid, such as if the install path was E:\ and that path is no longer present. For more information, see the Microsoft Knowledge Base article 555175.
 
Note: The preceding link was correct as of June 21, 2013. If you find the link is broken, provide feedback and a VMware employee will update the link.

Resolution

To resolve this issue, you must perform a forced uninstall and reinstall of VMware Tools.
 
To uninstall and reinstall VMware Tools:
  1. Right-click the virtual machine in the vSphere Client and click Guest > Install/Upgrade VMware Tools.
  2. Open a Console to the virtual machine and log into the guest operating system as an administrator.
  3. Click Start > Run, type cmd, and click OK. A Command Prompt window opens.
  4. Change the drive to your CD-ROM drive (For example, D:\).
  5. Type setup /c and press Enter to force removal of all registry entries and delete the old version of VMware Tools.

    Note: For 64-bit guest operating systems, type setup64 /c

     
  6. Open My Computer and double-click the CD-ROM that contains VMware Tools.
  7. After Auto-Run starts, follow the prompts to install.

    Note: This must be done from the GUI interface. Do not launch the install by running Setup from the Command Prompt. Also ensure that the CD-ROM is enabled. In the virtual machine properties select CD-ROM under Device Status, and ensure that Connected (if the virtual machine is powered on) and Connect at power on are selected.

     
  8. When the installation completes, reboot the guest operating system.


Workaround:
  • If the error has been reported that if the setup /c does not work then try setup /r.
  • setup /c did not removed autostart entry for the old VMwareTray.exe.Manually removed the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  • VMware Tools="C:\Program Files\VMware\VMware Tools\VMwareTray.exe"


Additional Information

Note: These errors can also be generated if Restrict CD-ROM access to locally logged-on user only is enabled via Group Policy within the environment. If this policy has been enabled, consult your Group Policy administrator.

If this issue persists, file a support request with VMware Support and note this Knowledge Base article ID (1012693) in the problem description. For more information, see Filing a Support Request in Customer Connect (2006985).

Unable to locate the ISO image for the VMware Tools installation
How to file a Support Request in Customer Connect
升级到新版本 ESX/ESXi 后 Windows 客户机操作系统上可能未安装 VMware Tools
新しいバージョンの ESX/ESXi にアップグレードした後で、VMware Tools が Windows ゲスト オペレーティング システムにインストールされない場合がある