Comment completely uninstaller the subsystem for Linux on Windows 10?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment completely uninstaller the subsystem for Linux on Windows 10?

Message par ForumBot »

I was fooling around a bit with the Linux/Bash subsystem for Win10.


But then I decided to stay with Cygwin for now. So I uninstalled it - or thought I did.


Now J’ai installé Cygwin and put its bin directory first in the PATH.


In cmd.exe , when I type bash , it will start the Cygwin’s Bash.


But when I do Win+R and type bash, I still get the prompt:


Windows Subsystem for Linux has no installed distributions.
…bla-bla-bla…


Comment get rid of the Linux/Bash subsystem entirely, so it will instead pick up Cygwin’s Bash from the PATH?

ayi
Site Admin
Messages : 13176
Inscription : mer. avr. 22, 2026 5:21 pm

Re: Comment completely uninstaller the subsystem for Linux on Windows 10?

Message par ayi »

In order to disable WSL, one has to go back into


Panneau de configuration → programs-features → turn on/off Windows features and deselect Windows Subsystem for Linux, and Save. A dialog shows you progress as it uninstalls. You must restart the PC to complete the uninstall.

Répondre

Revenir à « Windows 10 »