Convert WSL1 to WSL2
To convert WSL1 to WSL2, we first need to ensure Virtual Machine Platform
is enabled in Windows Programs and Features settings.
Process
Note: First ensure, kernel component is installed, then run -
To see current Linux Distros -
Set WSL2 Version as default -
Then to actually convert WSL1 Linux Distro to WSL2, run -
WSL1 Distro should now be converted to WSL2, you can verify the same by runnig -
Source: Microsoft Docs
Last updated