Win10 在Microsoft Store安装Kali linux时,报错0x8007019e的解决方法

微软商店安装Kali linux 时报错如下:

在这里插入图片描述

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

解决步骤
  打开控制面板——>程序和功能——>启动或关闭Windows功能
在这里插入图片描述
在这里插入图片描述

   勾选适用于Linux的Windows 子系统 一项
   最后,确认并立刻重启
在这里插入图片描述

问题得到解决!

在这里插入图片描述

  或者也可以在powershell下执行如下命令来开启WSL功能哦:

在这里插入图片描述

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

  效果是一样的。

猜你喜欢

转载自blog.csdn.net/qq_43515862/article/details/108902981
今日推荐