Comment completely uninstaller the subsystem for Linux on Windows 10?

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Comment completely uninstaller the subsystem for Linux on Windows 10?

Message par Clippy »

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 : 9242
Inscription : mer. 22 avr. 2026, 17:21

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 »