Wsl (win11 install Ubuntu) installation problem

Project scenario:

Win 11 installs Ubuntu 20.04.4 and reports an error

Problem Description

Installing, this may take a few minutes… WslRegisterDistribution failed with error: 0x8007019e The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again. See https://aka.ms/wslinstall for details. Press any key to continue…
如下图:
insert image description here

Cause Analysis:

Unchecked Windows Subsystem for Linux.


solution:

Control Panel –> Programs and Features –> Enable or disable Windows features –> Check the Windows Subsystem for Linux and restart. As follows:
insert image description here

Guess you like

Origin blog.csdn.net/qq_37196265/article/details/123808007