MicrosoftDocs / terminal

Creative Commons Attribution 4.0 International
468 stars 171 forks source link

My admin windows shell doesn't read any wsl I installed #631

Closed gilthab closed 1 year ago

gilthab commented 1 year ago

I tried installing Ubuntu and Debian but when I want to check it it doesn't show. When I unregister it from the admin it doesn't show as well. but in the microsoft store it shows that I've installed it.

This are some of the codes that I've documented.

Windows Subsystem for Linux has no installed distributions.

Use 'wsl.exe --list --online' to list available distributions and 'wsl.exe --install ' to install.

Distributions can also be installed by visiting the Microsoft Store: https://aka.ms/wslstore Error code: Wsl/Service/CreateInstance/GetDefaultDistro/WSL_E_DEFAULT_DISTRO_NOT_FOUND

WslRegisterDistribution failed with error: 0x80370114 Error: 0x80370114 The operation could not be started because a required feature is not installed.

PS C:\WINDOWS\system32> wsl --unregister Ubuntu Unregistering. There is no distribution with the supplied name. Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND

zadjii-msft commented 1 year ago

This doesn't look like a Terminal issue to me, it more looks like a general WSL issue. This would be better suited for https://github.com/Microsoft/WSL/issues. Thanks!