Win10 2004 WSL2 ERROR: 0x800701bc

10 篇文章 0 订阅

MyBlog:https://x.medemede.cn/archives/win102004wsl2error0x800701bc
本来是想在 Github 上给 WSL 提个 issue 的,结果写着写着给整好了。所以暂时没有翻译过来,不过都挺简单的。可以直接看 Solution 部分。

Environment

Windows build number: 10.0.20161.0
Your Distribution version: ubuntu, ubuntu 20.04, ubuntu 18.04
Whether the issue is on WSL 2 and/or WSL 1: WSL2

Problem

  1. I follow here, installed WSL 2 and ubuntu.
  2. I run ubuntu from start menu, ERROR: 0x800701bc
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800701bc
Error: 0x800701bc WSL 2 ?????????????????? https://aka.ms/wsl2kernel

Press any key to continue...

  1. I try to Updating the WSL 2 Linux kernel, but
A later version of the Windows Subsystem for Linux
Update is already installed. Setup will now exit

  1. I run wsl --update --status in powershell
The Windows subsystem for Linux was last updated on 2020-6-24
WSL automatic update enabled
The WSL2 kernel file cannot be found.
To update or restore the kernel, run 'wsl.exe --update'.
  1. I run wsl.exe --update in powershell
Checking for updates...
Used without update.
The WSL 2 kernel file was not found and may need to be reinstalled or repaired manually.
For more information, please visit https://aka.ms/wsl2kernel.

Solution

  1. uninstall the Linux kernel (or Windows Subsystem for Linux Update) by running this program

  2. installed the msi again from https://aka.ms/wsl2kernel


  1. 使用 此工具 卸载 Linux kernel (或者叫做 Windows Subsystem for Linux Update)
  2. 通过 此链接 下载 Linux 内核更新包,并且安装
  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
Error: 0x800701bcWSL 2安装过程中的一个常见错误。根据引用[1]和引用的内容,这个错误通常是由于WSL子系统的注册失败导致的。解决这个问题的方法是执行以下步骤: 1. 确保已在Windows更多功能中启用虚拟机功能和Linux子系统。可以通过以下步骤来启用它们: a. 打开控制面板,点击“程序”。 b. 在“程序和功能”下,点击“启用或关闭Windows功能”。 c. 在弹出的窗口中,勾选“虚拟机平台”和“适用于LinuxWindows子系统”,然后点击“确定”。 d. 重启计算机。 2. 如果在启用了虚拟机功能和Linux子系统之后仍然遇到错误0x800701bc,可以尝试更新WSL。在命令提示符或PowerShell中运行以下命令: ``` wsl --update ``` 3. 如果以上步骤都没有解决问题,可能是由于网络加速器或其他网络软件占用了winsock导致的。可以尝试以下网络解决方案: a. 在命令提示符中运行以下命令来重置winsock: ``` netsh winsock reset ``` b. 使用NoLsp.exe工具来释放winsock的占位。首先找到NoLsp.exe工具,并在管理员权限的命令提示符或PowerShell中运行以下命令: ``` .\NoLsp.exe c:\windows\system32\wsl.exe ``` 如果返回"success"表示操作成功。 4. 如果在重启Ubuntu后遇到"Please create a default UNIX user account"的提示,请按照指示输入新的UNIX用户名即可。 希望以上方法可以帮助您解决Error: 0x800701bc的问题。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值