错误WslRegisterDistribution failed with error: 0x8007019e
笔者直接从Microsoft Store 安装 WSL后,没有其他操作,直接打开WSL,结果出现Error: 0x8007019e错误提示:
Error 0x8007019e 解决方案
(1)Windows 设置搜索框里面搜索启用或关闭 Windows功能,进入界面后选中虚拟机平台和适用于 Linux 的 Windows 子系统 两个选项,然后点击确定。


注意上面虚拟机平台和适用于 Linux 的 Windows 子系统 这两个选项都需要打开。
如果没开启虚拟机平台选项会出现这个错误 Error: 0x8004032d,
WslRegisterDistribution failed with error: 0x8004032d
Error: 0x8004032d (null)
出现上面的 0x8004032d 错误重新进入启用或关闭 Windows功能界面后选中虚拟机平台,点击确定,启用对应功能。
(2)启用功能需要重启系统。
(3)重启后,打开终端,在终端中输入wsl.exe --update,接着安装 WSL 相关的组件:
> wsl.exe --update
正在安装: 适用于 Linux 的 Windows 子系统
已安装 适用于 Linux 的 Windows 子系统。
(4)最终成功进入WSL。打开WSL 界面会出现:
Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
然后根据需要配置用户名,登录密码,进入命令行界面。



![2534. 乘方 [CSP-J 2022]](https://i-blog.csdnimg.cn/direct/4a5c1d445dc54867a60c0f36ca2eccf2.png)



![[Linux#47][网络] 网络协议 | TCP/IP模型 | 以太网通信](https://i-blog.csdnimg.cn/direct/1783339e86994d6ba4c8eda6b9075588.png)











