Instructions for starting VMWare with Windows
ARTRU

TABLE OF CONTENTS
Unlike VirtualBox, it supports creating virtual machine shortcuts, making it easier to start with Windows.
VMWare you can still start with windows using CMD file.
Before generating the code you need to find the following 2 folders:
H:\Program Files (x86)\VMware\VMware Workstation\vmrun.exeH:\Users\ARTRU\Documents\Virtual Machines\Windows 11 x64\Windows 11 x64.vmx
Next, create a file. cmd have arbitrary name
For example, I named it VMrun.cmd
Right click on the file VMrun.cmd → choose edit → fill in the code according to the form below and save. Remember to correct the path to the 2 folders on your computer.
"H:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe" start "H:\Users\ARTRU\Documents\Virtual Machines\Windows 11 x64\Windows 11 x64.vmx" nogui

Explain:
"H:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe"vmrun.exe located in the VMWare software installation folder.start: start the virtual machine with the following path."H:\Users\ARTRU\Documents\Virtual Machines\Windows 11 x64\Windows 11 x64.vmx".vmxnogui: used to start the background run mode (run in background). If you want to show the VMWare interface always, delete this line.
Task Scheduler → press Create TaskNameTriggers → choose New → on the card Begin the task select At log onActions → choose New → select file cmd that you created above.Conditions → uncheck all checkboxes.Settings → just select the first line Allow task to be run on demandOK to save.
In case of error in Admin rights, you go to Change User or Group → press Advanced → press Find Now → select line Administrators Have "s" ok → Ok to save the configuration.

Related Articles