If I do not run VB as Administrator I get the critical error "Failed to create the VirtualBox COM object" when starting the application. If my user is part of the Administrators group and I run VB I get the error. If I choose "Run as administrator" it works fine. I have reinstalled and repaired to no avail. I have deleted and recreated the .VirtualBox directory. Running as administrator is not a long term solution since I can only use the access temporarily when installing things at my job. And when running under a separate account like that the Windows hot-keys in the guest do not work correctly (they are always passed on to the host.) This is just a straight install with no third-party addins.
Windows 7 64-Bit
VirtualBox VM 4.2.12 r84980
Failed to create the VirtualBox COM object
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Failed to create the VirtualBox COM object
Check the properties of the shortcut and make sure it is not set to run as administer.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Failed to create the VirtualBox COM object
Sounds like this is on a corp. network. Are there any group policies that could be stopping you from running VBox as you?
Re: Failed to create the VirtualBox COM object
That's an interesting thought, but others running the same managed workstation in the same AD container are running without a problem.
-
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: Failed to create the VirtualBox COM object
What about checking the Event Log for anything related to Virtualbox?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Failed to create the VirtualBox COM object
Nothing in the Event Log. But I figured out what it was, I think. I have another account that has Admin rights on the box. Somehow the system environment variable HOME was hard coded with the profile path of that user. Apparently VB was using the variable to find the .VirtualBox directory (I discovered this using Process Monitor) so it was trying to open a folder it had no rights to. So I changed the HOME variable to be "%USERPROFILE%" so it would be correct for each user. After doing that VB works normally. Weird. I can't figure out what would have made a change like that.
-
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: Failed to create the VirtualBox COM object
I don't think the answer would be what, but rather who...
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!