• Register
0 votes
339 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

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 512 views
512 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 jwilliam 3.9k points
0 votes
2 answers 98 views
98 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 jwilliam 3.9k points
0 votes
1 answer 121 views
121 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 mphil 2.3k points
0 votes
1 answer 540 views
540 views
Problem : I am new to laravel. I recently installed laravel homestead and it was running using the powershell. But now it has stopped working completely. I had suspended the vagrant and turned off my box. Now it is only showing me below error: ... (extended info not available) VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 493 of file VBoxManageModifyVM.cpp
asked Feb 24 mphil 2.3k points
0 votes
1 answer 77 views
77 views
Problem : Intel i5-2410M CPU is running at 2.30 GHz running the Windows 7 64-bit operating system. I have the VirtualBox 4.13 installed. I am trying to run the ubuntu-14.04-desktop-amd64.iso but I face the below error This kernel requires an x86-64 cpu but only detected ... that tried to use my image again but I still face the same error. Is there any other reason why I am unable to use the image?
asked Jan 14 jwilliam 3.9k points