Problem?
How do I start my virtual machines automatically when Windows starts in VMware Workstation?
Solution:
As you cannot use PowerCLI with VMWare workstation you have to create a batchfile for this. Simply create the file using the commands as below and add it to a scheduled task in Windows to run at startup.
"C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe" start "C:\VirtualMachines\VM01\VM01.vmx" "C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe" start "C:\VirtualMachines\VM02\Windows Server 2016.vmx"
Thank you very much. It woked.
thanks muchly
NO!!!
use:
“C:\Program Files (x86)\VMware\VMware Workstation\vmware.exe” -x “C:\Users\administrator\Documents\Virtual Machines\Ubuntu\Ubuntu.vmx”