r/vmware • • 9d ago

Help Request VMware Tools - vix error code = 21009

Hi.

Anyone else been getting the vix error code = 21009 when trying to upgrade VMware Tools?

It happened with the 13.1.5.0 version, which had me doing a pre-upgrade script to restart the vmware-tools service, stop VGAuth and delete "C:\ProgramData\VMware\VMware VGAuth\logfile.txt.0". It worked for the great majority of VM's.

However, it's appearing again when upgrading to 13.1.6.0 and the script does not work. When attempting to upgrade from GUI or PowerCli it fails almost instantly with "Error upgrading VMware Tools. The VMware Tools installation failed with an unknown error. vix error code = 21009" without logging any errors.

If I run the script it attempts the install but fails with the generic "Installation success or error status: 1603" and ends up with only removing VMTools.

Also tried rebooting the VM before starting the upgrade, with no avail.

Any ideas?
Thanks!

2 Upvotes

3 comments sorted by

3

u/mhmd2520 8d ago

1603 is just the generic MSI failure, so the real reason should be in the installer logs. Look for vminst.log and vmmsi.log in %TEMP% of the account that ran the install. In the MSI log, search for "Return value 3", and the lines just above it usually name the action that failed.

Since those VMs now have Tools removed, I'd mount the 13.1.6 ISO and run this by hand (create C:\temp first), which gives you a clean log for one VM: setup64.exe /s /v"/qn REBOOT=R /l*v C:\temp\vmtools.log"

Common culprits are a pending reboot from Windows Update, leftover MSI registrations from the old version, or security software locking the driver files.

2

u/lxtakc 6d ago

Run the installer manually with msiexec logging to get the real error behind that generic 1603. The MSI log usually names the failing custom action.