[英]WSL 2 Installing Linux failed, error code: 0x80370114
I've installed PowerShell and WSL using the Microsoft Doc .我已经使用Microsoft Doc安装了 PowerShell 和 WSL 。
However, when attempting to wsl --install kali-Linux
from PowerShell, I'm getting an error 0x80370114
.但是,当尝试
wsl --install kali-Linux
from PowerShell 时,我收到错误0x80370114
。
Well, some good news and bad news.好吧,一些好消息和坏消息。
First, the good - from a couple of searches that resulted in this , this , and this , I believe the error that you are receiving is due to an incorrect setting in Windows Exploit Protection .首先,好的 - 从导致这个、 这个和这个的几个搜索中,我相信您收到的错误是由于 Windows漏洞利用保护中的设置不正确造成的。
Check in Windows Security -> App & Browser Control -> Exploit Protection Settings :检查Windows 安全->应用和浏览器控制->漏洞利用保护设置:
In System Settings , Control Flow Guard (CFG) should be "On" (in my case, it is "Use default (On)".在System Settings中, Control Flow Guard (CFG)应该是“On”(在我的例子中,它是“Use default (On)”。
In Program Settings , there should be entries for:在Program Settings中,应该有以下条目:
C:\Windows\System32\vmcompute.exe
C:\Windows\System32\vmwp.exe
Both should have Control Flow Guard set to:两者都应将Control Flow Guard设置为:
There are some reports that turning these off corrects the problem, but that's probably more of a "patch" than a true resolution.有一些报道称关闭这些功能可以解决问题,但这可能更像是一个“补丁”而不是真正的解决方案。
Hopefully that will resolve the 0x80370114
error.希望这将解决
0x80370114
错误。
Now the bad news...现在坏消息...
When I last checked a few days ago, the version of Kali that is installed via wsl --install
is still so old that it won't even update.几天前我上次检查时,通过
wsl --install
安装的 Kali 版本仍然太旧,甚至不会更新。 See this answer for details and potential solutions.有关详细信息和潜在解决方案,请参阅此答案。
It's best if you can install from the Store.最好能从商店安装。
Windows subsystem feature was disabled, I fixed it using these cmds below. Windows 子系统功能被禁用,我使用下面的这些 cmds 修复了它。
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.