Skip to content

Latest Windows update uninstalled WSL #9355

Closed

Description

@brevzin

Version

Microsoft Windows [Version 10.0.25267.1000]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

Whatever the latest Windows update was, I installed it. When I rebooted my laptop and tried to open Ubuntu, I was greeted with this message:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007019e
The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall for details.
Press any key to continue...

I don't want to install WSL. I already had WSL, and have been using it for a long time, and have unsaved work there. Did the latest update uninstall it? Is my work just completely destroyed?

Expected Behavior

I expected WSL to still exist, since I did not actually remove it.

Actual Behavior

I apparently no longer have WSL.

Diagnostic Logs

No response

Activity

  1. brevzin commented on Dec 17, 2022

    @brevzin
    Author

    I tried uninstalling the last update, which now puts me at build 25267.rs_prerelease.221209-1557.

    But still no WSL.

  2. brevzin commented on Dec 17, 2022

    @brevzin
    Author

    Note that it is listed as installed from the Optional Features tab under Apps:
    image

  3. jkamashian commented on Dec 18, 2022

    @jkamashian

    same happened to me

  4. Biswa96 commented on Dec 18, 2022

    @Biswa96

    Is virtualization enabled in BIOS/UEFI settings?

  5. lvyangdev commented on Dec 19, 2022

    @lvyangdev

    I tried uninstalling the last update, and now version is 25262.1000 ,wsl2 is back!

  6. jkamashian commented on Dec 19, 2022

    @jkamashian

    I was able to reinstall WSL but it just gives me more trust issues with Microsoft like they don't take WSL feature seriously.

  7. benhillis commented on Dec 19, 2022

    @benhillis
    Member

    The inbox version of WSL has been removed from build 25267. You'll have to run wsl.exe --update or wsl.exe --install to packaged version.

    Didn't realize this update would ship yet, sorry about that. We are working on a change to make this experience more clear and automatically install the new version.

  8. brentmjohnson commented on Dec 20, 2022

    @brentmjohnson

    After failing to find a workaround, I ended up reverting back to build 25262 as the app store version's lack of support for executing under session zero (#9231) breaks remote dev workflows.

  9. HotCakeX commented on Jan 5, 2023

    @HotCakeX

    have unsaved work there. Did the latest update uninstall it? Is my work just completely destroyed?

    Barry Revzin (@brevzin) fact is, these are preview builds, Dev channel, experimental and unstable in nature, if you are worried about important work being lost, you should use stable builds.

  10. brevzin commented on Jan 6, 2023

    @brevzin
    Author

    Violet Hansen (@HotCakeX) Well, the only way it appears for me to do that is to erase all my data pre-emptively. I can't even change away from the Dev channel.

  11. fxzxmicah commented on Jan 6, 2023

    @fxzxmicah

    Isn't that a good thing? I only use WSL1 and don't want to install WSL2. What's in it for me?

  12. Biswa96 commented on Jan 6, 2023

    @Biswa96

    Uninstalled WSL does not mean it destroys installed Linux distributions in WSL. Try to install the WSL from Windows Store and find if any distributions survived the change with wsl.exe -l -v command.

  13. fxzxmicah commented on Jan 6, 2023

    @fxzxmicah

    I just don't want WSL2. Anyway, WSL1 is no longer updated, and the store version is of no use to me.
    Why not leave inbox wsl as a single version of WSL1 and distribute only WSL2 through the store?

  14. HotCakeX commented on Jan 6, 2023

    @HotCakeX

    Violet Hansen (@HotCakeX) I can't even change away from the Dev channel.

    What? how? lol

  15. 2 remaining items

  16. fxzxmicah commented on Jan 6, 2023

    @fxzxmicah

    Or I have another idea: How about to strip WSL1 from the system and the current store app and distribute it separately through the store? This is more in line with a modular OS.

  17. Biswa96 commented on Jan 6, 2023

    @Biswa96

    How about to strip WSL1 from the system and the current store app and distribute it separately through the store?

    It is not possible. The WSL1 part depends on Windows kernel mode driver, name LxCore.sys. Kernel mode driver may not be shipped in UWP like packages. But the WSL1 user mode part is present in WslService.exe of WSL Store version.

  18. HotCakeX commented on Jan 6, 2023

    @HotCakeX

    Yes, you are right. If WSL1 is still being updated, I won't have any comments. The problem is that bringing together a non-updating WSL1 and a frequently updated WSL2 will not benefit anyone who only uses WSL1.

    Well why are you still sticking with WSL1? WSL2 is naturally newer and better, things like Docker use WSL2, it has WSLg, improvements on file transfer and many other improvements, if I were them I wouldn't waste resources and engineers on WSL 1 either.

    WSL2 is frequently updated because Linux is frequently updated or because it needs to be frequently updated. common sense basically. everything is being frequently updated, phone apps, OS, browsers etc.
    most importantly, threat actors are frequently updating their attacks and tools.

    for me personally, WSL made sense and became useful ever since it started supporting WSLg in WSL2 which lets me test GUI apps, otherwise I'd never want to bother learning terminal of Linux while I'm already fluent at PowerShell.

  19. fxzxmicah commented on Jan 6, 2023

    @fxzxmicah

    WSL1 user mode part

    I'm not on dev channel, I don't know to what extent Microsoft has peeled WSL1, but I guess this is what I said.

  20. fxzxmicah commented on Jan 6, 2023

    @fxzxmicah

    Yes, you are right. If WSL1 is still being updated, I won't have any comments. The problem is that bringing together a non-updating WSL1 and a frequently updated WSL2 will not benefit anyone who only uses WSL1.

    Well why are you still sticking with WSL1? WSL2 is naturally newer and better, things like Docker use WSL2, it has WSLg, improvements on file transfer and many other improvements, if I were them I wouldn't waste resources and engineers on WSL 1 either.

    WSL2 is frequently updated because Linux is frequently updated or because it needs to be frequently updated. common sense basically. everything is being frequently updated, phone apps, OS, browsers etc. most importantly, threat actors are frequently updating their attacks and tools.

    for me personally, WSL made sense and became useful ever since it started supporting WSLg in WSL2 which lets me test GUI apps, otherwise I'd never want to bother learning terminal of Linux while I'm already fluent at PowerShell.

    Because I don't need those new features, WSL1 will save more resources in this case. I also prefer how WSL1 works. I used to use Cygwin, which is very similar to WSL1 at the user side.
    This is also one of the reasons.
    It should also be noted that I am strictly a user, not a developer.

  21. HotCakeX commented on Jan 7, 2023

    @HotCakeX

    Yes, you are right. If WSL1 is still being updated, I won't have any comments. The problem is that bringing together a non-updating WSL1 and a frequently updated WSL2 will not benefit anyone who only uses WSL1.

    Well why are you still sticking with WSL1? WSL2 is naturally newer and better, things like Docker use WSL2, it has WSLg, improvements on file transfer and many other improvements, if I were them I wouldn't waste resources and engineers on WSL 1 either.
    WSL2 is frequently updated because Linux is frequently updated or because it needs to be frequently updated. common sense basically. everything is being frequently updated, phone apps, OS, browsers etc. most importantly, threat actors are frequently updating their attacks and tools.
    for me personally, WSL made sense and became useful ever since it started supporting WSLg in WSL2 which lets me test GUI apps, otherwise I'd never want to bother learning terminal of Linux while I'm already fluent at PowerShell.

    Because I don't need those new features, WSL1 will save more resources in this case. I also prefer how WSL1 works. I used to use Cygwin, which is very similar to WSL1 at the user side. This is also one of the reasons. It should also be noted that I am strictly a user, not a developer.

    I see, well nothing to worry about, WSL 1 isn't going anywhere, just stopped being a pre-installed app since that specific Windows Dev build. you can of course install it 🙂

  22. fxzxmicah commented on Jan 8, 2023

    @fxzxmicah

    I see, well nothing to worry about, WSL 1 isn't going anywhere, just stopped being a pre-installed app since that specific Windows Dev build. you can of course install it 🙂

    I just don't want WSL1 to be bound to WSL2, it doesn't matter if it's an inbox app or not (although I think WSL1 works better as an inbox app). WSL1 is no longer updated but will be updated with WSL2, and these updates have nothing to do with WSL1. In case an update breaks WSL1 ...

  23. fxzxmicah commented on Jan 8, 2023

    @fxzxmicah

    How about to strip WSL1 from the system and the current store app and distribute it separately through the store?

    It is not possible. The WSL1 part depends on Windows kernel mode driver, name LxCore.sys. Kernel mode driver may not be shipped in UWP like packages. But the WSL1 user mode part is present in WslService.exe of WSL Store version.

    It does not have to be distributed through the store. It can be in the form of win32 software package. Anyway, there is no more updates, and it should not be bound to WSL2.

  24. HotCakeX commented on Jan 8, 2023

    @HotCakeX

    I see, well nothing to worry about, WSL 1 isn't going anywhere, just stopped being a pre-installed app since that specific Windows Dev build. you can of course install it 🙂

    I just don't want WSL1 to be bound to WSL2, it doesn't matter if it's an inbox app or not (although I think WSL1 works better as an inbox app). WSL1 is no longer updated but will be updated with WSL2, and these updates have nothing to do with WSL1. In case an update breaks WSL1 ...

    We don't know the details about it, the change they made probably makes more sense for the overall OS. the important thing is that the functionality is there, whether or not it's bound together (from our perspective as end-users) isn't really an important factor to consider for engineers working on it.

    if you want tighter control over hardware like amount of CPU, RAM, network adapters etc., you should use Hyper-V to virtualize a lightweight Linux OS. benefits are that you can store the VHDX in a different drive so your data will stay intact when you clean install OS.

    what are your hardware specs anyway? I test Windows 11 latest Dev build with WSL2 + Android subsystem + Windows Sandbox + WDAG + Hyper-V VM + VBS and all of its supported features on 6+ years old hardware and still not complaining, even though my hardware isn't officially supported by Windows 11.

  25. fxzxmicah commented on Jan 8, 2023

    @fxzxmicah

    I see, well nothing to worry about, WSL 1 isn't going anywhere, just stopped being a pre-installed app since that specific Windows Dev build. you can of course install it 🙂

    I just don't want WSL1 to be bound to WSL2, it doesn't matter if it's an inbox app or not (although I think WSL1 works better as an inbox app). WSL1 is no longer updated but will be updated with WSL2, and these updates have nothing to do with WSL1. In case an update breaks WSL1 ...

    We don't know the details about it, the change they made probably makes more sense for the overall OS. the important thing is that the functionality is there, whether or not it's bound together (from our perspective as end-users) isn't really an important factor to consider for engineers working on it.

    if you want tighter control over hardware like amount of CPU, RAM, network adapters etc., you should use Hyper-V to virtualize a lightweight Linux OS. benefits are that you can store the VHDX in a different drive so your data will stay intact when you clean install OS.

    what are your hardware specs anyway? I test Windows 11 latest Dev build with WSL2 + Android subsystem + Windows Sandbox + WDAG + Hyper-V VM + VBS and all of its supported features on 6+ years old hardware and still not complaining, even though my hardware isn't officially supported by Windows 11.

    Not related to my hardware. I have reasons not to use WSL2 or a VM (after all, Cygwin has satisfied me in the past), as I mentioned some of them above. And my focus is not on whether to remove WSL1 from the system, but on how the removed WSL1 should be distributed.

    Let me make an analogy, and if you don't like it, look at it as a story:
    In the past, a man named Microsoft built a small house in a city named Windows. The house was small and simple, but it was just enough, attracting some people who like this type of house. But later, Microsoft built another very large house in Windows, which was luxuriously decorated and often constructed to make the house more perfect. The house also attracted many people, but people who liked the old house were reluctant to move because they thought the old house was warmer and just enough. Later, Microsoft forced these people who like the old house to move to the new house, but it built a house in the corner of the new house exactly like the old house, and did not carry out the same decoration as the new house. People living in the old house know that their house will not be renovated, but they have to endure the noise caused by the continuous renovation of the new house, the possible damage to their house caused by the renovation of the new house, and the ostentation of new house residents (although they are not intentional). People who like the old house lose their original quiet and stability.

    If you want to give the engineer a reason, then this is: WSL1 is no longer updated and engineers should not take care of it, whether it is removed from the system or not. So why not develop a pure WSL2, and why come with messy WSL1 code? Is it better to publish WSL1 as a stand-alone package and never take care of it again?

    To say a word to Microsoft, let WSL1 die naturally or continue to develop. If WSL1 is still under development, I welcome any changes. But if you don't develop it anymore, don't disturb me or us with updates that make no sense for WSL1. Don't mess up WSL2 because of WSL1.

  26. HotCakeX commented on Jan 8, 2023

    @HotCakeX

    Not related to my hardware.

    it is though, if you had a 12gen i7 CPU with 16/32GB RAM and a modern SSD then you wouldn't worry about file system performance or be forced to work with WSL1, which doesn't even have the full Linux kernel, instead you would easily use either Hyper-V or WSL 2 which also lets you run GUI apps among many other benefits.

    so yes, it very much is related to what hardware you use.

  27. fxzxmicah commented on Jan 9, 2023

    @fxzxmicah

    Not related to my hardware.

    it is though, if you had a 12gen i7 CPU with 16/32GB RAM and a modern SSD then you wouldn't worry about file system performance or be forced to work with WSL1, which doesn't even have the full Linux kernel, instead you would easily use either Hyper-V or WSL 2 which also lets you run GUI apps among many other benefits.

    so yes, it very much is related to what hardware you use.

    Not forced, just I like it. Cygwin doesn't even have any Linux Kernel. I switched to WSL only because Cygwin's package manager was too bad. If one day I have to give up WSL1, I may use WSL2, but it is more likely that I will switch back to Cygwin.

    I think it's good for both sides not to bind the two WSL together. If I switch to WSL2 in the future, I also don't want WSL2 to contain WSL1 code.

  28. freemjohn commented on Nov 16, 2023

    @freemjohn

    It's still there. But it's a bug, just reboot if update process is stuck after getting this message.

  29. microsoft-github-policy-service commented on Nov 21, 2024

    @microsoft-github-policy-service
    Contributor

    This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

    Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions