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:
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:
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: