wsl2 kali 安装报错 WslRegisterDistribution failed with error: 0x80004005
修改注册表解决 wsl2 kali 安装报错 0x80004005
文章共199字 · 阅读需要大约1分钟
一键AI生成摘要,助你高效阅读
问答
·
wsl2 kali 安装报错
我是从MS Store 安装的,下载后点击打开
,弹出cmd窗口
报错信息:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80004005
Error: 0x80004005 ???????
Press any key to continue...
解决方法:
将 LxssManager 服务
修改为自动启动
从服务中修改会提示“拒绝访问”,所以从注册表改
win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> 右键 Start 项 -> 将值修改为 2
默认为 3
1 自动(延迟启动)
2 自动
3 手动
4 禁用
更新wsl
管理员启动 powershell
wsl --update
成功安装
再次点击打开
Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username:
更多推荐
已为社区贡献1条内容
所有评论(0)