Enable or Disable Windows Subsystem for Linux in Windows 10  

Page 1 of 4 123 ... LastLast
    Enable or Disable Windows Subsystem for Linux in Windows 10

    Enable or Disable Windows Subsystem for Linux in Windows 10

    How to Enable or Disable Windows Subsystem for Linux (Bash on Ubuntu) in Windows 10
    Published by Category: Apps & Features
    18 Feb 2019
    Designer Media Ltd


    How to Enable or Disable Windows Subsystem for Linux for Bash on Ubuntu 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:

    This tutorial will show you how to enable or disable the Windows Subsystem for Linux feature for Bash on Ubuntu in Windows 10.


     CONTENTS:

    • Option One: To Enable "Windows Subsystem for Linux" Feature in Windows 10
    • Option Two: To Disable "Windows Subsystem for Linux" Feature in Windows 10


    EXAMPLE: Bash on Ubuntu on Windows

    The first time you run a Linux distro app (ex: "Ubuntu"), you will be prompted to enter a UNIX username and password after it has finished installing.
    Name:  Ubuntu-1.jpg
Views: 5133
Size:  96.7 KB
    Name:  Ubuntu-2.png
Views: 5063
Size:  104.3 KB






    Enable or Disable Windows Subsystem for Linux in Windows 10 OPTION ONE Enable or Disable Windows Subsystem for Linux in Windows 10
    To Enable "Windows Subsystem for Linux" Feature in Windows 10

    1. Open Windows Features, turn on (check) Windows Subsystem for Linux, and click/tap on OK. (see screenshot below)

    Name:  enable_Windows_Subsystem_for_Linux.jpg
Views: 5082
Size:  93.3 KB

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

    Name:  Restart.png
Views: 5064
Size:  14.2 KB

    3. Open the Microsoft Store app.

    4. Search for Linux in the Microsoft Store app, and click/tap on Get the apps under "C:\> Linux on Windows? Totally." to go to the Run Linux on Windows page in the Microsoft Store. (see screenshot below)

    Name:  Microsoft_Store_Linux_distro_apps-1.jpg
Views: 5118
Size:  98.6 KB

    5. On the Run Linux on Windows page in the Microsoft Store, you can now select to install any Linux distro app (ex: "Ubuntu") you want. (see screenshot below)

    Name:  Microsoft_Store_Linux_distro_apps-2.jpg
Views: 5119
Size:  61.9 KB

    6. Open the installed Linux distributions (apps) to finish installing and setting them up. (see screenshot below)

    Name:  WSL_setup.jpg
Views: 9
Size:  34.6 KB






    Enable or Disable Windows Subsystem for Linux in Windows 10 OPTION TWO Enable or Disable Windows Subsystem for Linux in Windows 10
    To Disable "Windows Subsystem for Linux" Feature in Windows 10

    1. Open Windows Features, turn off (uncheck) Windows Subsystem for Linux, and click/tap on OK. (see screenshot below)

    Name:  disable_Windows_Subsystem_for_Linux.jpg
Views: 5085
Size:  93.4 KB

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

    Name:  Restart.png
Views: 5064
Size:  14.2 KB


    That's it,
    Shawn



  1. Posts : 48
    Windows 10 Pro, 64 bit, 1809, build 17763.316
       03 Aug 2016 #1

    Now that Windows 1607 has been released, I'm trying to get bash to work.
    I've followed option 1 to enable bash, but on entering 'bash' at the command prompt I get:
    Code:
    Unsupported console settings. In order to use this feature the legacy console must be disabled.
    Any one know how to get past this?

    Thanks,
    Dave.
      My ComputerSystem Spec


  2. Posts : 48
    Windows 10 Pro, 64 bit, 1809, build 17763.316
       03 Aug 2016 #2

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

    Thanks,
    Dave.
      My ComputerSystem Spec

  3. Brink's Avatar
    Posts : 36,099
    64-bit Windows 10 Pro build 18836
    Thread Starter
       03 Aug 2016 #3

      My ComputersSystem Spec

  4.    08 Aug 2016 #4

    is this still a test feature ??? or is it out of testing mode now since windows is now released ?
      My ComputerSystem Spec

  5. Brink's Avatar
    Posts : 36,099
    64-bit Windows 10 Pro build 18836
    Thread Starter
       08 Aug 2016 #5

    Hello Tony, :)

    Bash on Ubuntu is still considered a beta feature in the Windows 10 Anniversary Update (version 1607 build 14393).

    Bash on Ubuntu on Windows 10 Anniversary Update Windows Subsystem for Linux
      My ComputersSystem Spec

  6.    08 Aug 2016 #6

    oh ok i wait then i don't need any system lock ups and stuff thanks for the info.
      My ComputerSystem Spec

  7. Brink's Avatar
    Posts : 36,099
    64-bit Windows 10 Pro build 18836
    Thread Starter
       08 Aug 2016 #7

    You're most welcome. :)
      My ComputersSystem Spec

  8.    08 Aug 2016 #8

    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 ).
      My ComputerSystem Spec

  9.    08 Aug 2016 #9

    yeah going to wait till its out of beta then i will activate it :)
      My ComputerSystem Spec


 
Page 1 of 4 123 ... LastLast

Tutorial Categories

Enable or Disable Windows Subsystem for Linux in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Performance & Maintenance Enable or Disable Hibernate in Windows 10 in Tutorials
How to Enable or Disable Hibernate in Windows 10 Hibernate is a power-saving state designed primarily for laptops, and might not be available for all PCs (PCs with InstantGo don't have the hibernate option). While sleep puts your work and...
Apps & Features Enable or Disable Cortana in Windows 10 in Tutorials
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 Cortana you’re using,...
In Windows 10, users will occasionally see app suggestions on Start such as Candy Age of Empires: Castle Siege, Asphalt 8: Airborne, Candy Crush Soda Saga, FarmVille2: Country Escape, Flipboard, Minecraft: Windows 10 edition, Netflix, Pandora,...
Apps & Features Enable or Disable OneDrive Integration in Tutorials
How to Enable or Disable OneDrive Integration in Windows 10 In Windows 10, you can easily save your files to OneDrive and get to them from any device, like your PC, tablet, or phone. OneDrive is free online storage at OneDrive.com that...
Is there a way to do this in windows 10? Indexer Backoff - Enable or Disable in Windows 7 - Windows 7 Help Forums

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:37.
Find Us