Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

virtualbox - virtualization is enabled but not working

Ok, I have the most recent version of virtualbox installed, my computer (HP) has an AMD A10, 64bit Windows 10 OS and 6Gb RAM.

I created a virtual machine with Windows 7, there I wanted to create a new virtual machine (a VM2 in a VM1), but I cant run it because I have no virtualization enabled in the VM1.

This image is the error I'm getting

ok, so I checked the VM1 configuration and the virtualization is enabled in the virtualbox settings. I've tried with all the Paravirtualization interfaces and always having the Hardware Virtualization enabled (VT-x and AMD-V). I really don't know why this is happening if this is all suposed to be enabled and there arent documentations of similar issues.

I tried changing the number of CPUs used by the VM1 and all the interfaces.

like image 301
Diego Rivera Avatar asked Nov 05 '15 19:11

Diego Rivera


2 Answers

I seach for 2 days and nothing worked for me.. then i find the solution:

The problem is in Windows 10... u need to disable Hyper-V Manager ...

1) make sure in your BIOS cpu virtualization is enable.

2) open your CMD as administrator

3) in your desktop folder type bcdedit and look for hypervisorlaunchtype in the bottom ... if it is Auto or enable we need to disable it !!!!!!

See this picture

4) type in your cmd bcdedit /set hypervisorlaunchtype off

5) Restart your OS and be happy !!!

i know this is a old question ... but for everyone who have a similar problem i hope it helps !!

like image 114
Tiago Almeida Avatar answered Oct 05 '22 17:10

Tiago Almeida


The answer is correct, however there is something worth mentioning: Usually the Hyper-V Manager is enabled by Docker (Docker runs on top of HV Manager), in my case it only worked after :

  • Removing Docker
  • dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

the command line will ask you to restart, then you will able to run VX images!

like image 24
Marwen Trabelsi Avatar answered Oct 05 '22 17:10

Marwen Trabelsi