Questions tagged [vmrun]

24 questions
11
votes
1 answer

How to control removable usb devices with VMware vmrun

I have VMware workstation 9 and 10, and I am wanting to use that to run some integration tests. Using the vmrun utility, I can copy scripts to and run them on the virtual machine guests. However, some of the integration tests will require…
whatsisname
  • 5,872
  • 2
  • 20
  • 27
5
votes
2 answers

Start a Shared VM with vmrun on VMWare Workstation

Im trying to create a script that will start a Shared Virtual Machine from a different computer. The script is completing however in the VMWare Workstation GUI the virtual machine is being put into the My Computer section and then started up and not…
user2992975
  • 51
  • 1
  • 3
4
votes
0 answers

Start virtual machine and log in

I want to start a redhat linux virtual machine. I use the next command: vmrun -gu myUser -gp myPass start "C:\Users\myUser\Desktop\VirtualMachines\vmachine.vmx" VMware Player starts and then the operating system loads but user and password is…
4
votes
1 answer

How to manage USB devices with VMware vmrun?

I'm using VMware Fusion 6 to do some integration tests with multiple iOS devices. When I connect a device to the computer, a dialog appears asking me if I wish to connect to the Mac or to the VM. Is there a way to do this programmatically? I'm…
Renato Rodrigues
  • 1,038
  • 1
  • 18
  • 35
3
votes
2 answers

import dalvik.system.VMRuntime cannot find

I am trying to import VMRuntime but i does not seem got There were only got 3 packages which were dexclassloader, dexfile and pathclassloader. import dalvik.system.VMRuntime <-- does not exist. How to enable it?
Alan Lai
  • 1,296
  • 2
  • 12
  • 16
2
votes
2 answers

Send keystrokes to guest os with vmrun

I can't find documentation or examples of how use typeKeystrokesInGuest command of vmrun tool. I tried send key code, like 30 and I try send Some text, but always got Insufficient permissions in the host operating system. I think, I must give right…
murzagurskiy
  • 1,273
  • 1
  • 20
  • 44
2
votes
1 answer

How do I remotely start a VM on VMWare Workstation using Powershell?

I have VMWare Workstation and beginner's knowledge of PowerShell. I've created a script that successfully starts a VM on my local machine by using the vmrun tool. However, if I run it through a remote session, nothing happens. Any idea…
2
votes
1 answer

How can I deploy an ovf using vmrun?

Using VMware fusion I generally create new virtual machines using File->New->Import an existing virtual machine. I then select the ovf I have that I want to import from. I wanted to automate this process using vmrun and I was wondering how to…
mussorsky
  • 125
  • 1
  • 9
2
votes
1 answer

vmrun clone "The snapshot already exists"

I am trying to use the vmrun command line utility to clone the VM on workstation that is currently powered off. I am using the following command using vmrun --help: $> *vmrun -T ws "path-to-the-.vmx-file-of-the-vm-that-needsto-be-cloned"…
pointer_00
  • 21
  • 3
2
votes
0 answers

Start remote VM using vmrun

Okay, I know this looks silly but I already spent like 2 days on this :-/ I have a host machine where I am running VMWare Workstation(9.0.3) and 1 VM (Ubuntu 12.04). I have vmrun utility installed on both Host and Guest machines. The questions is,…
Nikhil Rane
  • 103
  • 5
1
vote
1 answer

Automating vmrun with PowerShell

I have a PowerShell 2.0 script that I use to clone a target vmware workstation guest using vmrun in a windows host environment. The code to clone a virtual machine executes correctly. I am now trying to expand on this script to automate more of the…
Daniel Lee
  • 674
  • 1
  • 9
  • 25
1
vote
2 answers

Jenkins: Start remote VM and keep it running

I am trying to get Jenkins to start a virtual machine on a Jenkins slave. The VM itself will then act as a Jenkins slave. In order to do so I need to boot the VM and keep it running, even after the Jenkins job terminates. I have tried to create a…
dudenr33
  • 1,119
  • 1
  • 10
  • 26
1
vote
3 answers

How to run a command in vmware using vmrun, command is (echo %PROGRAMFILES%)

How to run a command in vmware using vmrun, command is (echo %PROGRAMFILES%) on the guest machine.. and the guest machine should return a value of the command result... how to do this??? please suggest
user2511126
  • 620
  • 1
  • 14
  • 31
1
vote
1 answer

"Error: One of the parameters was invalid" from vmrun clone on VMWare Fusion 6

I'm trying to run vmrun clone with VMWare Fusion 6 and seeing the following error: > /Applications/VMware\ Fusion.app/Contents/Library/vmrun -T fusion clone ubuntu-12-04-3.vmwarevm/ubuntu-12.04.3.vmx foo.vmx full Error: One of the parameters was…
jefflab
  • 768
  • 6
  • 21
1
vote
1 answer

Using vmrun to immediately update displayName of virtual machine in VMWare workstation gui

I am scripting VMWare Workstation (8.0.2) from Windows Powershell on Windows 7. I am trying to clone a template virtual machine and make several instances of it, each with a different display name. This is so I can then use the GUI to easily…
Jimmy
  • 6,001
  • 1
  • 22
  • 21
1
2