Page 1 of 1

Autostart multiple VMs

Posted: 11. Jan 2014, 11:58
by jschmied84
I would like to autostart multple VMs on boot.

So far I use a .bat File which I execute via the windows task scheduler. The structure of this file is:
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe startvm "vm1" "vm2" "vm3"

The problem now is. Only "vm1" starts. "vm2" and "vm3 do not start.

Does anyone know how to solve this issue?

Best,
Jürgen

Re: Autostart multiple VMs

Posted: 11. Jan 2014, 12:05
by socratis
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe startvm "vm1"
VBoxManage.exe startvm "vm2"
VBoxManage.exe startvm "vm3"
Maybe?

Re: Autostart multiple VMs

Posted: 11. Jan 2014, 12:09
by jschmied84
This I tried already. Did not work.

When I run VBoxManage.exe startvm "vm1" "vm2" "vm3" manually in cmd.exe it works, but not when I run it with a .bat file and the task scheduler.

Re: Autostart multiple VMs

Posted: 11. Jan 2014, 16:29
by Perryg

Re: Autostart multiple VMs

Posted: 11. Jan 2014, 18:02
by jschmied84
Thanks, that helped.