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

Discussions related to using VirtualBox on Windows hosts.
Post Reply
daredevil
Posts: 1
Joined: 26. Aug 2015, 09:06

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

Post 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 549 times
vm_poweroff_error.jpg
vm_poweroff_error.jpg (56.77 KiB) Viewed 549 times
Who knows something about this errors?
Thanks
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

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

Post 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.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply