Upgrade VMware Tools to the latest version to enhance the performance of the virtual machine's guest operating system and improve virtual machine management.

Back up your virtual machines to prevent data loss. See Basic System Administration.

A supported guest operating system must be installed on the virtual machine.

You must have an ESX/ESXi license or be using evaluation mode to power on the virtual machine.


From the vSphere Client, right-click the virtual machine, select Power, and select Power On.


Select the virtual machine and click the Summary tab.

The VMware Tools label indicates whether VMware Tools is installed and current, installed and not current, or not installed.


Click the Console tab to make sure that the guest operating system starts successfully, and log in if necessary.


Right-click the virtual machine, select Guest, and select Install/Upgrade VMware Tools.


Select Interactive Tools Upgrade and click OK.

The upgrade process starts by mounting the VMware Tools bundle on the guest operating system.


In the virtual machine console, log in as root (su -) and, if necessary, create the /mnt/cdrom directory:

mkdir /mnt/cdrom

Mount the VMware Tools virtual CD-ROM image.

Some Linux distributions automatically mount CD-ROMs. Verify the state by running the mount command. If the CD-ROM device is mounted, each of the device's partitions with a recognized file system appears in the output of the mount command as something like this:

/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev)

If the CD-ROM device is listed, it is mounted. If the CD-ROM device is already mounted, do not use the mount and umount commands.

Some Linux distributions use different device names or organize the /dev directory differently. Modify the following commands to reflect the conventions used by your distribution:

mount /dev/cdrom /mnt/cdrom

Change to a working directory (for example, /tmp):

cd /tmp

If you have a previous installation, delete the previous vmware-tools-distrib directory:

rm -rf /tmp/vmware-tools-distrib

The default location of this directory is: /tmp/vmware-tools-distrib.


List the contents of the /mnt/cdrom/ directory, and note the filename of the VMware Tools tar installer:

ls /mnt/cdrom

Uncompress the tar installer, where <xxxxxx> is the build or revision number of the ESX/ESXi version.

tar zxpf /mnt/cdrom/VMwareTools-4.0.0-<xxxxxx>.tar.gz

If you attempt to install a tar installation over an RPM installation, or the reverse, the installer detects the previous installation and must convert the installer database format before continuing.


Unmount the CD-ROM image:

umount /dev/cdrom

Run the VMware Tools tar installer:

cd vmware-tools-distrib

Answer the prompts and press Enter to accept the default values if appropriate for your configuration and follow the instructions at the end of the script.


For Linux guest operating systems, execute the following commands to restore the network:

/etc/init.d/network stop
rmmod vmxnet
modprobe vmxnet
/etc/init.d/network start

(Optional) When the upgrade is complete, log off the root account:


The VMware Tools label on the Summary tab changes to OK.

(Recommended) Upgrade the virtual machine hardware to version 7.