Comment completely uninstaller the subsystem for Linux on Windows 10?

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?

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.