wsl --set-default-version 2
wsl --set-version Ubuntu-18.04 1
// Run the above command from windows powershell
// This assumes you are running Ubuntu 18.04
wsl --set-default-version 1
wsl --set-version <Distro> 2
wsl --set-version <Distro> <Version>