启用Windows Linux子系统错误


3

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux以管理员身份运行的powershell中运行命令时,过一会儿出现以下错误

Enable-WindowsOptionalFeature : The referenced assembly could not be found.
At line:1 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand

尝试通过运行启用该功能OptionalFeatures.exe
Biswapriyo


您试图在命令提示符中运行PowerShell命令。
Ramhound


这不能与“无法识别Enable-WindowsOptionalFeature”重复,因为此问题的确切错误消息是“找不到引用的程序集”
Paradise228

Answers:


-1

新安装的Windows 10 v.1803存在相同的问题。唯一适用于我的解决方案是升级到v.1809。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.