Answers for "switch wsl version to 2"

0

change wsl to version 1

wsl --set-version Ubuntu-18.04 1

// Run the above command from windows powershell 
// This assumes you are running Ubuntu 18.04
Posted by: Guest on January-29-2021
0

switch wsl 2 to 1

# run following commands in admin-mode PowerShell
dism.exe /online /disable-feature /featurename:VirtualMachinePlatform /norestart
wsl --set-default-version 1
Posted by: Guest on March-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language