Last active
April 14, 2022 03:57
-
-
Save haeramkeem/801cc8f8cdc1e17063686e1e28f85011 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/powershell | |
# Enable / Disable hypervisor to use WSL2 with VirtualBox | |
# ref: https://github.com/MicrosoftDocs/WSL/issues/798#issuecomment-1063862157 | |
# Enable hypervisor | |
bcdedit /set hypervisorlaunchtype auto | |
# Disable hypervisor | |
bcdedit /set hypervisorlaunchtype off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment