在Windows應用商店安裝Ubuntu系統,報錯WslRegisterDistribution failed with error: 0x8007019e
1. 報錯內容
Installing, this may take a few minutes...
Installation Failed!
Error: 0x8007019e
Press any key to continue...
這是因爲電腦中沒有安裝 Windows 子系統支持
2. 解決辦法
我們用管理員打開 PowerShell,輸入
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
然後重新啓動電腦就可以了。
然後。。。
原來是文件損壞了(我也不知道爲啥,重裝就完事兒了)
然後就OK了: