I know that this is possible, but I don't know how...
I am just trying to start a VirtualBox VM called ubuservloc from the command line, but without success.
5 Answers
Only needed:
VBoxManage startvm "VM name" --type headlessFor example:
VBoxManage startvm ubuservloc --type headless 8 Try this,
virtualbox startvm ubuservloc 1 stop
VBoxManage controlvm "vm_name" poweroffstart
nohup VBoxHeadless -startvm "vm_name" & To list virtual machines:
VBoxManager list vmsTo Start a virtual machine:
VBoxManage startvm YOUR_VIRTUAL_MACHINE_NAMETo stop a virtual machine:
VBoxManage controlvm Android poweroff
- in windows 10
- open Oracle VM VirtualBox -> select vm_name right click -> create Shortcut in Desktop
- select shortcut -> properties -> shortcut -> target -> copy
- open cmd run (change 'VirtualBox.exe' -> 'VBoxHeadless.exe')
"C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" --comment "linux_mint" --startvm "14f426cc-845d-46cb-9f6e-4dbb31a3769a"