Two one-click scripts to switch Windows between Docker / WSL2 and FACEIT / anti-cheat games — because you can't run both at the same time.
If you've ever seen:
"You need to disable Hyper-V to launch FACEIT AC"
...but you also rely on Docker Desktop or WSL2 (which require the hypervisor), this repo is for you. Run one script, reboot, and you're in the mode you need.
Unlike most toggle snippets that only flip hypervisorlaunchtype, these scripts also handle the two settings that commonly cause "I disabled Hyper-V but it still doesn't work" problems:
VirtualMachinePlatformWindows feature (needed by Docker/WSL2)- Virtualization-Based Security (VBS) registry flag (can block anti-cheat even with the hypervisor off)
⚠️ Right-click → Run as administrator. Each switch requires a reboot.
Each script will offer to reboot for you. The change only takes effect after the reboot.
If WSL2 still errors on first boot, run once (elevated):
wsl --update
wsl --install --no-distribution
Anti-cheat clients like FACEIT AC, EAC, and BattlEye refuse to run when the Windows hypervisor is active, because a hypervisor can be used to hide cheats from the kernel. But Docker Desktop and WSL2 are built on that same hypervisor. So on a single Windows install you have to pick one mode at a time — and reboot to switch.
If you'd rather not run a script each time, you can create a separate boot menu entry with Hyper-V disabled and just pick your mode at startup. See Scott Hanselman's writeup. These scripts are the simpler, no-boot-menu approach.
MIT — see LICENSE.
