Enable or Disable Windows Subsystem for Linux WSL in Windows 10  

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

    Enable or Disable Windows Subsystem for Linux WSL in Windows 10

    How to Enable or Disable Windows Subsystem for Linux WSL in Windows 10
    Published by Category: Apps & Features
    17 Jun 2019
    Designer Media Ltd


    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





    Enable or Disable Windows Subsystem for Linux WSL in Windows 10 OPTION ONE Enable or Disable Windows Subsystem for Linux WSL in Windows 10
    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)

    Name:  enable_Windows_Subsystem_for_Linux.jpg
Views: 10824
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: 10781
Size:  14.2 KB

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






    Enable or Disable Windows Subsystem for Linux WSL in Windows 10 OPTION TWO Enable or Disable Windows Subsystem for Linux WSL in Windows 10
    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)

    Name:  disable_Windows_Subsystem_for_Linux.jpg
Views: 10786
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: 10781
Size:  14.2 KB






    Enable or Disable Windows Subsystem for Linux WSL in Windows 10 OPTION THREE Enable or Disable Windows Subsystem for Linux WSL in Windows 10
    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)

    Name:  Enable_WSL_in_PowerShell.jpg
Views: 5657
Size:  46.5 KB

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






    Enable or Disable Windows Subsystem for Linux WSL in Windows 10 OPTION FOUR Enable or Disable Windows Subsystem for Linux WSL in Windows 10
    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)

    Name:  Disable_WSL_in_PowerShell.jpg
Views: 5655
Size:  50.8 KB


    That's it,
    Shawn


    Related Tutorials



  1. Posts : 51
    Windows 10 Pro, 64 bit, 1903, build 18362.295
       #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 : 51
    Windows 10 Pro, 64 bit, 1903, build 18362.295
       #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 : 41,520
    64-bit Windows 10 Pro build 18965
    Thread Starter
       #3

      My ComputersSystem Spec

  4.    #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 : 41,520
    64-bit Windows 10 Pro build 18965
    Thread Starter
       #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.    #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 : 41,520
    64-bit Windows 10 Pro build 18965
    Thread Starter
       #7

    You're most welcome. :)
      My ComputersSystem Spec

  8.    #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.    #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 WSL 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 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...
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,...
Is there a way to do this in windows 10? Indexer Backoff - Enable or Disable in Windows 7 - Windows 7 Help Forums
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 20:11.
Find Us