Ошибка 0x800701bc wsl 2

Recently found similar errors while installing Ubuntu and Kali in WSL for Windows 11:

Ubuntu

WslRegisterDistribution failed with error: 0x800701bc

Kali

error: 0x80370114 the operation could not be started because a required feature is not installed.

It turns out the cause was the same for both errors. WSL requires a couple Windows Features to be turned on and in this scenario the feature Virtual Machine Platform was not.


Solution

  1. Open Turn Windows features on or off
  2. Check Virtual Machine Platform box
  3. Check Windows Subsystem for Linux box
  4. Restart

Distros can then be managed via a Command Prompt as per the quick list below:

List the currently installed distributions

wsl --list

List the distros available to be installed

wsl --list --online

The following is a list of valid distributions that can be installed.
Install using 'wsl.exe --install <Distro>'.

NAME                                   FRIENDLY NAME
Ubuntu                                 Ubuntu
Debian                                 Debian GNU/Linux
kali-linux                             Kali Linux Rolling
Ubuntu-18.04                           Ubuntu 18.04 LTS
Ubuntu-20.04                           Ubuntu 20.04 LTS
Ubuntu-22.04                           Ubuntu 22.04 LTS
OracleLinux_8_5                        Oracle Linux 8.5
OracleLinux_7_9                        Oracle Linux 7.9
SUSE-Linux-Enterprise-Server-15-SP4    SUSE Linux Enterprise Server 15 SP4
openSUSE-Leap-15.4                     openSUSE Leap 15.4
openSUSE-Tumbleweed                    openSUSE Tumbleweed

Install a distro

Picked Ubuntu from the listed names in the NAME column on the left:

wsl --install Ubuntu

Set a distro as the default

wsl --set-default Ubuntu

Start WSL with the default distro

wsl

To uninstall a distro

wsl --unregister Ubuntu


Environment
CPU: AMD Ryzen 9 6900HX
OS: Windows 11 Home 22H2 — 64-bit

Всем привет!!!

Иногда или всегда, у кого как, при первом запуске Linux Ubuntu под Windows 10 или 11 выходит ошибка 0x800701bc. И в этой статье я расскажу как ее исправить.

WslRegisterDistribution failed 0x800701bc

Все что вам нужно, это сказать вашей ОС использовать WSL 1 по умолчанию. Это делается просто, открываем Power Shell от имени администратора и вводим команду:

wsl --set-default-version 1

После этого устанавливаем Linux Ubuntu через магазин и радуемся жизни.

Не вкоем случаи не пользуйтесь WSL 2. Это обычная виртуальная машина. Вместо этого лучше воспользоваться гипервизором VirtualBox или на крайний случай Hyper-V.

Как установить Linux Ubuntu под Windows я подробно рассказал тут Как установить и запустить Linux Ubuntu под Windows 10 • Александр Linux (bafista.ru)

Comments

@Silver-Fang

Environment

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.19645.0 Microsoft Windows NT 10.0.19645.0
CentOS8.1
WSL2

Steps to reproduce

Install CentOS 8.1 in Microsoft Store. Then launch it.

Expected behavior

First-launch install succeeds.

Actual behavior

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…

Danielkhun, vcjmhg, rediffusion, faizhameed, showhuo, MaxmaxmaximusAWS, saurav9283, PetoLau, gopalquadprosoft, luojiego, and 36 more reacted with thumbs up emoji

@bytemain

nariba, wjxdavid, bytemain, LCBHSStudent, opticaline, divinerapier, muripoLife, susuky, 0xroko, Tjlastnumber, and 254 more reacted with thumbs up emoji
RafigaBashirova reacted with thumbs down emoji
1337cod3r, preethamam, tinlevn, nejmenn, davidttoledo, lchampz, ddaniialov-dev, vianagustavo, Akihito-dev, AstermW, and 14 more reacted with laugh emoji
Seriosus, Athelian, solanha1999, hslee2008, haddadjo92, 1337cod3r, tinlevn, nejmenn, davidttoledo, lchampz, and 20 more reacted with hooray emoji
bydzen, adampiskorski, trlthiago, asapheng, luscas, NriotHrreion, Tahers, 0rAX0, solanha1999, hakiour, and 46 more reacted with heart emoji
bydzen, adampiskorski, asapheng, luscas, Tahers, hosjiu1702, solanha1999, hslee2008, yugesh-thippana, 1337cod3r, and 30 more reacted with rocket emoji

@craigloewen-msft

Hi @Silver-Fang , did you follow the instructions that @lengthmin put? Were you able to install that kernel version and get it working?

@zhanghuizong

I have the same problem

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...

It also tries to upgrade the kernel, which is still invalid

image

image

image

@zhanghuizong

I have the same problem

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...

It also tries to upgrade the kernel, which is still invalid

image

image

image

Supplementary notes:

Secondary problem due to win10 update, uninstall wsl_update_x64.msi, it’s normal when reinstalling.

TrojanXu, zacario-li, Tjlastnumber, rsk25, priyankpatel-multidots, david-littlefield, luojiego, derekchsantos, pedrojosuesalomao, shulgamalthael, and 3 more reacted with thumbs up emoji

@divinerapier

Updating the Linux kernel is helpful to me. 👍

adamward459, goyal-aman, steeves66, yugesh-thippana, karthikPattabhiram, lucaslopesx, ClownW, EfthymiosNtokas, wilgoszmateusz, trimat1, and 5 more reacted with thumbs up emoji

@msftbot

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. Thank you for your contributions to WSL!

@duocang

laukstein, seanlees, clemenskunert, ozzCb, BOBYZH, isecret, lovefishs, davidgamaserrate, dsyun96, zbf1999, and 105 more reacted with thumbs up emoji
srpatil24, alex6226, alexanderbaumann-toast, seedscoder, Kovax007, johngao01, theAbazov, ArthurBufon, uriielfl, russo97, and kmd008 reacted with laugh emoji
ahmetkca, SChowdh1045, vitor-nakazawa, joaolcaas, rildomar, Danrong430, elshobokshy, thalysonalexr, MohamedAbdelrehem, anldrms, and 14 more reacted with hooray emoji
mattia1337, heitordeve, ahmetkca, SChowdh1045, vitor-nakazawa, joaolcaas, rildomar, Danrong430, elshobokshy, mwaseem-github, and 28 more reacted with heart emoji
clemenskunert, isecret, davidgamaserrate, debugcode-cn, mouyong, wjsay, MacwinWin, chunyexixiaoyu, euandrelucas, mattia1337, and 22 more reacted with rocket emoji

@WindSnowLi

5Diraptor, Tenzix, EfthymiosNtokas, rsharifnasab, Enriquevizarra, bhaskoro-muthohar, skyfffire, dennisjacob, iwildlife, and elboudab reacted with thumbs up emoji
1694036468, luigif-gp, and Tenzix reacted with laugh emoji
Seriosus, Bahjenni, and MikhailLipanin reacted with hooray emoji

@heitordeve

@iEclisse

If someone have trouble in Windows 11
you should:

wsl --update
wsl --shutdown

run WSL dist

LucasRafaelBalduino, rolan18, FearLycan, pedrorogger, rildomar, EwenLan, cybermritunjay, SeregaEngineer, joao-salomao, daalvand, and 44 more reacted with thumbs up emoji
joao-salomao, Dasihub, Ashu-spec, hargoyal, ritikgoyal133, mahanfakhimi, RubioHaro, xxxily, ntepp, and HawkTom reacted with hooray emoji
LucasRafaelBalduino, FearLycan, rildomar, SeregaEngineer, DylanLangevin, joao-salomao, cybertramp, Dasihub, IsraelAbreu, Ashu-spec, and 14 more reacted with heart emoji
hargoyal, xxxily, enhay, and BilalAhmed-358 reacted with rocket emoji

@rediffusion

I do all steps as shown here and it’s helpful❗

@spiritwindy

when i try to Empty file «~/AppData/Roaming/Microsoft/Windows/PowerShell/PSReadLine/ConsoleHost_history.txt»
The error is 0x800701bc gone

@paul2048

Enabling Virtual Machine Platform fixed the error for me.
image

@LonelyGuy12

You can just try using wsl --update with admin privileges in Command Prompt. And then wsl --shutdown. This solved the issue for me. You will also need to reinstall the distribution which you can do by using wsl --install -d <Distribution Name>

@parthdedaniya

@a1g0r1thm

No one advice worked for me ((( But I finded my own way. Go to BIOS and turnOn Virtualization Technology. Then you need to activate Hyper-V and Virtual Machines in Windows components(features) and run in Power Shell next command: wsl —set-default-version 1. How I understand it, last needs because my processor not have SomeLowLevelCommands ((( After last command install will be done! And after good install you can change back for WSL2: wsl —set-default-vers 2. And it works perfect for me. But I am not understand fully how ))) Oh, my god, half of my sunday ((( We live in notSimpleTime ))))) GoodLuck, guys!

@Gabriel-Negreiro-ey

@anjaysahoo

@Hercute

@lingyanmeng

wsl --status tells me the cause: I need to enable the «Virtual Machine Platform» and restart the system.

@JaggarYussef

No one advice worked for me ((( But I finded my own way. Go to BIOS and turnOn Virtualization Technology. Then you need to activate Hyper-V and Virtual Machines in Windows components(features) and run in Power Shell next command: wsl —set-default-version 1. How I understand it, last needs because my processor not have SomeLowLevelCommands ((( After last command install will be done! And after good install you can change back for WSL2: wsl —set-default-vers 2. And it works perfect for me. But I am not understand fully how ))) Oh, my god, half of my sunday ((( We live in notSimpleTime ))))) GoodLuck, guys!

Of all instructions, this has solved my problem! I had this issue on a Dell laptop (just putting it out there)
Thanks

@bhaktar

Try wsl -l -v
wsl -t Ubuntu
Get-Service LxssManager | Restart-Service

Restarting the LxssManager service fixed the problem for me

@aneshwar

@aneshwar

Installing, this may take a few minutes…
WslRegisterDistribution failed with error: 0x800701bc
Error: 0x800701bc WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel

@dorp007

@Kyogre

got errors 0x80370102 and 0x800701bc too in my VMware Windows 10 virtual machine.
The solution was: shutdown VM -> in VMware go to Virtual Machine settings -> Processors -> enable Virtualize Intel VT-x/EPT or AMD-V/RVI -> start VM -> run wsl --install -d <distro> again.

So you don’t even need to enable Hyper-V in «Windows Features» window.

@PraveenJayaratnam

wsl —update
wsl —shutdown
Run these 2 line of codes one by one at Windows terminal to fix the issue

@mayuehit

wsl —update
wsl —shutdown
Run these 2 line of codes one by one at Windows terminal to fix the issue

This works for me

@AhanafRASHID

go to https://aka.ms/wsl2kernel. then download and install the Linux kernel update package: image

Thanks Brother. It actually worked!

@mayuehit

@StrongBearCeo

enabling Virtualization in Bios worked for me

@HanzalaOP

@Themorningcormorant

If someone have trouble in Windows 11 you should:

wsl --update
wsl --shutdown

run WSL dist

thanks, this worked for me on windows 10

@9gold241

To solve this problem, type this command:
wsl — set default version 1

@mayuehit

Recently found similar errors while installing Ubuntu and Kali in WSL for Windows 11:

Ubuntu

WslRegisterDistribution failed with error: 0x800701bc

Kali

error: 0x80370114 the operation could not be started because a required feature is not installed.

It turns out the cause was the same for both errors. WSL requires a couple Windows Features to be turned on and in this scenario the feature Virtual Machine Platform was not.


Solution

  1. Open Turn Windows features on or off
  2. Check Virtual Machine Platform box
  3. Check Windows Subsystem for Linux box
  4. Restart

Distros can then be managed via a Command Prompt as per the quick list below:

List the currently installed distributions

wsl --list

List the distros available to be installed

wsl --list --online

The following is a list of valid distributions that can be installed.
Install using 'wsl.exe --install <Distro>'.

NAME                                   FRIENDLY NAME
Ubuntu                                 Ubuntu
Debian                                 Debian GNU/Linux
kali-linux                             Kali Linux Rolling
Ubuntu-18.04                           Ubuntu 18.04 LTS
Ubuntu-20.04                           Ubuntu 20.04 LTS
Ubuntu-22.04                           Ubuntu 22.04 LTS
OracleLinux_8_5                        Oracle Linux 8.5
OracleLinux_7_9                        Oracle Linux 7.9
SUSE-Linux-Enterprise-Server-15-SP4    SUSE Linux Enterprise Server 15 SP4
openSUSE-Leap-15.4                     openSUSE Leap 15.4
openSUSE-Tumbleweed                    openSUSE Tumbleweed

Install a distro

Picked Ubuntu from the listed names in the NAME column on the left:

wsl --install Ubuntu

Set a distro as the default

wsl --set-default Ubuntu

Start WSL with the default distro

wsl

To uninstall a distro

wsl --unregister Ubuntu


Environment
CPU: AMD Ryzen 9 6900HX
OS: Windows 11 Home 22H2 — 64-bit

If you have installed the latest build of Windows 10 and want to run various Microsoft Linux apps then the WSL- Windows subsystem for Linux would be the best idea. However, to overcome the WSL 1 limitations such as usage of graphics cards and running Linux GUI applications, the company introduces WSL 2.

Well, once you enable the WSL and want to access it then you may get an error:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800701bc
Error: 0x800701bc WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel

Press any key to continue...

The error occurred because the latest Windows 10 build, out of the box comes with WSL 2, a successor of WSL1 and that needs some kernel update. As we know with WSL 2, Microsoft has implemented the full-fledged Linux kernel, therefore the old one needs to be updated. For that go to page:  https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

Update WSL Linux kernel

Run the downloaded setup, it will open a GUI installer, follow the Microsoft Windows Subsystem for Linux update wizard.

Microsoft Windows Subsystem for Linux update wizard

Now, close the WSL Linux app for instance Ubuntu, and reopen it again. This time you will not get the error: 0x800701bc.

Extra Tip: In case, even after that you won’t be able to use the WSL 2 because of this error:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

Press any key to continue...

It means the key components required by the Windows Subsystem for Linux version 2 i.e Virtual Machine Platform is not enabled. Therefore, just run the Windows PowerShell under Administrator rights, one the shortcut ways for that is simply right click on the Windows 10 Start button and select “Windows PowerShell (Admin)“. There copy-paste the following command:

Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

After that restart the PC or laptop you are using.

Понравилась статья? Поделить с друзьями:
  • Ошибка 0x80070057 при установке windows 7 на ssd
  • Ошибка 0x800701b1 при установке windows 10 как исправить
  • Ошибка 0x800701b1 при копировании файла
  • Ошибка 0x800701b1 при копировании на флешку
  • Ошибка 0x80070057 при установке net framework