VMware Cloud Community
SystemsEnginee2
Contributor
Contributor
Jump to solution

How to allow In-guest VMware tools update?

I'm looking for a solution to enable end users of Windows virtual machines in a vSphere environment to update VMware tools on their own, they will have no access to the vSphere management layer.

I've seen reference  to using the vmware-toolbox-cmd command. Upon trying that I get the following error:

C:\Program Files\VMware\VMware Tools> .\VMwareToolboxCmd.exe upgrade status

A new version of VMware Tools is available.

C:\Program Files\VMware\VMware Tools> .\VMwareToolboxCmd.exe upgrade start

The host does not support auto upgrade of VMware Tools.

Any suggestions?

Many thanks

Tags (1)
1 Solution

Accepted Solutions
m3llow
Contributor
Contributor
Jump to solution

I had the same question and couldn't find a procedure anywhere. But I figured it out with the help of our TAM and put together the process below.

Our primary use case will be to enable our Active Directory team to update domain controllers etc on their own schedule.

To enable and initiate VMware Tools In-Guest update for Windows.

  1. Login to vCenter Server/Virtual Center using vSphere Client/Web Client.
  2. Right-click on virtual machine and click to shutdown or Power off the virtual machine.
  3. Right-click on virtual machine and click edit settings.
  4. Click the Options tab and select General under Advanced.
  5. Click Configuration Parameters and a new window opens.
  6. Click Add Row and type isolation.tools.guestInitiatedUpgrade.disable and FALSE under Value (Ref   https://kb.vmware.com/s/article/2007298)
  7. Click OK twice to close all the windows.
  8. Power on and login to the guest OS
  9. Open a command prompt and cd "c:\Program Files\VMware\VMware Tools"
  10. Run the following command (remove quotes) "VMwareToolboxCmd.exe upgrade start"
  11. A silent upgrade will begin followed by a reboot if required

To get help

c:\Program Files\VMware\VMware Tools>VMwareToolboxCmd help

Usage: VMwareToolboxCmd <command> [options] [subcommand]

Type 'VMwareToolboxCmd help <command>' for help on a specific command.

Type 'VMwareToolboxCmd -v' to see the VMware Tools version.

Use '-q' option to suppress stdout output.

Most commands take a subcommand.

Available commands:

   config

   device

   disk (not available on all operating systems)

   info

   logging

   script

   stat

   timesync

   upgrade (not available on all operating systems)

View solution in original post

3 Replies
daphnissov
Immortal
Immortal
Jump to solution

You'll probably have to make some sort of script and grab the VMware tools bits from the host locker to enable it that way.

0 Kudos
m3llow
Contributor
Contributor
Jump to solution

I had the same question and couldn't find a procedure anywhere. But I figured it out with the help of our TAM and put together the process below.

Our primary use case will be to enable our Active Directory team to update domain controllers etc on their own schedule.

To enable and initiate VMware Tools In-Guest update for Windows.

  1. Login to vCenter Server/Virtual Center using vSphere Client/Web Client.
  2. Right-click on virtual machine and click to shutdown or Power off the virtual machine.
  3. Right-click on virtual machine and click edit settings.
  4. Click the Options tab and select General under Advanced.
  5. Click Configuration Parameters and a new window opens.
  6. Click Add Row and type isolation.tools.guestInitiatedUpgrade.disable and FALSE under Value (Ref   https://kb.vmware.com/s/article/2007298)
  7. Click OK twice to close all the windows.
  8. Power on and login to the guest OS
  9. Open a command prompt and cd "c:\Program Files\VMware\VMware Tools"
  10. Run the following command (remove quotes) "VMwareToolboxCmd.exe upgrade start"
  11. A silent upgrade will begin followed by a reboot if required

To get help

c:\Program Files\VMware\VMware Tools>VMwareToolboxCmd help

Usage: VMwareToolboxCmd <command> [options] [subcommand]

Type 'VMwareToolboxCmd help <command>' for help on a specific command.

Type 'VMwareToolboxCmd -v' to see the VMware Tools version.

Use '-q' option to suppress stdout output.

Most commands take a subcommand.

Available commands:

   config

   device

   disk (not available on all operating systems)

   info

   logging

   script

   stat

   timesync

   upgrade (not available on all operating systems)

SystemsEnginee2
Contributor
Contributor
Jump to solution

Thank you, this worked perfectly. Much appreciated.

0 Kudos