![](/img/trans.png)
[英]Installing mitmproxy on Windows Subsystem for Linux (WSL)
[英]WSL 2 Installing Linux failed, error code: 0x80370114
我已經使用Microsoft Doc安裝了 PowerShell 和 WSL 。
但是,當嘗試wsl --install kali-Linux
from PowerShell 時,我收到錯誤0x80370114
。
好吧,一些好消息和壞消息。
首先,好的 - 從導致這個、 這個和這個的幾個搜索中,我相信您收到的錯誤是由於 Windows漏洞利用保護中的設置不正確造成的。
檢查Windows 安全->應用和瀏覽器控制->漏洞利用保護設置:
在System Settings中, Control Flow Guard (CFG)應該是“On”(在我的例子中,它是“Use default (On)”。
在Program Settings中,應該有以下條目:
C:\Windows\System32\vmcompute.exe
C:\Windows\System32\vmwp.exe
兩者都應將Control Flow Guard設置為:
有一些報道稱關閉這些功能可以解決問題,但這可能更像是一個“補丁”而不是真正的解決方案。
希望這將解決0x80370114
錯誤。
現在壞消息...
幾天前我上次檢查時,通過wsl --install
安裝的 Kali 版本仍然太舊,甚至不會更新。 有關詳細信息和潛在解決方案,請參閱此答案。
最好能從商店安裝。
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.