On windows if you see:
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.
##Try starting VirtualBox as admin.
- Navigate to where VirtualBox is installed.
- Right click on VirtualBox.exe and select Properties.
- Click the Compatability tab.
- Click the button that says 'Change settings for all users'.
- In the new window that pops up check 'Run this program as administrator'.
- Click the Ok button.
- That windows closes and you are back at the VirtualBox.exe Properties window.
- Click Apply
- And now start VirtualBox again by double clicking on VirtualBox.exe
Try doing whatever you were doing before (in my case I was running vagrant up
)
I had the same issue and this solution fixed it for me too.
Unfortunately, running VBox in "Admin-Only-Mode" was not an option for me. The actual solution for the error above on my system was deleting the
VBOX_USER_HOME
environment variable from the system environment variables. It was set to a wrong/nonexisting path. Deleting it lets VBox create a new one with a new existing path for the current user.I got the solution from here (german): http://david.herminghaus.de/de/artikel/oracle-virtualbox-coeserverexecfailure