WSL: Can't upgrade to WSL2, even thought all is enabled
Environment
Windows build number: 10.0.19041.867
Your Distribution version: Ubuntu 20.04
Whether the issue is on WSL 2 and/or WSL 1: WSL2
Steps to reproduce
- Run
wsl --set-version ubuntu 2 - Get error like this:
Enable Windows feature for vitual machine platform and make sure that virtualization enabled in BIOS.
WSL logs:
Expected behavior
WSL is setting to version 2
Actual behavior
It fails with above error
Additional info
- Hyper-V enabled
- Hypervisor enabled
- Virtual Machine Platform enabled
- Intel VT-x enabled Sorry but I dont understand which log file to send
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16
open cmd as admin and run this comamnd bcdedit /set hypervisorlaunchtype auto if again didnt work after this command try reboot ur pc to take effect