How do I start my virtual machines automatically when Windows starts in VMware Workstation?

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"

3 Replies to “How do I start my virtual machines automatically when Windows starts in VMware Workstation?”

  1. NO!!!
    use:
    “C:\Program Files (x86)\VMware\VMware Workstation\vmware.exe” -x “C:\Users\administrator\Documents\Virtual Machines\Ubuntu\Ubuntu.vmx”

Leave a Reply

Your email address will not be published. Required fields are marked *