VMRun reports could not connect to the virtual machine or permission denied

September 14, 2011 13:07 by andyh

Recently I was creating a c# windows service which interacted with VMware machines.

 

When trying to start up a VM by calling VMrun.exe  i got the message

"Unable to connect to host"


I found this by piping the response to a text file.

To get around this I changed the command i was using to no t use the GUI (nogui) option.

The only thing you need to consider is that running VMs will not be controllable by your manual login/UI as they are running as a different process.


Full command line details are available here:

http://www.vmware.com/pdf/vix162_vmrun_command.pdf


Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading