如何为 Windows 安装 Linux 子系统

多米尼克

我在尝试在 Windows 10 机器上安装 Linux 子系统时遇到问题。

我正在按照在此 URL上找到的程序进行操作我尝试启动以下命令(在 Powershell 中,以管理员身份),但收到一条错误消息:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.1127


Error: 0x800f080c

Feature name VirtualMachinePlatform is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and try the command again.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

我尝试使用该Get-Feature选项,但我不知道如何使其工作:

dism.exe /online /GET-feature /featurename:VirtualMachinePlatform
...
Error: 87

The get-feature option is unknown.

我的 DISM 日志文件如下所示(只有第一个错误行):

2020-12-17 15:44:08, Error                 DISM   DISM Package Manager: PID=9820 TID=9400 Failed to get the Update through CBS. - CDISMPackage::Internal_OpenFeature(hr:0x800f080c)
2020-12-17 15:44:08, Error                 DISM   DISM Package Manager: PID=9820 TID=9400 Failed to get the underlying CBS Feature - CDISMPackage::OpenFeature(hr:0x800f080c)
2020-12-17 15:44:08, Error                 DISM   DISM Package Manager: PID=9820 Feature name VirtualMachinePlatform is unknown. - CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine(hr:0x800f080c)
2020-12-17 15:44:08, Error                 DISM   DISM Package Manager: PID=9820 TID=9400 Unknown features were specified on the command-line. - CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine(hr:0x800f080c)
2020-12-17 15:44:08, Error                 DISM   DISM Package Manager: PID=9820 TID=9400 Failed to get the Feature List from the command line. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x800f080c)
2020-12-17 15:44:08, Error                 DISM   DISM Package Manager: PID=9820 TID=9400 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f080c)

有人知道现在如何进行吗?
提前致谢

多米尼克

这个问题是由最简单的计算机问题引起的:永远不要认为,因为您开始使用计算机,您正在处理最新版本,正如您在以下命令响应中看到的那样:

如引用的 URL 中所述:

要求

对于 x64 系统:版本 1903 或更高版本,Build 18362 或更高版本。

命令行winver结果:

Version 1709 (build ... 16229)

因此,正如fpmurphy所提到的,我正在处理无法处理此功能的 Windows 版本。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

如何重置Linux的Windows子系统的手动安装?

来自分类Dev

在Linux的Windows子系统上安装Apache

来自分类Dev

如何为Windows子系统的Linux转换Windows路径

来自分类Dev

在系统重置或重新安装之前,如何备份(WSL)Windows 10的Linux子系统?

来自分类Dev

如何在Linux子系统中远程控制Windows上安装的Vagrant?

来自分类Dev

如何访问Windows Linux子系统上已安装的网络驱动器?

来自分类Dev

如何在适用于 Linux 的 Windows 子系统上安装 git?

来自分类Dev

在Linux的Windows子系统上安装ruby时出错

来自分类Dev

如何从Windows访问Windows Linux子系统文件系统?

来自分类Dev

如何在Windows子系统的Linux子系统上为Windows和Linux使用相同的Python

来自分类Dev

如何在Windows子系统的Linux子系统上为Windows和Linux使用相同的Python

来自分类Dev

如何从Windows Linux子系统中打开VSCode?

来自分类Dev

如何从Windows访问Linux子系统的本地主机

来自分类Dev

如何使用Windows Linux子系统访问UNC路径?

来自分类Dev

已安装 Ubuntu,但用于 linux 的 Windows 子系统尚未安装发行版

来自分类Dev

JetBrains WebStorm未检测到Linux的Windows子系统的已安装Linux发行版

来自分类Dev

在Win10上安装WSL(Linux的Windows子系统)上的错误0x80070091

来自分类Dev

无法为Linux安装Windows子系统,错误0x800f0831

来自分类Dev

在不使用商店的情况下在Win10上安装“ Ubuntu”(Linux的Windows子系统)?

来自分类Dev

无法在 Windows 的 Linux 子系统中安装 Google-Earth-Engine-Api

来自分类Dev

在适用于 Linux 的 Windows 子系统中安装非存储库程序

来自分类Dev

Windows子系统Linux VSCode路径

来自分类Dev

SSH Linux子系统Windows 10

来自分类Dev

适用于 Windows 的 Linux 子系统

来自分类Dev

每月数十次本地重新安装Linux子系统(WSL)的Windows子系统会损坏SSD吗?

来自分类Dev

如何在Windows子系统Linux(WSL)下通过bash从R执行Linux命令?

来自分类Dev

如何在Windows子系统中为Linux重置Kali Linux密码

来自分类Dev

如何在Windows Insider Build 14316上删除/重置Linux的Windows子系统

来自分类Dev

如何从Linux的Windows子系统内部访问Windows桌面目录?

Related 相关文章

  1. 1

    如何重置Linux的Windows子系统的手动安装?

  2. 2

    在Linux的Windows子系统上安装Apache

  3. 3

    如何为Windows子系统的Linux转换Windows路径

  4. 4

    在系统重置或重新安装之前,如何备份(WSL)Windows 10的Linux子系统?

  5. 5

    如何在Linux子系统中远程控制Windows上安装的Vagrant?

  6. 6

    如何访问Windows Linux子系统上已安装的网络驱动器?

  7. 7

    如何在适用于 Linux 的 Windows 子系统上安装 git?

  8. 8

    在Linux的Windows子系统上安装ruby时出错

  9. 9

    如何从Windows访问Windows Linux子系统文件系统?

  10. 10

    如何在Windows子系统的Linux子系统上为Windows和Linux使用相同的Python

  11. 11

    如何在Windows子系统的Linux子系统上为Windows和Linux使用相同的Python

  12. 12

    如何从Windows Linux子系统中打开VSCode?

  13. 13

    如何从Windows访问Linux子系统的本地主机

  14. 14

    如何使用Windows Linux子系统访问UNC路径?

  15. 15

    已安装 Ubuntu,但用于 linux 的 Windows 子系统尚未安装发行版

  16. 16

    JetBrains WebStorm未检测到Linux的Windows子系统的已安装Linux发行版

  17. 17

    在Win10上安装WSL(Linux的Windows子系统)上的错误0x80070091

  18. 18

    无法为Linux安装Windows子系统,错误0x800f0831

  19. 19

    在不使用商店的情况下在Win10上安装“ Ubuntu”(Linux的Windows子系统)?

  20. 20

    无法在 Windows 的 Linux 子系统中安装 Google-Earth-Engine-Api

  21. 21

    在适用于 Linux 的 Windows 子系统中安装非存储库程序

  22. 22

    Windows子系统Linux VSCode路径

  23. 23

    SSH Linux子系统Windows 10

  24. 24

    适用于 Windows 的 Linux 子系统

  25. 25

    每月数十次本地重新安装Linux子系统(WSL)的Windows子系统会损坏SSD吗?

  26. 26

    如何在Windows子系统Linux(WSL)下通过bash从R执行Linux命令?

  27. 27

    如何在Windows子系统中为Linux重置Kali Linux密码

  28. 28

    如何在Windows Insider Build 14316上删除/重置Linux的Windows子系统

  29. 29

    如何从Linux的Windows子系统内部访问Windows桌面目录?

热门标签

归档