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.
I discovered the solution here.
You must NOT run the cmd window as an Administrator to make VBoxManage.exe function without this error.
I got it working after first starting VBox as Admin and then using a prompt with elevated privileges to create the vmdk.
User contributions licensed under CC BY-SA 3.0