Hi!
is there an option for vmrun-command to switch on full-screen-mode starting a VM?
I found an option to start a VM in background, but nothing on stating one with gui and full-screen-mode. Is this possible?
tps800 wrote: is there an option for vmrun-command to switch on full-screen-mode starting a VM?
Aside from the authentication flag, e.g. "-T ws" without quotes, the vmrun executable's start command takes two parameter, the first being "Path to vmx file" and the second being one for the following "[gui|nogui]". therefore I'd say the answer to you question is no.
E.g.: vmrun -T ws start "c:\my VMs\myVM.vmx" gui
I found an option to start a VM in background, but nothing on stating one with gui and full-screen-mode. Is this possible?
That said, a workaround would be to use a scripted solution in which first the target VM's .vmx configuration file is checked for the following 3 options and set as shown and then invoke vmrun afterwards from the script.
gui.fullScreenAtPowerOn = "TRUE"
gui.viewModeAtPowerOn = "fullscreen"
gui.lastPoweredViewMode = "fullscreen"
This is much easier to do on a Linux Host although it too can be done on a Windows Host.
tps800 wrote: is there an option for vmrun-command to switch on full-screen-mode starting a VM?
Aside from the authentication flag, e.g. "-T ws" without quotes, the vmrun executable's start command takes two parameter, the first being "Path to vmx file" and the second being one for the following "[gui|nogui]". therefore I'd say the answer to you question is no.
E.g.: vmrun -T ws start "c:\my VMs\myVM.vmx" gui
I found an option to start a VM in background, but nothing on stating one with gui and full-screen-mode. Is this possible?
That said, a workaround would be to use a scripted solution in which first the target VM's .vmx configuration file is checked for the following 3 options and set as shown and then invoke vmrun afterwards from the script.
gui.fullScreenAtPowerOn = "TRUE"
gui.viewModeAtPowerOn = "fullscreen"
gui.lastPoweredViewMode = "fullscreen"
This is much easier to do on a Linux Host although it too can be done on a Windows Host.
So I was right -- there is no undocumented option for going to fullscreen-mode from the commandline! But would be nice to have one ...
Since I run Workstation on linux I'll take the workaround setting the options within the vm's configuration file. This has drawbacks, but I can live with them!
Thanks for the tip!
BTW: with PowerShell it is nearly as easy as with linux -- but more code to write ![]()
