ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

Configure VMware Tools Update from Shared ProductLocker Location

By Vladan SEGET | Last Updated: November 9, 2017

Shares

when you want to have the latest VMware tools for larger environments, you don't have other choices then wait for ESXi upgrade which brings the latest version of VMware tools or Configure VMware Tools Update from Shared ProductLocker Location. If you have VMware Enterprise Plus license, you can use host profiles for the job.

Since some time VMware Tools has split in two. VMware Tools are usually updated on regular basis and include improved drivers, some bug fixes, and newer and better OS support. With the release of vSphere 6.5, the tools package is now split into two distinct ones. There is one for legacy  (v10.0.12) operating systems (OS), and the other one is for current OSes (v10.1).

Some VMs support only automatic updates of VMware Tools. VMs such some Cisco Appliances and others. In this case, you cannot manually mount the ISO. Today we will setup a shared location for VMtools. Usually, you can do that if you have a shared datastore within your environment.

We'll show few steps where to configure this at the host level.

Tip: Manual Download of VMware Tools from VMware Website (or older ones too)

There are few ways to configure VMware Tools Update from Shared ProductLocker Location. Let's do that via vSphere Client first:

Connect to your vCenter via:

https://IP_of_vCenter/ui

Then via the vSphere HTML 5 Client > Select the ESXi hosts > Manage > Settings > Advanced System Settings

find UserVars.ProductLockerLocation row and click on the right to change the value which reflects your environment.

Shared ProductLocker Settings

In the lab environment, I copied all the VMtools ISOs and files into

/vmfs/volumes/vsanDatastore/vmtools

We also have the option to do that via CLI. Connect via SSH and type this command:

esxcli system settings advanced list -o /UserVars/ProductLockerLocation –string-value “/vmfs/volumes/vsanDatastore/vmtools”

You can see the output here:

Shared ProductLocker location

You see that the string value has changed to /vsanDatastore/vmtools.

If you just want to check where is the current location of VMware tools on a particular host, you simply just type this:

esxcli system settings advanced list -o /UserVars/ProductLockerLocation

You have to reboot your host in order for this change to take effect unless you remove symlink to productLocker location:

How-to Remove symlink to productLocker?

rm productLocker

ln -s /vmfs/volumes/vsanDatastore/vmtools /productLocker

This is it. From now on the VM should pick the new shared ProductLocker location for the latest VMtools ISOs.

How about AutoDeploy?

There are VMware best practices when using auto-deploy for your hosts. (Note I only found it for the 6.0 version of vSphere)

In fact, there are two different image profiles you can download:

  • One which says xxx-standard has the VM tools (but it's bigger).
  • One which says xxx-no-tools without the VM tools package.

When you provision hosts with Auto Deploy, you can select an image profile that includes VMware Tools, or select the smaller image associated with the image profile that does not contain VMware Tools.

Create a host profile from a reference host first. Then create an Auto Deploy rule which assigns the “xxx-no-tools” image profile and host profile from the reference host to all other hosts.

Then boot your target hosts with the rule so they are able to pick up the product locker location from the reference host.

If you're using the “no-tools” image, you should basically use the shared location method mentioned above.

Wrap Up:

VMware tools are an important part of vSphere environments. Usually, it is one of the first best practices to apply – keep VM tools current on your VMs AND on your hosts. Version of VM tools has a direct influence on VM performance and also they provide some added functions like for example host time synchronization or quiesced snapshots used by your backup software.

So it's pretty important to keep the VM tools packages up to date not only on your VMs but also on the hosts which deliver them to your VMs. We showed a simple way of centralizing the VM tools packages to a single location allowing you to only replace the older VM tools packages with newer ones when they'll become available.

Also from ESX Virtualization

  • What are Open VM Tools and How to use them?
  • What is VMware Orchestrated Restart?
  • How to reset ESXi 6.x root password and under which conditions
  • VCP6-DCV Objective 9.1 – Configure Advanced vSphere HA Features
  • VMware API Explorer Is a Free Built-in Utility in VCSA
  • V2V Migration with VMware – 5 Top Tips
  • VMware Transparent Page Sharing (TPS) Explained

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
Vote !

| Filed Under: Server Virtualization

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Brian Foley says

    November 9, 2017 at 9:39 pm

    Great article. However I think you have this backwards:

    “With the release of vSphere 6.5, the tools package is now split into two distinct ones. There is one for legacy (v10.1) operating systems (OS), and the other one is for current OSes (v10.0.12).”

    v10.0.12 is for legacy OSes and v10.1 is for current guest OSes.

    • Vladan SEGET says

      November 9, 2017 at 10:13 pm

      Thanks Brian. Sure it is…. Will correct this.

  2. Marcos Fernandez says

    November 21, 2017 at 7:20 pm

    Hi

    I think the correct instruction to set the value should be :

    esxcli system settings advanced set -o /UserVars/ProductLockerLocation -s “/vmfs/volumes/vsanDatastore/vmtools”

    instead of

    esxcli system settings advanced list -o /UserVars/ProductLockerLocation –string-value “/vmfs/volumes/vsanDatastore/vmtools”

    • Vladan SEGET says

      November 22, 2017 at 7:08 am

      Hi Marcos, Thanks for the heads up. I can be wrong. (no one is perfect) . However, I’m not sure where you found it. VMware KB says different: https://kb.vmware.com/kb/2129825

  3. Humbug says

    October 18, 2019 at 1:37 pm

    Hi,
    I’ve tried this but apparently symlinks do not persist after a host reboot – so how is this a solution if that gets wiped?

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!
  • Installation of StarWind VSAN Plugin for vSphere
  • Protect Mixed environments with Nakivo Physical Machine recovery (bare metal)
  • No more FREE licenses of VMware vSphere for vExperts – What’s your options?
  • Tails – Your Private OS on USB Stick
  • StarWind V2V Converter Now has CLI
  • Veeam VHR ISO v2 – 2025 Download and Install
  • Deployment OVA and Installation of Nakivo Backup and Replication for VMware
  • XCP-NG FREE Hypervisor and XO Lite to deploy XOA

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in