Upgrade to Windows Subsystem for Linux 2.0 on Windows 10

If you are a regular person interested in and interested in the new features that Microsoft has integrated into the Windows 10 operating system, you must have heard or even tried Windows Subsystem for Linux (WSL). is it?

You can do a lot with the Linux operating system right in Windows 10 like a real Linux machine without having to create a virtual computer running Linux like before.

A few days ago, Microsoft released the latest update for Windows Subsystem for Linux, WSL is now officially upgraded to WSL 2.0, which is a major change in the WSL system’s architecture.

So what is that upgrade? What’s good about this new update and how do I upgrade to WSL 2.0? Invite you to find the answer through the article below!

cap-nhat-len-windows-subsystem-for-linux-2-0-on-windows-10 (1)

#first. A little bit about Windows Subsystem for Linux (WSL)

Say a little bit for those of you who do not know anything about WSL – Windows Subsystem for Linux on Windows 10 operating system.

Simply put, WSL is what will allow you to run Linux Terminal commands on Windows 10 without having to install or create a Linux virtual machine.

Details on how to install and use WSL, there is a tutorial on blogchiasekienthuc. [dot] com, you can review here home.

Currently, Windows Subsystem for Linux has just been upgraded to version 2, which is a version created to completely replace the old WSL version, with a lot of changes in architecture as well as the use of the real Linux kernel. the.


In addition, the improvements in application performance and compatibility are also significantly improved.

See more:  How to save the most effective Laptop Battery on Windows 7/8 / 10

cap-nhat-len-windows-subsystem-for-linux-2-0-on-windows-10 (2)

On how to install WSL 2.0 on Windows 10, I will have a complete article later. To avoid confusion, this article only guides you how to upgrade from WSL pre-installed on Windows 10 to WSL 2.0 version, but this is not a new installation guide.

I need to correct you like that. OK!

So, the requirement to be able to follow this tutorial is that your Windows 10 must have WSL available, if not, please also review the instructions above.

#2. How to upgrade to WSL 2.0 on Windows 10

To upgrade to WSL 2.0 is quite simple, it’s just a bit more steps :)) you just need to follow exactly what I share below is OK.

+ Step 1: In this article we will be using the main PowerShell tool, so let’s open it up first Windows Search (Windows + S) => then enter the keyword powershell => and select the line Run as Administrator in the right box to run PowerShell as Administrator!

cap-nhat-len-windows-subsystem-for-linux-2-0-on-windows-10 (3)

+ Step 2: Now copy the command below => and paste it into the window Windows PowerShell Admin that you just opened above out => and press the key Enter to enable optional features WSL on Windows 10 – this is a must.

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

Wait a moment for the activation process to take place, then if you see PowerShell return the information as shown below with the message The operation completed successfully then that means you have done it successfully.

If you encounter any other errors, please leave a comment below the comment section to find out how to solve it, of course this case rarely happens.

cap-nhat-len-windows-subsystem-for-linux-2-0-on-windows-10 (4)

+ Step 3: To continue, run the command below in the PowerShell window to enable additional features Virtual Machine Platform.

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

These are required features to be enabled on Windows 10 if you want to update and use WSL 2.0.

Similar to the above, if the process of activating this feature is OK, there is no error, you will see the text The operation completed successfully.

Besides, you also need to make sure that virtualization is turned on BIOS Okay, if you do not know how to turn it on or you want to check if the machine is enabled virtualization yet, you see this article.

See more:  How to create Windows 11 installation USB for computers that do not meet hardware?

That’s it, now all you need to do is restart Windows 10 for the changes to take effect like editing the Registry.

cap-nhat-len-windows-subsystem-for-linux-2-0-on-windows-10 (5)

+ Step 4: After restarting the computer, open the tool again Powershell With Admin rights as instructed at the beginning of the article => then run this command:

wsl --set-default-version 2

The goal is to choose WSL 2.0 as the default platform for Linux distributions on Windows 10. However, the next time you will receive the message as shown below instead of the message of successful execution:

WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel

For information on key differences with WSL 2 please visit https://aka.ms/wsl2

cap-nhat-len-windows-subsystem-for-linux-2-0-on-windows-10 (7)

You are getting this message because our Windows 10 currently hasn’t updated the new WSL 2.0 Kernel. To fix it, please visit Microsoft’s own WSL 2.0 update instructions here Please !

cap-nhat-len-windows-subsystem-for-linux-2-0-on-windows-10 (6)

# 3. Epilogue

So I have to guide you how to upgrade Windows Subsystem for Linux to version 2.0 on Windows 10 already.

If you are a frequent user of WSL related commands, upgrade now to experience it ha ? Hopefully this article will be helpful to you, wish you success!

CTV: Nguyen Thanh Tung – techtipsnreview

Note: Was this article helpful to you? Don’t forget to rate, like and share with your friends and relatives!

Source: Upgrade to Windows Subsystem for Linux 2.0 on Windows 10
– TechtipsnReview

Leave a Reply

Your email address will not be published. Required fields are marked *