VirtualBox command line error

5

I can run VirtualBox just fine, but when I run anything from the command line I get:

VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execution failed (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or failed to start.

This is pretty new. It used to work. I honestly can't remember what changed between the time that it worked and now. This particular error happened when I tried to run one a machine headless:

vboxmanage startvm VIRTUALMACHINE --type headless

but it happens with any command line operation.

command-line
virtualbox
virtual-machine
virtualization
asked on Super User Sep 10, 2013 by aserwin • edited Sep 11, 2013 by PsychoData

2 Answers

8

I discovered the solution here.

You must NOT run the cmd window as an Administrator to make VBoxManage.exe function without this error.

answered on Super User Aug 29, 2014 by NightOwl888
4

I got it working after first starting VBox as Admin and then using a prompt with elevated privileges to create the vmdk.

answered on Super User Dec 22, 2013 by Jens

User contributions licensed under CC BY-SA 3.0