Zxilly
Try to be 1%
Zxilly's Blog

解决 WSL 0x80041002 错误

我本来觉得这玩意儿没必要记下来,直到我第三次遇到这个问题又去查了一圈。。。

这一问题还常和错误提示 WslRegisterDistribution failed with error: 0x80041002一同出现

Solution

这个错误代码应该对应于 Hyper-V 的网络错误,可以在事件日志查看器中检索到具体的错误。

对我而言,引起错误的原因是 Wintun 重新安装 Userspace Tunnel 网卡后莫名阻塞了 Hyper-V 交换机的启动,解决方式是禁用 Wintun 网卡后启动一次 WSL,以允许 Hyper-V Adapter 为其创建具体的映射。

映射创建后,Wintun 网卡可以和 WSL 同时工作。

如果你没有使用 Wintun,你应该检查自己最近添加的网络设备。

Reference

Blank Screen when Starting Up · Issue #2352 · microsoft/WSL
Ubuntu (WSL) hangs on launch with black screen · Issue #4569 · microsoft/WSL

# #
首页      代码      解决 WSL 0x80041002 错误

Zxilly

文章作者

发表回复

textsms
account_circle
email

Zxilly's Blog

解决 WSL 0x80041002 错误
我本来觉得这玩意儿没必要记下来,直到我第三次遇到这个问题又去查了一圈。。。 这一问题还常和错误提示 WslRegisterDistribution failed with error: 0x80041002一同出现 Solution 这个…
扫描二维码继续阅读
2021-10-26