Vix vmrun doesn't work with VMware Player

vmware vix
vix dll download
vmware player
vmware workstation
vmware workstation 15 player unknown error
vmware player 7
error while listing vms gns3vm could not list vmware vms invalid vmrun executable name vmplayer. exe
vmware ubuntu

I am trying to run a batch file on my virtual machine through VIX vmrun.

For starters it doesn't even want to start. When I try this in the command line:

vmrun -T player start "D:\myUser\VMWare\Windows7\Windows 7.vmx"

It says:

Unable to connect to host.

Error: The specified version was not found

Any workaround for this? I heard it has something to do with VIX config files not handling VMware Player properly, but haven't found out anything specific.

For the mention I have VMware Player version 7.1.2 and VIX version 1.13.

Also I don't want to buy Workstation.

Ok, managed to get it working, here's how:

1) In the VMware\VMware VIX folder there is a vixwrapper-config.txt file. Make a backup and overwrite the following over the content of the file:

#@Version-Info
#
# VixAllProducts revision mapping for Workstation/Player
#
# This file translates product version specifications into the appropriate Vix
# implementations.
#
# Each @Version-Info line has 5 white-space seperated entries:
#
#    provider-type: ws, esx, viserver, etc
#    apiVersion: the apiVersion supported, as passed in from VixHost_Connect()
#    ipc-type: none, vmdb, vmodl, cim
#    product-version: the product version string
#
#    implementation-directory: the path to the library that implements the
#          version described by the first 4 parameters
#
#
# The configuration is based on the first 4 fields, which describe
# the product.  The 5th field is the location.  To force it to try
# multiple location, the same configuration can be repeated.  Note that
# list is built in LIFO order, so the latest entry in the configuration
# will be the first used.  If for some reason that value fails, it will
# continue through any other matches.


# Workstation 11.1.2 and Player 7.1.2
ws        17  vmdb  11.1.2 Workstation-11.0.0-and-vSphere-6.0.0
player    17  vmdb   7.1.2 Workstation-11.0.0-and-vSphere-6.0.0
ws-shared 17  none  11.1.2 Workstation-11.0.0-and-vSphere-6.0.0

# EOF

2) If there is a folder named "Workstation-11.0.0-and-vSphere-6.0.0" then move it somewhere else as a backup

3) Make a copy of the folder "Workstation-10.0.0-and-vSphere-5.5.0" and name it:

Workstation-11.0.0-and-vSphere-6.0.0

4) Don't forget to add the vmrun path to the user variable: PATH (the vmrun path should be something like this: "C:\Program Files (x86)\VMware\VMware VIX\")

Now the vmrun commands should work.

The following command opens the VM:

vmrun -T player start "D:\myUser\VMWare\Windows7\Windows 7.vmx"

VIX 1.17 does not work for VMware Workstation P |VMware , I actually think that standalone VIX became incompatible with Workstation version 14.1.2. I launch VMs using the "nogui" option to the vmrun "start  The current standalone VIX version 1.17 that you can download from Download VMware Workspace ONE doesn't work for VMware Workstation Player 15 vmrun.exe fails with ""Unable to connect to host" Error: the specified version was not found", vmrun.exe is version 1.17.0 build-6661328.

Vix vmrun doesn't work with VMware Player, I am trying to run a batch file on my virtual machine through VIX vmrun. For starters it doesn't even want to start. When I try this in the command line: vmrun -T​  “VMware vmrun tool could not be found” when using VMware workstation player. The free version of VMware doesn’t provide vmrun the command line utility for controlling VMware your need to download it for free from https://www.vmware.com/support/developer/vix-api/ vmrun exit with Unknown error

Expanding on the answer from Paul-et-Mickey (don't have 50 points and can't comment, sorry). If you're using the latest version of player etc., don't forget to include minor version. So for me it was

player 19 vmdb 15.0.2 Workstation-12.0.0

The file to edit is in /usr/lib/vmware-vix/vixwrapper-config.txt.

Discussions - GNS3 doesn't work on VMWARE player 15 , One solution could be for you to install the trial version of VMware Workstation Pro 15, backup the VIX directory and vmrun.exe (in the  VMware VIX API includes the vmrun command-line utility. Download VMware VIX API for Linux or Windows from the VMware’s official site without charge and install it. Note: If after installing VMware VIX API on Windows, vmrun doesn’t work due to the missing MSVCR120.dll file and an error occurs, you should install a C++ Redistributable pack which contains a set of dynamic-link libraries.

As comments in vixwrapper-config file has explained, it's the wrapper between VIX tools (ie vmrun) and your VMware engines (WorkStation, Player, ESX, and so on). Now if you want to wrap this VIX to a VMplayer 15.0.0 (to be able to use 'vmrun -T player ...'), then you must have a line

player 19 vmdb 15.0.0 Workstation-12.0.0

where 'player' is for VMPlayer, '19' is the API version, 'vmdb' is the form of your virtual machines repository, '15.0.0' the version of your VMPlayer, and the sub-directory where API's libraries are located.

In few words, duplicate an existing line with 'player' and adapt to proper version of your VMPlayer.

Troubleshoot GNS3, The free version of VMware doesn't provide vmrun the command line utility for to download it for free from https://www.vmware.com/support/developer/vix-api/  Install VMware VIX 1.17.0; Add the following lines to C:\Program Files (x86)\VMware\VMware VIX\vixwrapper-config.txt for compatibility with VMware Player 15.5 # Player 15.5 player 19 vmdb 15.5.0 Workstation-14.0.0; Launch Setup Wizard within GNS3, enabling GNS3 VM running in VMware Player 15.5; Notice that GNS3 VM fails to get launched by GNS3

ISSUE: Unable to find vmrun.exe in when creating a VMware , The VMware VIX API for Windows is not installed on the VMware Workstation machine. This is a requirement to support the backup of guest virtual machines on  GNS3 doesn't detect that the GNS3 VM has started in VMware. I suspect that this is a VMware bug with the vmrun.exe. GNS3 calls this command output = subprocess.check_output(command, timeout=timeout) and waits 60 seconds for it output. But vmrun.exe doesn't output anything.

vmware-vix vmrun command error: "unable to connect to host , Installing Workstation 10.0 does work and I noticed something. Workstation comes with Player 6.0 and VIX 1.13. I wonder why they haven't  Vix vmrun doesn't work with VMware Player. 0. How exactly use runProgramInGuest in Vmware CLI (Windows host, Ubuntu guest)? 0. Cannot terminate VMware virtual machine

GNS3 VM Not Starting - Networking, (x86)\VMware\VMware VIX\vmrun.exe' -T player checkToolsState 'C:\Users\​Test.User\Documents\Virtual Machines\GNS3 VM\GNS3 VM.vmx'  “VMware vmrun tool could not be found” when using VMware workstation player. The free version of VMware doesn’t provide vmrun the command line utility for controlling VMware your need to download it for free from https://www.vmware.com/support/developer/vix-api/ vmrun exit with Unknown error