

To install WSL1, you must add wsl -install -enable-wsl1. Yes, under Windows 11 22H2, a wsl -install will by default only install WSL2. See my older answer on how to completely uninstall that version.įor the Store/UWP version, the answer has changed: If you do not get a result, then you may be running an older release of WSL. If you see a result, continue reading this answer. To confirm that you are using this newer version, run the following from PowerShell: Get-AppxPackage |? This answer refers to the newer Store/UWP version of WSL. I will update this answer based on that info. When you are reinstalling from there, I'd appreciate it if you could confirm that "Windows Subsystem for Linux Update" returns to Apps & Features after installing the kernel update package (Step 4 in the Install doc). According to the comments, a reboot may be required before the next step.įrom "Turn Windows Features on or off" in Windows, disable the "Virtual Machine Platform". *From "Turn Windows Features on or off", disable "Windows Subsystem for Linux. Probably reboot if you want to be sure it's fully gone before the next step. I'm fairly certain this is the Linux kernel update.

"Add or remove programs") in Windows, remove the "Windows Subsystem for Linux Update". It's unlikely that any additional reinstallation of the other components is going to make a difference. You may want to just install a new distro at that point from the Store. This also goes for distributions installed manually via downloaded Appx package. Any distro you installed from the Store, you should first remove through "Apps & Features" (a.k.a.Then remove the existing distro installation(s): It sounds like you consider the existing instance a lost cause, but if you'd like to back it up for posterity, you can start with: Here's the best info I have on removing everything related to WSL. What is the most secure and advisable process to remove WSL completely? The base WSL support is required for WSL2. However, if are running the Store-version (or UWP version) of WSL, then please see my newer answer (and/or other users' answers, if present).Ĭan WSL 2 be installed from scratch without installing WSL 1 before? If you are running an older version of WSL that was installed prior to Windows 10 or 11 22H2, then this may be the correct answer on how to uninstall. Update: This is a bit of an outdated answer at this point.
