VMWare workstation: from command line, how to start a VM in service mode (run in background)?

Posted by GenEric35 on Server Fault See other posts from Server Fault or by GenEric35
Published on 2010-05-15T14:50:31Z Indexed on 2010/05/15 14:56 UTC
Read the original article Hit count: 1057

Hi, I have tried the vmrun and vmware.exe executables, but both of them start the vmware GUI when starting the VM.

What I want to do is start the VM without starting the VMWare GUI.

The reason I am doing this is after a few hours of idle, the guest OS becomes sluggish. It has lots of RAM but the only way I found to keep it's responsiveness optimal is to shutdown(dumps the memory) and the start; a restart of the guest OS doesnt dump the memory so I need to be able to do a stop of the VM, and then a start.

So far the command I use are:

C:\Program Files (x86)\VMware\VMware Workstation>vmrun stop F:\VirtualMachines\R2\R2.vmx

C:\Program Files (x86)\VMware\VMware Workstation>vmrun start F:\VirtualMachines\R2\R2.vmx

But the start command actually starts the VMWare Workstation GUI, which I don't need.

I'm looking for a solution to start the VM without the VMWare Wokstation GUI, or a solution to what is causing the VM to become sluggish after a few hours of running idle.

© Server Fault or respective owner

Related posts about vmware

Related posts about vmware-server