Problems enabling hyper-v for Windows 10 Pro - windows-10

Does anyone have any ideas how to enable Hyper-v and containers on Windows 10 Pro 64bit with compatible hardware (according to msinfo32) and all requirements met ie BIOS virtualisation enabled, >4GB RAM and so on. Despite all this none of the commands in powershell or cmd succeed. They complain that one or more parent features must be enabled. There is no error when enabling via Windows features but after the restart Hyper-v regresses to disabled. This question seems to come up a lot and I have tried a wide range of “solutions” but no fix so far. My main goal here is to run Docker for Windows.

Fixed with Windows Defender Fresh start. Not ideal but not as bad as a full reinstall. Worked immediately after this.

Related

NumLock turned off after Ubuntu start under Hyper-V

When I start Ubuntu 20.04 under Hyper-V of Windows 10 1809
NumLock is turned off.
How to prevent it?
What I tried
Editing Registry for Kyboard to some magic number - does not work
Set-VMBios cmdlet is not supported now
gsettings set org.gnome.desktop.peripherals.keyboard remember-numlock-state true - does not work
Can't enter VM BIOS during loading of VM
There is no BIOS option for VM in Hyper-V now
Terrible hearing that, but we still don't have any solution for Gen 2 VM.
For now for solve it you can use only Gen 1 VM.
PS: I hope MS developers team someday found this post and fixed this bug :)

Can I run AVD on a Virtual Windows 10 Desktop

I am currently working form home for an organisation.
Is it possible to run Android Emulator via Android Studio on a Virtual Desktop which has Windows 10 installed.
Also, should I keep my specs low for the Emulator, as I have enough RAM in my VDI.
And do I need to ask the organisation to enable Virtualization in the Virtual Machine, As it may not be possible for me to do so. Or, there is no such things in Virtual Machines?
Currently, When I try to run Emulator, it just gets stuck on black screen forever and timeouts.
I have tried multiple options. But none of them works.
No, after digging in a lot.
It was Azure VDI, windows 10.
And it's not possible to run a virtual machine (Android Emulator) inside another virtual machine.
It may be possible to run in another OS.
But not on Windows which asks to enable Hyper-V.
Which won't allow installation of Intel HAXM.

I can't install HAXM even after trying everything

I initially tried to install haxm though android studio. Not working.
I downloaded the installer for haxm though intel. Not working because: VT-x is not supported by this computer or it is being exclusively used by Hyper-V.
But vt is supported and it's not used by hyper-v.
I checked windows feautures and all hyper-v options/suboptions are off. I checked windows defender -> core isolation -> memory integrity and it's off. I have no other antivirus software that could possible block hyper-v, I have only windows defender.
I tried turning off, in case it's on, with command line and then rebooted and tried installing again.
I checked the bios/uefi and vt is enabled, mts (multithreading) is enabled.
I checked windows services and there was no service, relative to hyper-v, running.
I don't believe that there might be another software running in the same time which causes this problem (like amd driver (andrenaline), asrock rgb, or I don't know what). 
Any idea? 
CPU : ryzen 5 2600. MOBO: Asrock Fatal1ty B450 Gaming K4. OS: Windows 10 Education (latest version)
(I am not sure if this post fits here but I have seen a couple of posts regarding installation problems of HAXM. I read them. Still, they're not helpful for my problem as it seems)
Do check the following things
go to BIOS of your system, if your system (laptop/desktop) have intel processor then enable the VT-X (virtualization technology).
if your laptop/desktop have AMD processor then enable HYPER-V form your BIOS.
This will fix your problem for sure. If not then try to update your BIOS.
Fixed it having the following settings:
Under advanced/cpu settings:
SVM enabled. MTS enabled.
Under advanced/northbridge:
SR-IOV enabled.
On windows:
Hyper-V off. Windows Hypervisor on.
On windows defender:
Core Isolation -> Memory Integrity: off
On android studio:
Settings/System Settings/Android SDK:
Android Emulator On
Android Emulator Hypervisor Driver for AMD Processors On
(Check running services for related tasks. Check 3rd party software)
Reboot.
Don't try to install Intel x86 Emulator Accelator(HAXM) with AMD. There is no way to do it with AMD.

Installing emulator: hardware virtualization

When trying to install the Microsoft Emulator - Windows 10 for mobile I got the following error. I have Intel VT enabled in my BIOS setting!
I need to run an UWP application on my Windows 10 Pro; how can I fix this?
A typical error that many of us do when enabling Hyper-V is doing so from the BIOS and expecting it will work.
Hyper-V needs to be enabled on two different points:
The BIOS settings.
The operative system
The fun thing with Visual Studio is that, if hyper-v is not enabled on the OS, it still says that needs to be done on the BIOS settings.
The BIOS settings differ from manufacturers and versions, but the OS remains the same.
It is done so from the Program and Features option in the Control Panel; select the Turn Windows features on or off and then select the Hyper-V options from the dropdown.
Step 1:
Step 2:
Take into account that you need to be an Administrator in your PC as hyper-v needs to add users to the Admin group.
If you're working on a controlled environment, these options may be disabled by your company administrator.
Once everything is in place, you will need to reinstall the VM.

Genymotion unstable

I've been using Genymotion, but its been pretty laggy. I only had HAXM accelerator installed so I decided to mess with VM manager, but it only seems to have made it worse. Now it runs smoothly but upon opening any application, it will either wait a bit then tell me the application isn't responding, or just freeze all together and give me a "player.exe has stopped working" dialog box. My changed system settings are as follows:
1 processor,
1024MB for the motherboard,
128MB for video with 3D acceleration enabled.
All other configurations are set to default.
I have an intel i5-2450M 2.5GHz chip with virtualization enabled in the BIOS.
Before when I had only HAXM installed, it worked fine. Just lagged a lot.
Help would be much appreciated.
You are using Windows 10?
Try to reinstall genymotion deleting all geny folders from your computer, remove virtualbox too.

Resources