-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove wsl and start again #2703
Comments
Ok cool, and thanks 👍 it's a question, not a code issue, plus I thought I'd ask the people that would know, so it looks like:
Then I guess there no need to uninstall the Windows app afterwards? |
@spences10 that's an old article. The new fall creators update add new executable file wslconfig.exe. Run command |
Thanks @Biswa96 and @zadjii-msft Are these both valid options for the fall creators update? |
Ya both valid for Fall CU. wslconfig is like general process and valid for any distro you install. But settings app shows the distro installed from Windows store only. |
Ok great, thanks, I'll close this issue now. |
I needed a fresh start and found this description usefull: https://www.howtogeek.com/261188/how-to-uninstall-or-reinstall-windows-10s-ubuntu-bash-shell/
|
Can everyone just shut up with the "why didn't you google it?" You're literally cluttering up the entire Internet. I DID GOOGLE IT, THAT'S HOW I GOT HERE. By being obnoxious and unhelpful to this one person who didn't do their due diligence, you are also being rude and obnoxious and unhelpful to ALL THE PEOPLE WHO DID and got here afterwards. |
@LarsWH When running lxrun /uninstall I get |
@Jikodis I wouldn't know. But I would not have posted my reply 20 February if any of the 2017 answers had worked for me (so thanks for the thumbs down...) |
I try uninstalling via wslconfig and upon new install I get the same issue:
|
Figured out my issue. My AV was blocking perl. https://imgur.com/h1HGZtf |
Thanks a lot, this solved my prob. I installed WSL under Windows Server 2019 which means not through Windows Store (because there is no store for server). After the installation, I moved the installation folder, and then I realized the folder also contains the path and the root folder of the subsystem, so I moved everything back, then I got errors all the time. Google or bing gets the result of lxrun anywhere else which is deprecated in Server 2019. wslconfig.exe solve the uninstall issue and now I am okay to reinstall in the desired folder location. Thanks. |
Just thought I would post my experience. I had to use wslconfgi.exe /l to see the list of distributions installed. my old Ubuntu install was labelled 'Legacy' instead of Ubuntu. |
Came back to windows after not touching it for a year. Had sudo permission errors, so I ended up uninstalling Ubuntu through the Apps menu in settings and reinstalling through the store. Everything works now. |
I cant reinstall. Was half way through moving Ubuntu from wsl2 to wsl1 when it froze and then it couldn't be accessed at all. Uninstalled form the app settings and now I am unable to install it again. |
The "Apps and Features" -> "Uninstall" way didn't suffice for me: trying to reinstall it afterwards lead to |
Thanks so much. I found your post on this error code for a totally unrelated app that I couldn't get reinstalled. Sure enough, I found some entries under Packages which required some force-able removal, and I can now install the app! |
You could reset the app for the app setting. |
Hello I Have Wanted To Do This But Sometimes Windows Just messes Up SO Just Disable And RE Enable WSL |
After trying everything steel shows files at \wsl$
|
I installed WSL half way but due to weak internet connection , i just closed my laptop and when i opened it again , i re ran wsl --install but the first thing it says is that it does not recognizes the command and then when i run wsl --install -d ubuntu , it says wslregistrationdistribution failed with error and wsl tool requires an update to it's kernel component too. Please provide some solution to this problem since my assignment is due and i dont know how to re start. |
Thank you! |
Is it possible to delete the whole WSL all files therein and start again?
I'd like to be able to start afresh, that means a clean install of Ubuntu and a clean file system, is that possible?
I've made a mess installing docker and docker.io and now don't seem to be able to uninstall docker.io
Related issue here: #2702
I'm wondering if it would be easier for me to start over again rather than spend the amount of time I have spent trying to find a solution that works.
Many thanks 👍
The text was updated successfully, but these errors were encountered: