win11 wsl 安装linux子系统 提示 0x800701bc的问题

2023-11-1|2024-4-28
夜火/xloong
夜火/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
到这里就应该都没有问题了。
python openpyxl生成excel表格 如何让单元格自适应高度win11 微软商店 Microsoft Store 无法联网的问题