当前位置:   article > 正文

Windows 10更新后无法启动WSL (Windows Subsystem for Linux)_please enable the virtual machine platform windows

please enable the virtual machine platform windows feature and ensure virtua

小结

Windows 10最近有个自动更新并重启电脑后,启动WSL后报错,进行了解决。

问题

Windows 10最近有个自动更新后,报以下错:

Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/wsl2-install
  • 1
  • 2

解决

首先想到的是在Windows Features里去开启Hyper V 以及 Windows Subsystems for Linux等的设置,发现这些设置已经很久以前开启了,根本就没动过。

最后参考链接1运行以下指令再重启计算机解决问题:

DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
bcdedit /set hypervisorlaunchtype auto
  • 1
  • 2

参考

Github: Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS. #5363

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/59318
推荐阅读
相关标签
  

闽ICP备14008679号