Win11 安装wsl遇到的问题解决
Win11 安装wsl遇到的问题解决
WslRegisterDistribution failed:0x8007019e
参考Link
WslRegisterDistribution failed:0x800701bc
参考Link
如果如下命令执行失败:
wsl –-update
则手动下载Linux kernel update pacakge,链接如下:Link
Ubuntu换源
推荐清华源。根据使用的版本参考如下链接修改:Link
如图:

WSL通过网络访问Windows
创建新的防火墙规则,允许WSL访问Windows(参考Link)
在管理员权限下,执行如下命令:

> New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action Allow
Name : {e9d2cc19-d3fa-4999-b707-9a91be752621}
DisplayName : WSL
Description :
DisplayGroup :
Group :
Enabled : True
Profile : Any
Platform : {}
Direction : Inbound
Action : Allow
EdgeTraversalPolicy : Block
LooseSourceMapping : False
LocalOnlyMapping : False
Owner :
PrimaryStatus : OK
Status : 已从存储区成功分析规则。 (65536)
EnforcementStatus : NotApplicable
PolicyStoreSource : PersistentStore
PolicyStoreSourceType : Local
RemoteDynamicKeywordAddresses : {}
PolicyAppId :
本文聚焦Win11安装WSL时遇到的问题及解决方法。涵盖WslRegisterDistribution失败错误代码0x8007019e和0x800701bc的解决参考,Ubuntu换源推荐清华源及修改参考链接,还介绍了WSL通过网络访问Windows的方法,如创建防火墙规则等。

4万+

被折叠的 条评论
为什么被折叠?



