0%

WSL安装

1
wsl --install

启用虚拟化功能

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

禁用虚拟化功能

1
DISM.exe /online /Disable-Feature /FeatureName:VirtualMachinePlatform /norestart

原文:https://blog.csdn.net/qq_44879989/article/details/127831431
DISM介绍:https://learn.microsoft.com/zh-cn/windows-hardware/manufacture/desktop/what-is-dism?view=windows-11

WSL Ubuntu error 0x80004002

1
PS C:\WINDOWS\system32> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

原文:https://github.com/Microsoft/WSL/issues/2851