Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Fix Failed to open session in VirtualBox to install Windows 11 Image 
  • backupvssnapshot
    Virtual Machine Snapshot vs Backup Version Control System
  • Wordpress
    How to Install and Configure WordPress on Your Windows Computer Using WAMP SERVER Web Server
  • officeonlineserver
    How to set up and Configure Office Online Server Microsoft Exchange/Office/365
  • screenshot 2020 03 20 at 16.10.20
    How to install Ansible on Windows with Cygwin Windows Server
  • veeam backup for Proxmox VE
    Backup and Restore Proxmox VE virtual machines with Veeam Backup
  • screenshot 2020 02 09 at 21.47.28
    How to find Computer Model and Serial Number Windows
  • dasfdg
    Unable to execute: The application GUID not found in the application list Windows Server
  • screenshot 2020 03 13 at 20.24.17
    How to view installed packages in Cygwin Windows

Fix Failed to open session in VirtualBox to install Windows 11 Image 

Posted on 05/11/202108/05/2025 Imoh Etuk By Imoh Etuk 2 Comments on Fix Failed to open session in VirtualBox to install Windows 11 Image 
Failed to open session in VirtualBox to install Windows 11 Image

An error can occur in VirtualBox Manager while trying to start up a Virtual Machine. A VirtualBox Manager is software that can help you run Virtual Machines with Windows 8,10,11, and whichever operating system you may want. In this article, we shall discuss how to fix “Failed to open session in VirtualBox to install Windows 11 Image”. Please see how to configure email notifications for Azure CI/CD build Pipeline on Azure DevOps Project, and how to create an App Service Plan with Continuous Deployment to deploy a .NET Application from GitHub.

In this program, you could get a very annoying error and you can end up spending a lot of your productive time trying to fix it. 

Check out some of my previous posts on Provisioning Azure Resources using Azure Az PowerShell Cmdlet from Cloud Shell, How to build your first CI/CD Pipeline in Azure DevOps using ASP.Net Core Application, and how to secure access to your Virtual Machine with Just-in-Time (JIT) VM Access.

Why the error “Failed to open session in VirtualBox” may have occurred

This can happen to you while trying to install the most desired Windows 11 Operating System that was officially released by Microsoft on October 5, 2021, using Oracle VirtualBox Manager. 

You may have been aware of some specific requirements that your system must meet to be able to install and run Windows 11. You can review the requirements from Microsoft’s official documents.  

So, if your system specification falls below the requirements stated by Microsoft, you could still install it. One of the ways you can install Windows 11 on your system is to use VirtualBox Manager or VMWare.  

When this happens, you will get an error similar to the one shown below:

Failed to open a session for the virtual machine Imohweb-Win11.

Call to NEMR0InitVMPart2 failed: VERR_NEM_INIT_FAILED (VERR_NEM_VM_CREATE_FAILED).

Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

This “Failed to open session in VirtualBox” error could happen if you recently upgraded your VirtualBox. For example, let’s say you upgrade from v6.1.28 from v6.1.26 in your 64-bit Windows 10 Pro PC.  Experiencing or having encountered such errors in the past, you’d understand the frustration they can cause.

Fixing the Error “Failed to open session in VirtualBox”

These simple steps below will guide you through quickly with ways to get it fixed. You need to disable some things in your Windows OS to fix it. Follow through the steps below: 

  • From Start Menu -> Windows Feature 
  • Locate Hyper-V and uncheck the box beside it to disable it
  • Scroll down to locate Virtual Machine Platform and check the box beside it to enable it 
  • Next enable Windows Hypervisor Platform by checking the box beside it  
  • Locate and disable Windows Sandbox
  • Click Ok – Windows will apply the changes and prompt you to restart the system, do not restart it yet because there is still one more thing to do. 
Windows-Features
Windows Features

Launch PowerShell as an Administrator.  In the PowerShell window, run the command below and hit enter. 

bcdedit /set hypervisorlaunchtype off 
PowerShell-Screen
PowerShell Window

Lastly, you can now close the PowerShell window and restart your PC. Go ahead to run the operating system image of your choice in the VirtualBox Manager. 

FAQs

Is VirtualBox compatible with Device Guard and Credential Guard enabled on Windows?

No, Oracle VirtualBox is not fully compatible with Windows Device Guard or Credential Guard. These Windows security features rely on virtualization-based security (VBS), which uses Hyper-V under the hood. Since VirtualBox and Hyper-V cannot run simultaneously without conflict (especially in older versions), enabling Device Guard or Credential Guard can prevent VirtualBox VMs from starting or cause performance and compatibility issues.

How can I use VirtualBox on a system with Device Guard or Credential Guard enabled?

To use VirtualBox effectively, you typically need to disable Device Guard and Credential Guard. This involves modifying Group Policy settings, clearing UEFI keys, and potentially adjusting registry entries. Alternatively, consider using VirtualBox 6.1 or later, which introduced some experimental support for Hyper-V (via “Hyper-V Paravirtualization”), but note that performance and compatibility may still be limited compared to native execution.

Why does VirtualBox and Hyver-V not work?

Because, the hypervisor loads before the OS and assigns hardware virtualization to the hypervisor, not the host OS. VirtualBox cannot use hardware virtualization if the Hyper-V hypervisor is active.

How do I disable Virtualization-Based Security (VBS) using the Local Group Policy Editor on Windows?

On the host operating system, click Start > Run, type gpedit.msc, and click Ok. The Local group Policy Editor opens. Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Device Guard > Turn on Virtualization Based Security.

I hope you found this blog post on “how to Fix Failed to open session in VirtualBox to install Windows 11 Image” helpful. If you have any questions, please let me know in the comment session. Cheers! 

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:Microsoft Windows, Virtual Machine, VirtualBox, virtualization, Windows 10, Windows Server 2016

Post navigation

Previous Post: Failed to run the action install Operating System: Lifetouch deployment failed, Return Code = -2147467259 0x80004005 when installing Windows image via MDT
Next Post: Remove Xbox from automatic startup: How to enable and disable automatic startup in Windows 11

Related Posts

  • self signed sslcert
    Generate self-signed certificate and export in PFX format via PowerShell [Part 2] Windows
  • hh
    Graphical Network Simulator: How to install GNS3 on a Windows device Windows
  • bypass windows login main img
    How to disable auto login in Windows Windows
  • fghj
    How to enable or disable DotNet Framework (NetFx3) via PowerShell, Control Panel, and DISM in Windows Windows
  • download9
    Change the default Save and Download Location in Windows Windows
  • Hyper V Virtual Switch Copy
    How to Create VDI Collections on Windows Server 2022 Network | Monitoring

More Related Articles

self signed sslcert Generate self-signed certificate and export in PFX format via PowerShell [Part 2] Windows
hh Graphical Network Simulator: How to install GNS3 on a Windows device Windows
bypass windows login main img How to disable auto login in Windows Windows
fghj How to enable or disable DotNet Framework (NetFx3) via PowerShell, Control Panel, and DISM in Windows Windows
download9 Change the default Save and Download Location in Windows Windows
Hyper V Virtual Switch Copy How to Create VDI Collections on Windows Server 2022 Network | Monitoring

Comments (2) on “Fix Failed to open session in VirtualBox to install Windows 11 Image ”

  1. Avatar photo Guilherme Ribeiro says:
    24/11/2021 at 9:53 AM

    Hello,

    Unfortunately doesn’t work in my case, I just upgraded to version 6.1.30 and it keeps giving the error. But many thanks for the help

    Regards

    Log in to Reply
    1. chris Christian says:
      24/11/2021 at 7:03 PM

      Hello Guilherme,

      thank you for the kind words.

      Unfortunately, it is often so that no one solution can solve a specific program. Once again, thank you!

      Kindly let us know the solution that worked for you so others can learn from you.
      
      Best,

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • backupvssnapshot
    Virtual Machine Snapshot vs Backup Version Control System
  • Wordpress
    How to Install and Configure WordPress on Your Windows Computer Using WAMP SERVER Web Server
  • officeonlineserver
    How to set up and Configure Office Online Server Microsoft Exchange/Office/365
  • screenshot 2020 03 20 at 16.10.20
    How to install Ansible on Windows with Cygwin Windows Server
  • veeam backup for Proxmox VE
    Backup and Restore Proxmox VE virtual machines with Veeam Backup
  • screenshot 2020 02 09 at 21.47.28
    How to find Computer Model and Serial Number Windows
  • dasfdg
    Unable to execute: The application GUID not found in the application list Windows Server
  • screenshot 2020 03 13 at 20.24.17
    How to view installed packages in Cygwin Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.