Uninstalling WSL breaks Terminal #8106

Closed
opened 2026-01-31 01:20:54 +00:00 by claunia · 7 comments
Owner

Originally created by @BenConstable9 on GitHub (May 13, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.19041.208]
Windows Terminal version (if applicable): 0.11.1251.0

Any other software? WSL with Ubuntu

Steps to reproduce

Uninstall WSL distros that are included automatically in the list available on Terminal.

Expected behavior

Terminal should function as usual and remove uninstalled distro from the list.

Actual behavior

Terminal freezes and the dropdown list will not respond to user input. Closing and reopening did not resolve. Resolved by uninstalling and reinstalling.

Originally created by @BenConstable9 on GitHub (May 13, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.19041.208] Windows Terminal version (if applicable): 0.11.1251.0 Any other software? WSL with Ubuntu ``` # Steps to reproduce Uninstall WSL distros that are included automatically in the list available on Terminal. # Expected behavior Terminal should function as usual and remove uninstalled distro from the list. # Actual behavior Terminal freezes and the dropdown list will not respond to user input. Closing and reopening did not resolve. Resolved by uninstalling and reinstalling.
Author
Owner

@DHowett-MSFT commented on GitHub (May 13, 2020):

Sorry, have you uninstalled the distributions or have you uninstalled the entire WSL feature from Windows?

@DHowett-MSFT commented on GitHub (May 13, 2020): Sorry, have you uninstalled the _distributions_ or have you uninstalled the entire WSL feature from Windows?
Author
Owner

@BenConstable9 commented on GitHub (May 13, 2020):

Sorry, have you uninstalled the distributions or have you uninstalled the entire WSL feature from Windows?

I uninstall a distribution to change from Ubuntu to another Linux distro. Issue happened before I even had installed new one. Uninstalled through Settings panel like MSFT recommends.

@BenConstable9 commented on GitHub (May 13, 2020): > Sorry, have you uninstalled the _distributions_ or have you uninstalled the entire WSL feature from Windows? I uninstall a distribution to change from Ubuntu to another Linux distro. Issue happened before I even had installed new one. Uninstalled through Settings panel like MSFT recommends.
Author
Owner

@DHowett-MSFT commented on GitHub (May 14, 2020):

Would you mind sharing the document you were referring to?

@DHowett-MSFT commented on GitHub (May 14, 2020): Would you mind sharing the document you were referring to?
Author
Owner

@BenConstable9 commented on GitHub (May 14, 2020):

https://docs.microsoft.com/en-us/windows/wsl/faq#how-do-i-uninstall-a-wsl-distribution

That is where I found it.

@BenConstable9 commented on GitHub (May 14, 2020): https://docs.microsoft.com/en-us/windows/wsl/faq#how-do-i-uninstall-a-wsl-distribution That is where I found it.
Author
Owner

@zadjii-msft commented on GitHub (Jun 10, 2020):

I'm gonna mark this as a bug for now, but I'm not sure there's anything we can do to detect that a WSL app was uninstalled at runtime. Maybe there is, but IIRC there's not a per-user package uninstall notification.

@zadjii-msft commented on GitHub (Jun 10, 2020): I'm gonna mark this as a bug for now, but I'm not sure there's anything we can do to detect that a WSL app was uninstalled at runtime. Maybe there is, but IIRC there's not a per-user package uninstall notification.
Author
Owner

@zadjii-msft commented on GitHub (Dec 9, 2021):

We've made a ton of changes to how we enumerate WSL's, how we initialize controls, etc, etc, that makes me think this probably won't be an issue anymore. @BenConstable9 you still seeing this on 1.11+?

@zadjii-msft commented on GitHub (Dec 9, 2021): We've made a ton of changes to how we enumerate WSL's, how we initialize controls, etc, etc, that makes me think this probably won't be an issue anymore. @BenConstable9 you still seeing this on 1.11+?
Author
Owner

@ghost commented on GitHub (Dec 13, 2021):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Dec 13, 2021): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8106