E_ACCESSDENIED (0x80070005)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Batman8675
Posts: 1
Joined: 17. Jun 2018, 19:24

E_ACCESSDENIED (0x80070005)

Post by Batman8675 »

Greetings! Whenever I try to open Virtualbox on my non-admin account, I get this message:

Code: Select all

The object is not ready.
Result Code: E_ACCESSDENIED (0x80070005)
Component: VirtualBoxClientWrap
Interface: IVirtualBoxClient {d2937a8e-cb8d-4382-90ba-b7da78a74573}
Any ideas how I can fix this?

Windows 10 Pro N 1803
Latest stable Virtualbox release, installed it literally 20 min ago
Attachments
2018-06-17_17-17-25.png
2018-06-17_17-17-25.png (12.19 KiB) Viewed 40639 times
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: E_ACCESSDENIED (0x80070005)

Post by socratis »

Batman8675 wrote:Whenever I try to open Virtualbox on my non-admin account
Does this mean that if you open VirtualBox with an admin account, it works?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: E_ACCESSDENIED (0x80070005)

Post by mpack »

It looks like it has not been installed correctly, i.e. for the current user.

You need to use "Run as administrator" from your normal account to run the VirtualBox installer. This is very different from logging in using an "Admin" account and installing for that user account.
Capricorn404
Posts: 1
Joined: 17. Jun 2019, 05:33

Re: E_ACCESSDENIED (0x80070005)

Post by Capricorn404 »

Hello!
I've got the same error mesage on my PCs under user unprivileged account. And I've found the reason of this error in incorrect permissions set for COM Object "VirtualBox Application". When I've set the default permissions for access and activation, error message has gone.
I think that the virtualbox windows setup application sets incorrect permissions for COM object. Please help me.
Thank you.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: E_ACCESSDENIED (0x80070005)

Post by mpack »

Capricorn404 wrote: I think that the virtualbox windows setup application sets incorrect permissions for COM object. Please help me.
(A) VirtualBox doesn't have a setup application, the apparant application is just a wrapper for MSI, the standard built-in Windows app installer.
(B) Make sure you run the installer for the intended user account, not while logged in as the "Admin" user. With your normal user account, use "Run as administrator" to request temporary elevation of privileges.
Foguete
Posts: 1
Joined: 11. Apr 2020, 16:04

Re: E_ACCESSDENIED (0x80070005)

Post by Foguete »

I know this is old, but I just ran into this, and it had nothing to do with admin/installation. Instead, in my case the problem was that for some reason I had a vbox process running in the background, and when I tried to launch/open vbox I got this same error. I setup my VMs to start up automatically (just a shortcut in my startup folder), so that's probably why, but this was the first time it happened, and even though my VMs did start up automatically I shut them down, so I would've assumed there was no more vbox process running.

In any case, if anyone runs into this too, check your task manager, and manually kill any vbox process. Good luck.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: E_ACCESSDENIED (0x80070005)

Post by mpack »

It's a good observation. Especially if someone is in the habit of auto-starting headless VMs and there being no sign that a VM is running - unless you check the tasklist. I guess the error could be more informative than "access denied" though!
hemmingway
Posts: 1
Joined: 13. Aug 2020, 14:00

Re: E_ACCESSDENIED (0x80070005)

Post by hemmingway »

I had the same problem.
The Virtual Box Manager could not write the *.vbox file.
The disk has no empty space. The *.vbox file size is zero and is corrupt.
Copying the *.vbox-prev file to *.vbox fixed this problem.

Greetings, Bernhard
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: E_ACCESSDENIED (0x80070005)

Post by mpack »

Unless you get "unable to create COM object" then it is not the same problem. Please create your own topic to discuss your problem.
Post Reply