在 Windows 上安装 Ubuntu 时出现“错误:0x80080005 服务器执行失败”

Pal*_*lav 11 windows windows-subsystem-for-linux

在 Windows 上安装 Ubuntu 应用程序时,我遇到了这个错误:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80080005
Error: 0x80080005 Server execution failed
Run Code Online (Sandbox Code Playgroud)

如何在 Windows 上成功安装 Ubuntu 应用程序?

小智 5

尝试以下步骤:

  1. Windows key+R打开“运行”对话框。类型:optionalfeatures.exe并点击Enter

  2. 滚动到底部并取消选中“适用于 Linux 的 Windows 子系统”。单击“确定”。

  3. 重复上述步骤以重新启用适用于 Linux 的 Windows 子系统。

检查它现在是否有效。


Jsi*_*ist 4

尝试通过以 admin ( ) 打开命令提示符并运行以下命令来重新启动 Linux 子系统的管理器cmd

sc stop LxssManager
sc start LxssManager
Run Code Online (Sandbox Code Playgroud)

然后查询它以确保状态是4, RUNNING

sc query LxssManager
Run Code Online (Sandbox Code Playgroud)

现在尝试再次打开 Ubuntu 应用程序,如果这次出现不同的错误,请尝试卸载并重新安装该应用程序。

  • `sc query LxssManager`没有返回任何内容,Ubuntu仍然无法运行。在我的例子中,LxssManager 似乎被卡住了并且无法被杀死。 (2认同)

小智 -1

我还在这个网页上检查了一些解决方案,因为我不想过度修复操作。我检查过我的计算机上是否有一些 Windows 10 更新,情况是这样的:我的电脑已下载最新版本,但尚未安装。我完成了安装,现在 Ubuntu 可以运行了。