Page 1 of 1

Can't start VM via cmd-line (Win 7 Prof x86, VB ver. 4.3.30)

Posted: 26. Aug 2015, 09:36
by daredevil
Hi! I'm trying to start vm via cmd using "startvm %vm_name%" command and recieve error which descrypted in attachment. when i'm running this vm from GUI - it's starts without the problem. Also i have an error, when i'm trying stop vm from via cmd ("controlvm %vm_name% poweroff"). Printscreens below.
vm_start_error.jpg
vm_start_error.jpg (92.27 KiB) Viewed 550 times
vm_poweroff_error.jpg
vm_poweroff_error.jpg (56.77 KiB) Viewed 550 times
Who knows something about this errors?
Thanks

Re: Can't start VM via cmd-line (Win 7 Prof x86, VB ver. 4.3

Posted: 26. Aug 2015, 16:37
by noteirak
Your first command has an invalid syntax. This is the good syntax:

Code: Select all

C:\Program Files\Oracle\VirtualBox\VBoxManage startvm "Work" --type gui
Your second command will work if the VM is running.