E_FAIL (0x80004005) error on Windows 7 VM

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Okay1245
Posts: 1
Joined: 21. Mar 2017, 13:59

E_FAIL (0x80004005) error on Windows 7 VM

Post by Okay1245 »

I just created a new Windows 7 64-bit VM (host Windows 7 64-bit) and I get the error E_FAIL (0x80004005) when attempting to run it, anyone know why? (Tried Googling by the way)

Exit code: 1

VBoxHardening.log included
Attachments
VBoxHardening.rar
(14.6 KiB) Downloaded 250 times
socratis
Site Moderator
Posts: 27329
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_FAIL (0x80004005) error on Windows 7 VM

Post by socratis »

  • Open an elevated Command Prompt (right-click, Run-as-Administrator) and execute the command:
    • sfc /scannow
  • If it comes with errors that can't be fixed, try to do the same procedure after a safe boot.
  • If that doesn't work, try to disable Avast.
  • If that doesn't work, try to uninstall Avast completely.
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.
kanuda
Posts: 6
Joined: 27. Mar 2017, 08:01

Re: E_FAIL (0x80004005) error on Windows 7 VM

Post by kanuda »

I've run the sfc /scannow successfully with no problem detected, but still didn't solve the problem.
What should I do next?
socratis
Site Moderator
Posts: 27329
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_FAIL (0x80004005) error on Windows 7 VM

Post by socratis »

kanuda wrote:What should I do next?
  1. Did you go down the list, or you just tried the first step and you stopped there?
  2. You don't piggyback on another user's thread unless your conditions are exactly the same, i.e. you have Avast and the problem is Avast.
  3. You didn't include a log. Not every error has the same source and in order to find the source, we need the log. ZIP IT FIRST!
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.
kanuda
Posts: 6
Joined: 27. Mar 2017, 08:01

Re: E_FAIL (0x80004005) error on Windows 7 VM

Post by kanuda »

I don't have Avast on my computer, so I couldn't go down the list. I apologize for piggybacking.
I have attached the error message for more details.
Regards,
Attachments
Error Message.rar
(378 Bytes) Downloaded 130 times
Last edited by socratis on 27. Mar 2017, 09:31, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
socratis
Site Moderator
Posts: 27329
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_FAIL (0x80004005) error on Windows 7 VM

Post by socratis »

socratis wrote:You didn't include a log.
As in the log that was quoted in the Error message that you received:
Failed to open a session for the virtual machine ODK.

The virtual machine 'ODK' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\Kanuda\VirtualBox VMs\ODK\Logs\VBoxHardening.log'.

Result Code: E_FAIL (0x80004005)
Component: MachineWrap
Interface: IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}
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.
kanuda
Posts: 6
Joined: 27. Mar 2017, 08:01

Re: E_FAIL (0x80004005) error on Windows 7 VM

Post by kanuda »

Sorry, here it is.
Attachments
VBoxHardening.rar
(2.1 KiB) Downloaded 196 times
Last edited by socratis on 27. Mar 2017, 11:54, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
socratis
Site Moderator
Posts: 27329
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_FAIL (0x80004005) error on Windows 7 VM

Post by socratis »

Code: Select all

Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.
  • Go to ""C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv", right-click on the "VBoxDrv.inf" and select "Install".
  • If that doesn't work, uninstall VirtualBox, reboot, and install it again, this time after right-clicking on the installer and selecting "Run as Administrator".
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.
kanuda
Posts: 6
Joined: 27. Mar 2017, 08:01

Re: E_FAIL (0x80004005) error on Windows 7 VM

Post by kanuda »

I have installed the VBoxDrv.inf, it didn't help. Then uninstalled the VirtualBox, rebooted and installed again (running as an admin) as you directed, again it is not working...

I have also attached the results for 'sc.exe query vboxdrv'.

Kind Regards
Attachments
sc.exe_query_vboxdrv.PNG
sc.exe_query_vboxdrv.PNG (72.65 KiB) Viewed 8628 times
Last edited by socratis on 27. Mar 2017, 13:56, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
socratis
Site Moderator
Posts: 27329
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_FAIL (0x80004005) error on Windows 7 VM

Post by socratis »

kanuda wrote:(running as an admin)
I said Right-Click, Run-As-Administrator. This is completely different to "running as admin". Please verify that you understand the difference.

Also, there is a "QUOTE" button. Do NOT use that. Use the "POST REPLY" button at the end of the form. I've already edited 3/3 of your messages to delete the previous exact quoted message. It doesn't help reading the topic...
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.
kanuda
Posts: 6
Joined: 27. Mar 2017, 08:01

Re: E_FAIL (0x80004005) error on Windows 7 VM

Post by kanuda »

Sorry for misleading, I used Run-As-Administrator and not run as admin.
kanuda
Posts: 6
Joined: 27. Mar 2017, 08:01

Re: E_FAIL (0x80004005) error on Windows 7 VM

Post by kanuda »

Dear socratis, I followed all the steps but I couldn't get a positive results.
Regards.
Post Reply