VMWare workstation: from command line, how to start a VM in service mode (run in background)?
- by GenEric35
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 Workstationvmrun stop F:\VirtualMachines\R2\R2.vmx
C:\Program Files (x86)\VMware\VMware Workstationvmrun 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.