Windows 10: Enable or Disable Bash on Ubuntu in Windows 10

Discus and support Enable or Disable Bash on Ubuntu in Windows 10 in Windows 10 Tutorials to solve the problem; How to: Enable or Disable Windows Subsystem for Linux WSL in Windows 10 How to Enable or Disable Windows Subsystem for Linux WSL in Windows 10... Discussion in 'Windows 10 Tutorials' started by dgordon42, Aug 2, 2016.

  1. dgordon42 Win User

    Enable or Disable Bash on Ubuntu in Windows 10


    How to: Enable or Disable Windows Subsystem for Linux WSL in Windows 10

    How to Enable or Disable Windows Subsystem for Linux WSL in Windows 10


    The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools directly on Windows, alongside your traditional Windows desktop and modern store apps.

    This is primarily a tool for developers -- especially web developers and those who work on or with open source projects. This allows those who want/need to use Bash, common Linux tools (sed, awk, etc.) and many Linux-first tools (Ruby, Python, etc.) to use their toolchain on Windows.

    WSL provides an application called Bash.exe that, when started, opens a Windows console running the Bash shell. Using Bash, you can run command-line Linux tools and apps.

    Bash is a popular text-based shell and command-language. It is the default shell included within Ubuntu and other Linux distros, and in macOS. Users type commands into a shell to execute scripts and/or run commands and tools to accomplish many tasks.

    For more details about Windows Subsystem for Linux (WSL) and Bash on Ubuntu, see:
    Windows Subsystem for Linux 2 (WSL2) is now available starting with Windows 10 build 18917.

    This tutorial will show you how to enable or disable the Windows Subsystem for Linux (WSL) feature in Windows 10.


    Contents
    • Option One: Enable "Windows Subsystem for Linux" (WSL) in Windows Features
    • Option Two: Disable "Windows Subsystem for Linux" (WSL) in Windows Features
    • Option Three: Enable "Windows Subsystem for Linux" (WSL) in PowerShell
    • Option Four: Disable "Windows Subsystem for Linux" (WSL) in PowerShell





    OPTION ONE [/i] Enable "Windows Subsystem for Linux" (WSL) in Windows Features
    1 Open Windows Features, turn on (check) Windows Subsystem for Linux, and click/tap on OK. (see screenshot below)

    Enable or Disable Bash on Ubuntu in Windows 10 [​IMG]

    2 Click/tap on Restart Now when ready to restart the computer to apply. (see screenshot below)

    Enable or Disable Bash on Ubuntu in Windows 10 [​IMG]

    3 You can now install and setup WSL distro apps from the Microsoft Store.





    OPTION TWO [/i] Disable "Windows Subsystem for Linux" (WSL) in Windows Features
    1 Open Windows Features, turn off (uncheck) Windows Subsystem for Linux, and click/tap on OK. (see screenshot below)

    Enable or Disable Bash on Ubuntu in Windows 10 [​IMG]

    2 Click/tap on Restart Now when ready to restart the computer to apply. (see screenshot below)

    Enable or Disable Bash on Ubuntu in Windows 10 [​IMG]






    OPTION THREE [/i] Enable "Windows Subsystem for Linux" (WSL) in PowerShell
    1 Open an elevated PowerShell.

    2 Copy and paste the command below into the elevated PowerShell, and press Enter. (see screenshot below step 3)
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    3 When prompted to restart the computer, type Y, and press Enter when ready to do so. (see screenshot below)

    Enable or Disable Bash on Ubuntu in Windows 10 [​IMG]

    4 You can now install and setup WSL distro apps from the Microsoft Store.





    OPTION FOUR [/i] Disable "Windows Subsystem for Linux" (WSL) in PowerShell
    1 Open an elevated PowerShell.

    2 Copy and paste the command below into the elevated PowerShell, and press Enter. (see screenshot below step 3)
    Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    3 When prompted to restart the computer, type Y, and press Enter when ready to do so. (see screenshot below)


    Enable or Disable Bash on Ubuntu in Windows 10 [​IMG]


    That's it,
    Shawn


    Related Tutorials

    :)
     
    dgordon42, Aug 2, 2016
    #1
  2. irinelonofrei, Aug 2, 2016
    #2
  3. TOlivier Win User
    [MOVED]Bash on Ubuntu on Windows home folder location

    Except "Bash on Ubuntu on Windows" is literally what the feature is called.

    Learn about the Windows Subsystem for Linux
     
    TOlivier, Aug 2, 2016
    #3
  4. dgordon42 Win User

    Enable or Disable Bash on Ubuntu in Windows 10

    Ha, just worked it out.
    Right click on the console title bar, and deselect 'Use legacy console'.

    Thanks,
    Dave.
     
    dgordon42, Aug 2, 2016
    #4
  5. Tonyb Win User
    is this still a test feature ??? or is it out of testing mode now since windows is now released ?
     
    Tonyb, Aug 7, 2016
    #5
  6. Brink
    Brink New Member
    Brink, Aug 7, 2016
    #6
  7. Tonyb Win User
    oh ok i wait then i don't need any system lock ups and stuff thanks for the info.
     
    Tonyb, Aug 8, 2016
    #7
  8. Brink
    Brink New Member

    Enable or Disable Bash on Ubuntu in Windows 10

    You're most welcome. *Smile
     
    Brink, Aug 8, 2016
    #8
  9. altae Win User
    The Ubuntu Bash will definitely not lock up your system. As long as you don't trigger it it does nothing at all. The "Beta" label is more related to it's functionality, a lot of things don't work currently. For example networking. The web is full of posts where people ask how to get networking in the bash working (including myself *Wink).
     
    altae, Aug 8, 2016
    #9
  10. Tonyb Win User
    yeah going to wait till its out of beta then i will activate it *Smile
     
    Tonyb, Aug 8, 2016
    #10
  11. Tonyb Win User
    is it out of beta yet ??
     
    Tonyb, Dec 8, 2016
    #11
  12. Brink
    Brink New Member
    Brink, Dec 9, 2016
    #12
  13. Tonyb Win User

    Enable or Disable Bash on Ubuntu in Windows 10

    oh ok i getting it now not sure why it did not d-load automatic it should have.
     
    Tonyb, Dec 9, 2016
    #13
  14. lvgandhi Win User
    I am using bash from developer mode. Can we get bash in normal mode by switching off developer mode?
     
    lvgandhi, Dec 9, 2016
    #14
  15. Brink
    Brink New Member
    I'm afraid not for now. Bash is only available while in developer mode.
     
    Brink, Dec 9, 2016
    #15
Thema:

Enable or Disable Bash on Ubuntu in Windows 10

Loading...
  1. Enable or Disable Bash on Ubuntu in Windows 10 - Similar Threads - Enable Disable Bash

  2. Enable or Disable Touchpad in Windows 10

    in Windows 10 Tutorials
    Enable or Disable Touchpad in Windows 10: How to: Enable or Disable Touchpad in Windows 10 How to Enable or Disable Touchpad in Windows 10 If your Windows 10 PC (ex: laptop) has a built-in touchpad, you may want to enable or disable on demand. This tutorial will show you how to enable or disable the touchpad...
  3. Enable or Disable Double Tap to Enable or Disable Touchpad in Windows

    in Windows 10 Tutorials
    Enable or Disable Double Tap to Enable or Disable Touchpad in Windows: How to: Enable or Disable Double Tap to Enable or Disable Touchpad in Windows How to Enable or Disable Double Tap to Enable or Disable Touchpad in Windows 10 If your Windows 10 PC (ex: laptop) has a built-in touchpad, you may want to enable or disable on demand. The...
  4. Installing Ubuntu bash on Windows 10 anniversary update

    in Windows 10 Installation and Upgrade
    Installing Ubuntu bash on Windows 10 anniversary update: I have a Windows 10 laptop which has the Anniversary update.I want to install the Ubuntu bash on it.I am on metered connection so I don't wanna upgrade from Anniversary update to fall creator update right now.I saw many sites that i need to turn on devloper mode in update...
  5. Installing Ubuntu bash on Windows 10 anniversary update

    in Windows 10 Installation and Upgrade
    Installing Ubuntu bash on Windows 10 anniversary update: I have a Windows 10 laptop which has the Anniversary update.I want to install the Ubuntu bash on it.I am on metered connection so I don't wanna upgrade from Anniversary update to fall creator update right now.I saw many sites that i need to turn on devloper mode in update...
  6. Bash on Ubuntu on Windows 10 - How are you finding it?

    in Windows 10 Support
    Bash on Ubuntu on Windows 10 - How are you finding it?: Hi, I was wondering if anyone else has installed Bash on Windows 10 yet, and what their experience has been? I see Microsoft are very clear that it is beta software: Bash on Ubuntu on Windows | MSDN I'm keen to try this out as it could be useful for me, but dont want...
  7. Enable or Disable Sets in Windows 10

    in Windows 10 Tutorials
    Enable or Disable Sets in Windows 10: How to: Enable or Disable Sets in Windows 10 How to Enable or Disable Sets in Windows 10 [img] Warning Sets is no longer available in Windows 10. Sets shell provided tab experience is no more in Windows 10 Microsoft had Windows Insiders as a controlled...
  8. Enable or Disable Timeline in Windows 10

    in Windows 10 Tutorials
    Enable or Disable Timeline in Windows 10: How to: Enable or Disable Timeline in Windows 10 How to Enable or Disable Timeline in Windows 10 Timeline is now available in Windows 10 starting with build 17063. It can be difficult to get back to stuff you were working on in the past. You might sometimes forget...
  9. Create Bash on Ubuntu on Windows 10 shortcut

    in Windows 10 Tutorials
    Create Bash on Ubuntu on Windows 10 shortcut: How to: Create Bash on Ubuntu on Windows 10 shortcut How to Create a Bash on Ubuntu on Windows 10 shortcut [img] Information Microsoft first made investments that improve cmd, PowerShell, and many other command-line tools and developer scenarios. Second Microsoft...
  10. Enable or Disable Cortana in Windows 10

    in Windows 10 Tutorials
    Enable or Disable Cortana in Windows 10: How to: Enable or Disable Cortana in Windows 10 How to Enable or Disable Cortana in Windows 10 Cortana is your cloud-based personal assistant that works across your devices and other Microsoft services. Depending on the capabilities of your device and the version of...