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

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

当我尝试安装 wsl 而不启用它时,它给出了此错误

PS C:\WINDOWS\system32> wsl --install
wsl : The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ wsl --install
+ ~~~
    + CategoryInfo          : ObjectNotFound: (wsl:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

在尝试了微软的指导手动安装,仍然失败

PS C:\WINDOWS\system32> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19043.1081

Enabling feature(s)
[==========================100.0%==========================]

Error: 0x800f0831

DISM failed. No operation was performed.
For more information, review the log file.

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

当我尝试通过命令提示符启用 wsl 时,它给出了相同的错误。它“尝试”搜索/启用/安装 wsl,但最终给出了相同的错误代码(标题相同)。

  • 我的计算机可以实现这种虚拟化吗?
  • 我需要更新一些什么吗?
  • 我是否弄乱了系统文件中的任何东西?

相关内容