win11 wsl 安装linux子系统 提示 0x800701bc的问题
2023-11-1|2024-4-28
![夜火/xloong](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fcc67b15a-b537-4c34-90ad-f3155862a85e%2F%25E5%25BE%25AE%25E4%25BF%25A1%25E5%259B%25BE%25E7%2589%2587_20221209214742.jpg?table=collection&id=9a0fbcf3-cd55-46c1-800f-30cbccc1569a)
夜火/xloong
type
Post
status
Published
date
Nov 1, 2023
slug
win11-wsl-linux-0x800701bc
summary
tags
随手记
category
碎片杂文
icon
password
URL
Property
Apr 28, 2024 02:30 AM
误信息提示如下
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…
解决方法:
首先下载Windows Subsystem for Linux Update setup 官方版将WSL1升级到WSL2。
然后再次尝试即可。
如果还没有解决问题,就需要用管理权限打开cmd或者powershell,分别输入下面代码。
用管理权限打开cmd或者powershell,分别输入下面代码:
bcdedit /set hypervisorlaunchtype Auto
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
到这里就应该都没有问题了。