83 字
1 分钟
Temporarily Disabling Hyper-V
Metasploit and hackrf can be installed in WSL2 on Win10, which for me is simply irresistible (Windows is the best Linux distribution!), but WSL2 requires Hyper-V. However, the Android emulator I use for gaming isn’t compatible with Hyper-V. After countless attempts (even the BlueStacks beta version didn’t work), I chose to use code to temporarily disable and enable hyperv. I disable Hyper-V when I need to game, and enable it when I need WSL (such a hassle).
Enable
bcdedit /set hypervisorlaunchtype autoDisable
bcdedit /set hypervisorlaunchtype off Temporarily Disabling Hyper-V
https://tski.uk/blog/en/temporarily-closed-hyperv/