Windows 11 - Switch WSL to 2 Error
$ wsl --set-default-version 2
Error: 0x800701bc WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel
1. Open "Control Panel"
2. Open "Program and Feature"
3. Click "Turn Windows features on or off"
4. Check the "Virtual Machine Platform" and "Windows Hypervisor Platform".
(一開始只安裝"Virtual Machine Platform",但還是會報error,後來才補安裝"Windows Hypervisor Platform",所以不確定是兩個都要還是"Windows Hypervisor Platform"足以)
5. OK then reboot OS
Windows 11 / 10
When running wsl-distribution installation: Stock with message: This may take several minutes...
1. Fix App and browser control
2. Open "Window Security"
3. Open "App & Browser control"
4. Click "Exploit protection settings" at the bottom
5. Switch to "Program settings" tab
6. Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
7. Click "Edit"
8. Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" (CFG must be ON for this app!)
9. Reboot
Note: 如果執行command: net start vmcompute
有這相關的訊息,可能能用此方法解決,
The Hyper-V Host Compute Service service is starting. The Hyper-V Host Compute Service service could not be started. A system error has occurred. System error 5 has occurred. Access is denied.
留言列表