如何启用 WSL2,DISM 在我更新的 Win10 上找不到它

如何启用 WSL2,DISM 在我更新的 Win10 上找不到它

我跟着:https://docs.microsoft.com/en-us/windows/wsl/install-manual

这是第一个命令的输出

Deployment Image Servicing and Management tool
Version: 10.0.19041.572

Image Version: 10.0.19042.631


Error: 0x800f080c

Feature name Microsoft-Windows-Subsystem-Linux 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.

日志在这里:https://gist.github.com/geocine/e4606b1e6fdbe8b42402207e2d88a258

显然我的 Windows 已更新,不应该抛出此错误,因此我运行sfc

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

我试图跑RestoreHealthDISM但总是停在19.2

Deployment Image Servicing and Management tool
Version: 10.0.19041.572

Image Version: 10.0.19042.631

[===========                19.2%                          ]
Error: 3

The system cannot find the path specified.

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

日志在这里:https://gist.github.com/geocine/12abf02e9e8d9f300a58bbcdc9374eac

但组件存储没有损坏

dism /online /cleanup-image /checkhealth

它显示了这一点

Deployment Image Servicing and Management tool
Version: 10.0.19041.572

Image Version: 10.0.19042.631

No component store corruption detected.
The operation completed successfully.

相关内容