WSL 2 安装 Linux 失败,错误代码:0x80370114

Saq*_*ain 31 windows windows-subsystem-for-linux

我已使用Microsoft Docs安装了 PowerShell 和 WSL 。

但是,当尝试wsl --install kali-Linux从 PowerShell 执行此操作时,我收到错误0x80370114

Saq*_*ain 48

Windows 子系统功能被禁用,我使用下面的这些命令修复了它。

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart 

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Run Code Online (Sandbox Code Playgroud)

或者

按开始并搜索Windows Features,然后勾选以下内容: 在此输入图像描述

  • 这样做对我来说没有用。我还启用了“Windows Hypervisor Platform”,它解决了问题。 (5认同)
  • 为我安装了全新的 Windows 22H2。 (4认同)
  • 确认我必须启用 HyperV 功能才能安装 WSL2。 (2认同)