Windows 10: 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
    17 May 2018
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 29,354

    Show Printable Version 


    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: 337
Size:  96.7 KB
    Name:  Ubuntu-2.png
Views: 338
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: 336
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: 330
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.". (see screenshot below)

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

    5. You can now install any Linux distro app (ex: "Ubuntu") you want for "Run Linux on Windows". (see screenshot below)

    Name:  Microsoft_Store_Linux_distro_apps-2.jpg
Views: 334
Size:  61.9 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: 331
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: 330
Size:  14.2 KB


    That's it,
    Shawn



  1. Posts : 42
    Windows 10 Pro, 64 bit, 1803, build 17134.48
       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 : 42
    Windows 10 Pro, 64 bit, 1803, build 17134.48
       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. Posts : 29,354
    64-bit Windows 10 Pro build 17672
    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. Posts : 29,354
    64-bit Windows 10 Pro build 17672
    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. Posts : 29,354
    64-bit Windows 10 Pro build 17672
    Thread Starter
       08 Aug 2016 #7

    You're most welcome. :)
      My ComputersSystem Spec

  •    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

  •    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 Xbox Windows 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 comes...
    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 05:17.
    Find Us