How to start a local VMWare machine without activating the VMWareWorkstation window?


c7aesa7r

Member
Local time
1:43 AM
Posts
9
OS
Win11
I'm starting my VMWare machines, using the vmrun.exe command, basically vmrun.exe start vmpath but this brings the VMWare Workstation window to the foreground, i would like to avoid this.

Using the option vmrun.exe start vmpath nogui it doesn't activate the VMWare Workstation window, however, this hides the machine tab on the worsktation window 😪.

I dont want to hide anything, i'm trying to automatize starting the machines on the background while keeping their tabs there, but without bringing any window to the foreground.

Does someone if/how this could be achieved?
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    23H2 22631
    CPU
    i9 9900k
Hi,

This is what I did so all my VMs start full screen and bypass the Workstation.

Screenshot 2024-12-08 192433.webp

The .vmx file extension needs to be set to use VMplayer.exe

Screenshot 2024-12-08 192625.webp

The .vmx file is a simple configuration file in plain text format and can be edited with notepad as well.
There should be 1 .vmx file for each VM. The content only affects that VM.

For global changes:
In your case, if you want to manipulate so that to have all the systems start minimized, you need to go here:

C:\Users\<username>\AppData\Roaming\VMware and open the preferences.ini with notepad.
Change/Add the values to match your preferences. 0 or 1, TRUE or FALSE

Code:
pref.vmplayer.fullscreen.autohideSize = "0"
pref.vmplayer.fullscreen.nobar = "TRUE"
 
Last edited:

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
@OAT but how you are starting the vm?
I set the vmx to be open with the player and also set the settings on the preferences, but when i start the vm with the vmrun command it stills bring the workstation to the foreground.
Clicking on the vmx file opens it on the player instead of the workstation.
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    23H2 22631
    CPU
    i9 9900k
@OAT but how you are starting the vm?
I set the vmx to be open with the player and also set the settings on the preferences, but when i start the vm with the vmrun command it stills bring the workstation to the foreground.
Look at the screenshot of the shortcut.
I do not use vmrun. There is no need. I just click on the shortcut to launch it.
 

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Look at the screenshot of the shortcut.
I do not use vmrun. There is no need. I just click on the shortcut to launch it.
I didnt understand how that path works.
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    23H2 22631
    CPU
    i9 9900k
  • Like
Reactions: OAT
I didnt understand how that path works.
It's OK, take your time to try to understand the steps.
1-We assign the .vmx extension to use the player instead of the workstation.
2-We modify the .vmx with notepad (Individual system, OPTIONAL)
3-We modify the preferences.ini with notepad if needed. (global)
4- We create shortcuts for each VM pointing to their .vmx extension -which has been assigned in step 1.
 

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
4- We create shortcuts for each VM pointing to their .vmx extension -which has been assigned in step 1.

And how i need to modify the shortcut target to make it be open on the workstation on the background?
 

Attachments

  • 1733685631588.webp
    1733685631588.webp
    53.6 KB · Views: 1

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    23H2 22631
    CPU
    i9 9900k
4- We create shortcuts for each VM pointing to their .vmx extension -which has been assigned in step 1.

And how i need to modify the shortcut target to make it be open on the workstation on the background?
I am not sure what you mean.
You use VMplayer to launch the VM via the shortcut and you can start the VMWorkstation independently as you wish.
They are separate programs.
Both VMPlayer & VMworkstation running side by side as shown below.

Screenshot 2024-12-08 192625.webp
 
Last edited:

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Im not using the player just the workstation.
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    23H2 22631
    CPU
    i9 9900k
Im not using the player just the workstation.
Just install the VMplayer in the same directory as the workstation ; they can co-exist.

 

My Computers

System One System Two

  • OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Back
Top Bottom