• Register
0 votes
415 views

Problem :

Currently I am facing following issue:

Failed to open a session for the virtual machine ubuntu.
Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT).
Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

 

6 5 3
7,540 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution :

Finally I am able to find the fix for your issue now.

Firstly, you need to understand your problem which mostly people not really find out, it seems your VM came with guest OS of Ubuntu 64-bits but after doing  the import, you must have checked on that VM which shows only 32-bits OS.

And when you start the VM, you must have got below error :

Failed to open a session for the virtual machine ERPNext-Develop-20180331192506.

Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT).

Result Code: E_FAIL (0x80004005)

Component: ConsoleWrap

Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

I realized that the point above (32-bits OS) so I thought the problem must be with this one.

After doing the research I understood that Windows 10 also comes up with the Hyper-V which is conflicting with your Oracle VM VirtualBox.

So solution for you as below...

1.    Disable the Virtualization Based Security in group policy

·   Start and Run application and start the gpedit.msc

·   Go to your Computer configuration > Administrative Template > Device Guard

2.    Disable the Microsoft Hyper-V

·    Start and Run application and start the OptionalFeatures.exe

·    Untick the Hyper-V

·    Restart your PC

Now you can use the VM, it must be started.

9 7 4
38,600 points
0 votes

Solution:

STEP 1: If Bitlocker is running

launch "Manage Bitlocker" and suspend anytime you are dealing with security or BIOS updates! Also make sure you have an external copy of the Bitlocker recovery key - since it comes in handy if you ever get locked out.

STEP 2: 

After spending a few hours trying to get a VM running on my PC, I found Hypervisor was still in use by Secure Boot, preventing me from installing a new VM OS, so the bcedit step did nothing to help get past the following VM error:

Error: Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT).

Prior to Step #3 (bcdedit's) - YOU MUST GO INTO THE BIOS AND TURN OFF "SECURE BOOT" & SAVE / REBOOT

Once I turned off Secure Boot and ran Step #3 (bcdedit's), System Information: Virtual-based Security = "Not Enabled"

VMWare installation proceeded as it should and I was finally able to install the VM OS.

Update:

Noticed Secure Boot was not enabled as I thought, but when I enabled, it was still preventing my VM from starting.

IF you still didn’t find the solution then follow this steps

You need to disable Hypervisior to check new application that use VT-x before the virtual machine launch.

  1. Open command prompt as Administrator
  2. Run bcdedit to check hypervisor status
bcdedit
  1. Check hypervisor launch type
  2. If is set to auto then disable it
bcdedit /set hypervisorlaunchtype off
  1. 5eboot host machine and launch VirtualBox again
 
10 6 4
31,120 points

Related questions

1 vote
2 answers 737 views
737 views
Problem : I am using the VirtualBox with OS X as host and CentOS on a guest VM. In OS X I created the folder myfolder, added it as a shared folder to a VM, turned on a VM, in CentOS created folder as /home/user/myfolder and typing as below : sudo ... /user/myfolder But have below output: /sbin/mount.vboxsf: mounting failed with the error: No such device What am I doing wrong in above scenario?
asked Jan 22, 2020 jwilliam 3.9k points
0 votes
1 answer 6 views
6 views
Problem: this system is currently not set up to build kernel modules
asked Feb 17 Dan phillip 1.9k points
0 votes
2 answers 146 views
146 views
Problem : Downloaded the Xamarin Android Player and with a >>next>> progress installed Virtual Box. But when I tried to start the emulator I got below error: Failed to initialized device (name Of the emulator) VboxManager Commendt Failed And a detail of ta error in ... is as below : VT-x is disabled in the BIOS for both all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED) How can I fix above error?
asked Jan 22, 2020 jwilliam 3.9k points
0 votes
1 answer 7 views
7 views
Problem: I am working on java wicket framework and Apache tomcat. Here I have Problem when i tried to start tomcat it shows Java Virtual Machine Launcher pop window "Could not create the Java Virtual Machine". After clicking on "OK" button on Pop window it shows the error on console.
asked 5 days ago Ali 4.4k points
0 votes
1 answer 3 views
3 views
Problem: I am getting this error message when I start Eclipse Helios on Windows 7: My eclipse.ini looks as follows: -startup plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -vm P:\Programs\jdk1.6\bin --launcher.library plugins/org.eclipse.equinox.launcher.win32. ... .requiredJavaVersion=1.5 -Xms120m -Xmn100m -Xmx1024m My JAVA_HOME is correctly set as far as I can tell. How can I fix this?
asked Feb 16 Ali 4.4k points
0 votes
1 answer 25 views
25 views
Problem: Hey, i have been facing this error again and again When I input $ vagrant box list, Terminal outputs: centos64 (virtualbox) Now I input $ vagrant init centos64, Terminal outputs an error message: "Vagrantfile" already exists in this directory. Remove it before running "vagrant init". Is there any way to resolveb this error, so please tell me. this is impotant to me
asked Feb 6 charles mathews 3.8k points
0 votes
1 answer 8 views
8 views
Problem: I am trying to save in shared preference and make it display in another activity by getting it again in shared preference but my app crash.b.Attempt to invoke virtual method 'void com.newrelic.agent.android.tracing.TraceMachine. TraceMachine.completeActivityTrace()' on a null object reference
asked Feb 1 Ali 4.4k points
0 votes
1 answer 160 views
160 views
Problem : My Windows Server 2012 VM was working without any issues, I just restarted it. After restarted my vm, I changed some of the settings and also attached the dvd drive it would boot up again. But now it gives below error: “Failed - The attempted operation cannot be ... to do it. Also I tried to reboot it, reset it but nothing is working and now it is not even in the running VMs list.
asked Feb 18, 2020 mphil 2.3k points
0 votes
0 answers 3 views
3 views
Problem: no usable default provider could be found for your system.
asked 5 days ago Dan phillip 1.9k points
0 votes
1 answer 5 views
5 views
Problem: The vm session was closed before any attempt to power it on.
asked Feb 16 Ethan ross 1.8k points