VMware Communities
miechovy
Enthusiast
Enthusiast

VMware 15.0.2: A program could not run on the guest operating system

See the attached file. I do not know what is going on, but in the newest VMware version the vmrun commands not working. A simple file.txt couldn't be executed. I have admin privilages and UAC is disabled.

Simple execute cmd.exe or powershell.exe from c:\windows\system32\ also is not working.

0 Kudos
1 Reply
miechovy
Enthusiast
Enthusiast

Very strange. This is a bug probably?

I have completed the following steps:

VMware 15.0.2:
Starting the program:

vmrun.exe -T ws -gu perun -gp xxxxxx runProgramInGuest E:\VMWare\newW10\newW10.vmx -NoWait "c:\users\perun\desktop\rr.exe"

Error: A program could not run on the guest operating system

VMware 15.0.2 - with compatible 14 version - Windows 10 downloaded for VMware (official Microsoft release 90 trial days) :
Starting the program:
vmrun.exe -T ws -gu perun -gp xxxxxx runProgramInGuest E:\VMWare\newW10\newW10.vmx -NoWait "c:\users\perun\desktop\rr.exe"

Working!


VMware 14 last stable version:
Starting the program:

vmrun.exe -T ws -gu perun -gp xxxxxx runProgramInGuest E:\VMWare\newW10\newW10.vmx -NoWait "c:\users\perun\desktop\rr.exe"

No error. It is working!

What do you think? Probably bug with v15 VMware Tools?

vmware.log:

2019-03-04T19:46:32.485+01:00| vmx| I125: SOCKET 63 (3060) recv detected client closed connection

2019-03-04T19:46:32.485+01:00| vmx| I125: Vix: [mainDispatch.c:2828]: VMAutomation: Connection Error (4) on connection 31.

2019-03-04T19:46:59.963+01:00| vcpu-0| I125: Vix: [guestCommands.c:322]: Error VIX_E_PROGRAM_NOT_STARTED in VMAutomationOnRunProgramStarted(): A program could not run on the guest operating system

2019-03-04T19:46:59.963+01:00| vmx| I125: SOCKET 64 (2592) recv detected client closed connection

2019-03-04T19:46:59.963+01:00| vmx| I125: Vix: [mainDispatch.c:2828]: VMAutomation: Connection Error (4) on connection 32.

0 Kudos