Solved Windows Linux System for windows 11 when Upgraded from windows 10


protocoder

New member
Local time
12:19 AM
Posts
3
OS
windows10
Hi Experts,
I am on win10 and declining the win11 upgrade for some reason esp Windows Linux System ..
Can I retain the WLS2, I installed when I upgrade to win11.
Thank you
 

My Computer

System One

  • OS
    windows10
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Thinkpad E490
    CPU
    Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 2.00 GHz

iko22

Well-known member
Member
VIP
Local time
3:49 PM
Posts
642
Location
South West England
OS
Windows 10
Yes WSL 2 requires Windows 10 (x64) Version 1903+, Windows 10 (ARM64) Version 2004, or Windows 11.
Check the documentation from Microsoft here:
and the system requirements are stated here:
 

My Computer

System One

  • OS
    Windows 10
    CPU
    TBA
    Motherboard
    TBA

protocoder

New member
Thread Starter
Local time
12:19 AM
Posts
3
OS
windows10
@iko22 Thank you but I already have wsl2 on my system should I have to reinstall when I upgrade to win11 ?
 

My Computer

System One

  • OS
    windows10
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Thinkpad E490
    CPU
    Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 2.00 GHz

iko22

Well-known member
Member
VIP
Local time
3:49 PM
Posts
642
Location
South West England
OS
Windows 10
Good question. The answer is no you shouldn't have to, but it pays to be prepared in case you do. You should be able to migrate your WSL installation from Windows 10 to a Windows 11 upgrade, without deleting any files.

If you choose a Full Upgrade, then your personal files, drivers, apps, and Windows settings should be retained. WSL on Windows 11 is no longer in Windows Features, it is a App downloaded via the Microsoft Store. The Upgrade should perform the necessary update to install that change.

When upgrading, the Official advice is to verify that your computer meets the minimum requirements, and make a backup of personal data and settings. With WSL that means backing up, or copying, the entire %localappdata%\lxss folder on your Windows 10 computer, then perform the upgrade.
Once upgraded check your WSL installation with wsl --list. If it is not giving what you expect, then perform the following:
2)Install WSL on your new machine (do not create a user account, just control-C out of that prompt).
3)Delete the %localappdata%\lxss directory on your new machine.
4)Copy your saved lxss directory to %localappdata%\lxss
5)run lxrun.exe /setdefaultuser oldusername
6)Launch bash.

Source: moving WSL installation to another computer

Hope that helps!
 

My Computer

System One

  • OS
    Windows 10
    CPU
    TBA
    Motherboard
    TBA

protocoder

New member
Thread Starter
Local time
12:19 AM
Posts
3
OS
windows10
@iko22 Thanks a lot. Good help. I will mark this as complete
 

My Computer

System One

  • OS
    windows10
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Thinkpad E490
    CPU
    Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 2.00 GHz
Top Bottom