π Liked:
https://github.com/MicrosoftDocs/WSL/issues/536
I am doing exactly like this,
When I need VM, I run
PowerShell Disable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -All bcdedit /set hypervisorlaunchtype off
Reboot
Work in VM
PowerShell Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -All bcdedit /set hypervisorlaunchtype auto start
Reboot back
I was asked about it too many times, so I even created a hint to paste URLπ https://hinty.io/devforth/wsl-2-starter-guide-must-read/
Yes WSL 2 is cool, but seams like for now it is easier to buy another PC if you need a VirtualMachines for development
Related Posts
Other posts you may be interested in:
IndieWeb Interactions
Below you can find the interactions that this page has had using Indieweb. Which means, you can mentioned this URL on any website that support WebMention. Have you written a response to this post? Let me know the URL:
((Do you use a website that do not set up with WebMention capabilities? You can use Comment Parade.)