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

Terminal window
bcdedit /set hypervisorlaunchtype auto

Disable

Terminal window
bcdedit /set hypervisorlaunchtype off
Temporarily Disabling Hyper-V
https://tski.uk/blog/en/temporarily-closed-hyperv/
作者
Tokisaki Galaxy
发布于
2020-11-21
许可协议
CC BY