You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am Having a issue that I can't Upgrade my kali linux to wsl2
Here is the output when i try to upgrade it PS C:\Windows\system32> wsl --set-default-version 2 For information on key differences with WSL 2 please visit https://aka.ms/wsl2 PS C:\Windows\system32> wsl --set-version kali-linux 2 Conversion in progress, this may take a few minutes... For information on key differences with WSL 2 please visit https://aka.ms/wsl2 The operation could not be started because a required feature is not installed. PS C:\Windows\system32>
Can Anyone explain what am I doing Wrong
As I have enabled virtualisation in BIOS and enadbled WSL and Virtual Machine platform.
Please help I am stuck on it for days.
PC Specs-
GPU-Nvidia GT610 2GB
CPU - Intel i3 3220
Ram-4GB
Are you using any other virtualization solution like VirtualBox or VMware? It seems the hypervisor has been disabled even if you have virtualization enabled in the BIOS.
Try opening an elevated cmd and run bcdedit /set hypervisorlaunchtype auto. After reboot msinfo32 should show "Hypervisor has been detected" and WSL2 should work.
Are you using any other virtualization solution like VirtualBox or VMware? It seems the hypervisor has been disabled even if you have virtualization enabled in the BIOS.
Try opening an elevated cmd and run bcdedit /set hypervisorlaunchtype auto. After reboot msinfo32 should show "Hypervisor has been detected" and WSL2 should work.
Yes, I use bluestacks beta 5, and VMware, So if I enable Hypervisor I won't be able to use bluestacks beta 5 .So is it only the solution?
Are you using any other virtualization solution like VirtualBox or VMware? It seems the hypervisor has been disabled even if you have virtualization enabled in the BIOS.
Try opening an elevated cmd and run bcdedit /set hypervisorlaunchtype auto. After reboot msinfo32 should show "Hypervisor has been detected" and WSL2 should work.
Yes, I use bluestacks beta 5, and VMware, So if I enable Hypervisor I won't be able to use bluestacks beta 5 .So is it only the solution?
Correct. You need the hypervisor running if you want to use WSL2. Read this for a working BlueStacks under hyper-v. Latest version of VMware >15.5 already works under hyper-v.
Yes, I use bluestacks beta 5, and VMware, So if I enable Hypervisor I won't be able to use bluestacks beta 5 .So is it only the solution?
Correct. You need the hypervisor running if you want to use WSL2. Read this for a working BlueStacks under hyper-v. Latest version of VMware >15.5 already works under hyper-v.
Did as you told so, still no change
Can you post the output of running bcdedit?
So, after enabling the hypervisor, I found that it shows "a hypervisor is detected " in msinfo32 and then I tried to upgrade kali Linux to wsl2, but still got the same error
`Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 The operation could not be started because a required feature is not installed.
Activity
sagniksen31 commentedon Apr 27, 2021
I am on windows 10 pro And the OS build is latest
benhillis commentedon Apr 27, 2021
Sagnik Sen (@sagniksen31) - I suspect virtualization is not enabled in your BIOS.
sagniksen31 commentedon Apr 27, 2021
No, It is enabled.I have checked it 3 times.
benhillis commentedon Apr 27, 2021
Sagnik Sen (@sagniksen31) - could you share the output of msinfo32.exe?
sagniksen31 commentedon Apr 27, 2021
sagniksen31 commentedon Apr 28, 2021
This is my msinfo32 ss
sagniksen31 commentedon Apr 28, 2021
Please help I am stuck in it for days
onomatopellan commentedon Apr 29, 2021
Are you using any other virtualization solution like VirtualBox or VMware? It seems the hypervisor has been disabled even if you have virtualization enabled in the BIOS.
Try opening an elevated cmd and run
bcdedit /set hypervisorlaunchtype auto. After reboot msinfo32 should show "Hypervisor has been detected" and WSL2 should work.sagniksen31 commentedon Apr 29, 2021
Yes, I use bluestacks beta 5, and VMware, So if I enable Hypervisor I won't be able to use bluestacks beta 5 .So is it only the solution?
sagniksen31 commentedon Apr 29, 2021
Did as you told so, still no change
onomatopellan commentedon Apr 30, 2021
Correct. You need the hypervisor running if you want to use WSL2. Read this for a working BlueStacks under hyper-v. Latest version of VMware >15.5 already works under hyper-v.
Can you post the output of running
bcdedit?sagniksen31 commentedon Apr 30, 2021
So, after enabling the hypervisor, I found that it shows "a hypervisor is detected " in msinfo32 and then I tried to upgrade kali Linux to wsl2, but still got the same error
onomatopellan commentedon Apr 30, 2021
Now that you are under the hypervisor you can follow the steps for installing WSL2
sagniksen31 commentedon Apr 30, 2021
So this should do the work?
onomatopellan commentedon Apr 30, 2021
Yes, pay special attention to step 3 and 4.
sagniksen31 commentedon Apr 30, 2021
Thanks, If I have any issues I will leave a comment here
sagniksen31 commentedon Apr 30, 2021
`Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 The operation could not be started because a required feature is not installed.
Press any key to continue...`
Still This Error :(
The Machine is Talking about which feature?
onomatopellan commentedon Apr 30, 2021
Sagnik Sen (@sagniksen31) You are now at this point #4626. Try gajama solution as it helped lots of people.
sagniksen31 commentedon Apr 30, 2021
I also tried it, It didn't work.
onomatopellan commentedon Apr 30, 2021
Then I don't know what's happening. What I'd try is disabling WSL2 and enabling it again.
sagniksen31 commentedon May 1, 2021
I tried this, But I will try it once more
Edit - Jonathan (@onomatopellan) answer worked, and don't forget to turn On hypervisor using
bcdedit /set hypervisorlaunchtype autoand then follow Jonathan (@onomatopellan) 's step. If any problem Occurs refer to #4626, and then follow Jonathan (@onomatopellan) 's step.Thank You Jonathan (@onomatopellan).
ojeh-a commentedon Apr 19, 2024
I got stuck while upgrading at 5% for 10 hours, then I restarted the system and tried again, I've been stuck here since. What do I do?
alphaxlegion commentedon May 18, 2024
try this command it fixed my issue in kali linux wsl
Steps