我在尝试在 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] 删除。
我来说两句