Windows 10 : wsl2 install & uninstall


I will explain how to install windows subsystem for linux that can build an environment where Linux runs on Windows.

Is it an environment where wsl2 can be installed?

Enter cmd in the search bar at the bottom left

Click command prompt

Enter ver

x64 : Version 1903 higher, Build 18362 higher ARM64 : Version 2004 higher, Build 19041 higher

If you have windows10 updated above, you can install wsl2

Run powershell with Run as administrator

Type powershell in the search bar at the bottom left

Right click on powershell

Click Run as administrator

Enable Windows subsystem optional function for Linux (required)


dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

to enter

Enable virtual machine platform (required)


dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

to enter


wsl --set-default-version 2

to enter

Exit powershell

Install Ubuntu

Enter store in the search bar at the bottom right

Click on Microsoft Store

Enter wsl in the search bar at the top right

Click ubuntu

Currently the only wsl2 linux distribution available for free is ubuntu

Click Get

Click not required

You will be prompted to log in and register for an account, but you do not need to register for an account. It is safer not to link your account as personal information will be collected.

Click Install

Boot ubuntu

Click Launch

You will be asked to set the user name and password used in Ubunto for the first startup, so set them.

Enter any user name

Enter any password

Passwords and user names for wsl2 and windows10 are managed separately, so when using wsl2, use these code set this time.

Uninstaill wsl2

Click on the windows icon

Click Settings

Click on the app

Click ubuntu

Click Uninstall

Click Uninstall again

thank you

Thank you for watching until the end. I'm glad if you can use it as a reference.

Thank you for Helping

Give money to us for Amazon gift

We will continue to update useful information. I am delighted to jump to your help. Thank you very much.