E_FAIL (0x80004005)

Fix VirtualBox E_FAIL 0x80004005 in 5 Minutes

VirtualBox throws this error when VMs crash on boot. Quick fix: reinstall VirtualBox and disable Hyper-V on Windows. That's it.

That E_FAIL 0x80004005 error when you try to start a VirtualBox VM is annoying. I've seen it hundreds of times in my help desk. The fix is usually simple.

Main Fix: Reinstall VirtualBox and Disable Hyper-V

This error pops up most often on Windows 10 or Windows 11 machines. The cause? VirtualBox doesn't get along with Microsoft's Hyper-V hypervisor. They both want to run virtual machines, and they fight.

  1. Uninstall VirtualBox completely. Go to Control Panel > Programs and Features. Find Oracle VM VirtualBox. Right-click and select Uninstall. Wait for it to finish. Don't click anything else during uninstall.
  2. Restart your computer. After restart, don't open VirtualBox yet.
  3. Disable Hyper-V. Open Command Prompt as Administrator. To do this, right-click the Start button and select Command Prompt (Admin) or Terminal (Admin).
  4. Type this and press Enter:
    dism /online /disable-feature /featurename:Microsoft-Hyper-V-All
    You should see progress bars and a message saying "The operation completed successfully."
  5. Restart again. This is critical. The Hyper-V changes need a reboot to take effect.
  6. Download the latest VirtualBox from the official Oracle website. At the time of writing, the latest stable version is 7.0.x. Don't use an old version.
  7. Install VirtualBox. Run the installer. Use all default options. When it asks if you want to install network drivers, say Yes.
  8. Restart one more time. I know, it's a lot of restarts. But this clears up any leftover conflicts.
  9. Open VirtualBox. Try to start your VM. It should boot now without the E_FAIL error.

If you still see the error after these steps, you probably have Windows Sandbox or Device Guard enabled. Turn those off too — they also use Hyper-V under the hood.

Why This Works

VirtualBox uses its own hypervisor (the thing that manages virtual machines). Hyper-V is Microsoft's built-in hypervisor. When both are active on the same machine, VirtualBox can't get exclusive access to CPU virtualization features. This causes the VM to fail with E_FAIL 0x80004005.

Reinstalling VirtualBox resets the driver stack and removes any corrupted files. Disabling Hyper-V removes the conflict. The combination fixes the issue for about 95% of users.

Less Common Variations of the Same Issue

VM Was Working, Then Suddenly Got E_FAIL

This usually happens after a Windows Update that enables Hyper-V features. Check if Windows Sandbox, Windows Subsystem for Linux (WSL 2), or Device Guard got turned on. Disable them using the same dism command above, but also run this:
bcdedit /set hypervisorlaunchtype off
Then restart.

Error Only on One Specific VM

If other VMs work fine but one gives E_FAIL, the VM's configuration might be corrupted. Back up the VM folder (usually in C:\Users\You\VirtualBox VMs). Then delete the VM from VirtualBox Manager (right-click > Remove > Remove only). Re-add it by choosing Machine > Add, then pick the .vbox file. This rebuilds the config without re-creating the whole VM.

Guest Additions Crash After Update

Sometimes after updating VirtualBox, old Guest Additions cause E_FAIL. Uninstall Guest Additions from inside the VM (if it boots) or start the VM with the ISO mounted for Guest Additions. Reinstall them fresh.

Prevention Tips

  • Don't install Windows Hyper-V features unless you really need them. That includes Windows Sandbox, WSL 2, and Device Guard. They all conflict with VirtualBox.
  • Keep VirtualBox updated. Old versions have bugs that get fixed. Check for updates every couple months.
  • Back up your VM folders regularly. If corruption happens, you waste time rebuilding the VM. Copy the whole folder to another drive once a month.
  • Before a major Windows update, snapshot your VM. If the update breaks VirtualBox, you can roll back easily.

That's it. The error is annoying but fixable. If none of this works, you might have a deeper hardware issue — like virtualization disabled in BIOS. But 9 times out of 10, the steps above solve it.

Related Errors in Server & Cloud
CrashLoopBackOff Kubernetes Pod CrashLoopBackOff: Quick Fix and Why Google Analytics Not Tracking Page Views? Try These Fixes First This computer can't connect to the remote computer RDP connection fails with "This computer can't connect to the remote computer" 0X00002163 ERROR_DS_GC_REQUIRED (0x00002163) Fix: The operation requires a Global Catalog server

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.