Skip to main content
25 events
when toggle format what by license comment
Jun 20 at 17:51 history edited Ramhound CC BY-SA 4.0
removed answer from question
Jun 9 at 22:09 history closed Ramhound windows-10 Duplicate of How Do I Reset A Manual Installation Of Windows Subsystem For Linux?
Jun 9 at 22:08 history protected Ramhound
Apr 10, 2023 at 11:21 answer added Mukesh Choudhary timeline score: -2
Jul 25, 2021 at 21:14 history edited SuperFluo CC BY-SA 4.0
added 220 characters in body
Jul 23, 2021 at 17:10 comment added SuperFluo I just want to uninstall the Ubuntu instance. Regarding WSL, I can just uncheck the relative feature in the Windows Features panel (Control Panel) after uninstalling Ubuntu, right? Also, no, I didn't do a wsl --import. Thanks for the help guys.
Jul 23, 2021 at 15:11 comment added Ramhound @SuperFluo - If you want to remove the Ubuntu-20.04 instance just run the command wslconfig /unregister Ubuntu-20.04 in an elevated PowerShell prompt.
Jul 23, 2021 at 15:06 comment added NotTheDr01ds Do you want to just uninstall the Ubuntu instance, or do you want to completely uninstall WSL? It's unclear to me why you don't have the "App" installed any longer (to be able to just use the normal Windows "Uninstall" functionality). Did you by chance do a wsl --import at any point? Anyway, since the App isn't there, do as @Ramhound suggested and wsl --unregister. If you want to completely uninstall WSL, see this answer. The Remove-AppxPackage isn't going to work for you since Get-AppxPackage indicates that it's not there.
Jul 23, 2021 at 9:48 comment added SuperFluo @NotTheDr01ds - I've updated the post with more info
Jul 23, 2021 at 9:47 history edited SuperFluo CC BY-SA 4.0
added 727 characters in body
Jul 23, 2021 at 9:00 history tweeted twitter.com/super_user/status/1418496121723363330
Jul 21, 2021 at 20:44 comment added NotTheDr01ds @Ramhound Yes, sometimes I start to type something up, then I realize that I'd like more information from the OP first (as I requested in the comment above). Instead of having to re-type everything later, I post it, then delete it. I can always undelete it when/if I get the additional info. Or delete it if it is no longer relevant. From watching the user's habits over the last few days (from the Stack Overflow post), they usually only get on here once every 24 hours or so. So I'm expecting a delay. Of course, you and I have been left hanging before, so anything could happen! :)
Jul 21, 2021 at 20:43 comment added Ramhound @NotTheDr01ds - You were quick on removing the answer you submitted. Unless the author updates their question, with the required information I need to author an answer, I probably won't return to this question
Jul 21, 2021 at 20:23 comment added NotTheDr01ds @Ramhound Sort of true, but again, not the case here based on the question. The OP mentioned that they did a "Search" on the Start Menu. That would find "Ubuntu" even if the user didn't pin it, since Ubuntu is a UWP app (whether installed by Appx package or via the Store), and Search goes through Apps & Features also (not just pinned entries). The OP also states that it wasn't in the Apps & Features. That's indicating a problem with the Appx installation (not the distribution installation), which is why I'd like to know the result of Get-AppxPackage | Where-Object { $_ -like "*Ubuntu*" }.
Jul 21, 2021 at 20:04 comment added Ramhound @NotTheDr01ds - I am waiting on more information from the author. The start menu is explained by the fact, the author didn't pin a shortcut to the item, this would have normally been done when Ubuntu was installed from within Windows Store. This assumes they were successful in the configuration of the instance.
Jul 21, 2021 at 18:00 comment added NotTheDr01ds @Ramhound Fair enough - I'd be curious myself. Can you go ahead and explain it? I assume you aren't waiting for that information in order to answer the question since, if I understood you correctly, you said you would mark it as a duplicate in that case.
Jul 21, 2021 at 17:53 comment added Ramhound @NotTheDr01ds - I can easily explain the reason it's not being found on the Start Menu, provided, the instance was registered.
Jul 21, 2021 at 17:45 comment added NotTheDr01ds @Ramhound Normally, I'd suspect that as well, but that doesn't seem to be the case here since the OP explicitly states that they were able to get through the step that creates the password, then entered the instance and ran apt get update and apt get upgrade. But that would mean that they originally had "Ubuntu" in the Start Menu (and Apps & Features), but it's gone now. Why? Perhaps the appx got uninstalled without properly cleaning up the instance, in which case you are right, --unregister, but otherwise it may need a Remove-AppxPackage.
Jul 21, 2021 at 16:44 comment added Ramhound @NotTheDr01ds - If the user wants the instance gone then running the suggest command wouldn't do anything they don't already want to have happen. Of course I suspect the instance was never actually registered, and the author actually got stuck, at some point in the manual creation of the instance and never actually successfully launched it. Which is the reason I submitted a comment, and requested more information, before I simply flagged this as being a duplicate of one of many answers that suggest the wsl --unregister Ubuntu command
Jul 21, 2021 at 15:25 comment added NotTheDr01ds Also, you must have originally had "Ubuntu" in the Start menu after installing the appx, right? That's how you start the "configuration" step that creates the actual WSL distribution and sets the user name.
Jul 21, 2021 at 15:22 comment added NotTheDr01ds I don't recommend a wsl --unregister until we figure out if the appx is still installed. It probably can't hurt, but if the real goal is to "go back to how things were before installing Ubuntu", then it won't do that, since the Application itself would still be installed. Does a Get-AppxPackage | Where-Object { $_ -like "*Ubuntu*" } return any results?
Jul 21, 2021 at 14:35 comment added Ramhound If the output to wsl --list --verbose is an empty list then you can simply delete the folder, since I am going to guess the reason you want to uninstall it, is because you were unable to figure out how to start it.
Jul 21, 2021 at 14:30 review First posts
Jul 21, 2021 at 17:30
Jul 21, 2021 at 14:29 comment added Ramhound wsl --unregister Ubuntu should remove it. If that doesn't work, provide the output, for wsl --list --verbose as an edit to your question.
Jul 21, 2021 at 14:28 history asked SuperFluo CC BY-SA 4.0