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…
如下图:
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: