跳至主要內容

暫時停用Hyper-V

因WSL2會使用到Hyper-V但某些程式不相容於Hyper-V需要暫時關閉

方法可以參考二樓Dim’s answer,避免WSL損壞
命令提示字元cmd.exe(系統管理員執行)

Disable 停用

bcdedit /set hypervisorlaunchtype off

Enable 啟用

bcdedit /set hypervisorlaunchtype auto

重新開機後生效
Need to reboot windows

P.S.

用dism方法可能造成WSL損壞 WslRegisterDistribution failed with error
需要重新安裝 WSL2 Kernel

分類:Windows

搶先發佈留言

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料

由 Compete Themes 設計的 Author 佈景主題