本文最后更新于:2024年1月14日 晚上

本文记录Windows 10 安装 Linux 子系统时报错的解决方案。

问题复现

在Microsoft Store 启动Ubuntu 时报错:

1
2
3
4
5
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall for details.
Press any key to continue...

解决方案

开启子系统支持

  • 控制面板 –> 程序与功能 –> 启动或关闭Windows功能 勾选 适用于Linux的Windows子系统,重启即可。

开启 开发者模式

参考资料



文章链接:
https://www.zywvvd.com/notes/system/windows/about-wsl/wsl-2/wsl-2/


“觉得不错的话,给点打赏吧 ୧(๑•̀⌄•́๑)૭”

微信二维码

微信支付

支付宝二维码

支付宝支付

WSL 解决 The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
https://www.zywvvd.com/notes/system/windows/about-wsl/wsl-2/wsl-2/
作者
Yiwei Zhang
发布于
2021年4月22日
许可协议