Feature name microsoft windows subsystem linux is unknown

Skip to content



Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Description

I get this error when I try to run the command. Any ideas how to fix this?

PS C:\WINDOWS\system32> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-WindowsOptionalFeature : Feature name Microsoft-Windows-Subsystem-Linux is unknown.
At line:1 char:1

  • Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows- …
  •   + CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
      + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
    
    
    

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: f2668f02-b96f-7f16-6fc5-950a1e5f86b9
  • Version Independent ID: 75f3a2fb-99bd-0161-28ba-5c86e917f4d5
  • Content: Install the Linux Subsystem on Windows 10
  • Content Source: WSL/install-win10.md
  • Service: windows-subsystem-for-linux
  • Product: windows-subsystem-for-linux
  • GitHub Login: @scooley
  • Microsoft Alias: scooley

Enable-WindowsOptionalFeature : Feature name Microsoft-Windows-Subsystem-Linux is unknown.
You got this error while trying to enable «Microsoft-Windows-Subsystem-Linux» feature to get the bash on ubuntu on Windows 10 through PowerShell command.
This simply indicates your system has not met the proper criteria to upgrade to get the Windows 10, with OS build at least 14316.

If you think you have the pre-requisite to get the developer mode Windows 10, please check below pre-requisites:

Prerequisites

  1. Windows 10 Anniversary Update — build 14316
  2.  Available as of 8/2/2016
  3. x64-based processor
  4. Your PC must have an AMD/Intel x64 compatible CPU
  5. You must be a member of the (free) Windows Insider Program (Preferably Fast-Ring)
  6. Your PC must be running a 64-bit version of Windows 10 Anniversary Update build 14316 or later

You can verify the below requisites through below steps.

  1. To Check the Windows build version press Windows + R & then type winver.
  2. To check the processor Go to this path through Windows Explorer:                                    Control Panel\System and Security\System
  3. To be a member of the Windows Insider program, you need to apply it through below steps.
    • Open Settings(Type settings in Cortana Search box) -> Update and Security -> For developers
    • Select the Developer Mode radio button.
    • Reboot Your system.
  • Enable the Windows Subsystem for Linux feature (GUI)

    1. Hit start and search for «Turn Windows features on or off» (type ‘turn’)
    2. Select Windows Subsystem for Linux (beta)
    3. Click Ok.

Windows 10: Windows Subsystem for Linux is missing in Windows 10 Home 1903

Discus and support Windows Subsystem for Linux is missing in Windows 10 Home 1903 in Windows 10 Installation and Upgrade to solve the problem; I’m trying to activate Windows Subsystem for Linux but it seems that it is simply not present in my Windows copy.

It doesn’t show up in control…
Discussion in ‘Windows 10 Installation and Upgrade’ started by DPard, Jun 13, 2019.

  1. Windows Subsystem for Linux is missing in Windows 10 Home 1903

    I’m trying to activate Windows Subsystem for Linux but it seems that it is simply not present in my Windows copy.

    It doesn’t show up in control panel. Running the command on PowerShell throws an error:

    PS C:\WINDOWS\system32> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    Enable-WindowsOptionalFeature : Feature name Microsoft-Windows-Subsystem-Linux is unknown.

    I don’t know what the problem is. I also tried to repair Windows, but everything was ok:

    PS C:\WINDOWS\system32> DISM.exe /Online /Cleanup-image /Restorehealth
    >> sfc /scannow

    Deployment Image Servicing and Management tool
    Version: 10.0.18362.1

    Image Version: 10.0.18362.175

    [==========================100.0%==========================] The restore operation completed successfully.
    The operation completed successfully.

    Beginning system scan. This process will take some time.

    Beginning verification phase of system scan.
    Verification 100% complete.

    Windows Resource Protection did not find any integrity violations.

    Can somebody help me activating Windows Subsystem for Linux, please?

    :)

  2. Windows Subsystem Linux

    Hello,

    We would like to know more about the issue you’re experiencing with using
    Windows Subsystem for Linux
    . Kindly answer the following questions:

    • Are you developing a program, an app, or a software for Linux?
    • Is your Window 10 PC connected to a domain?
    • Are you managing a Windows Server PC?
    • What troubleshooting steps have you tried so far?
    • Can you tell us the Version and OS build of your Windows 10 device? You can find this information by clicking the
      Start button, type About your PC, and then press
      Enter.

    We need the following information in order to determine if we need to refer your concern to the
    TechNet forums or the Microsoft Developer Network (MSDN) forums.

    For now, we suggest reviewing these support articles to find out if there’s an issue with the installation of
    Windows Subsystem for Linux:

    • Install the Windows Subsystem for Linux
    • Troubleshooting Windows Subsystem for Linux

    We’ll be waiting for your response.

  3. windows 10 subsystem for linux wireless drivers missing

    thank

    good suggestion

    raised here:

    windows 10 subsystem for linux wireless drivers missing

  4. Windows Subsystem for Linux is missing in Windows 10 Home 1903

    Windows Subsystem for Linux

    Is LXD available to use on Windows Subsystem for Linux? Thanks

Thema:

Windows Subsystem for Linux is missing in Windows 10 Home 1903

  1. Windows Subsystem for Linux is missing in Windows 10 Home 1903 — Similar Threads — Subsystem Linux missing

  2. Linux for Windows Subsystem

    in Windows 10 Gaming

    Linux for Windows Subsystem: Hello!I have been using WSL on my computer for over a year, and my organization recently switched to Office 365. In doing so, the third party IT guy that came in set up a new local account for me. Now, I cannot access my WSL installation on the new user. I am trying to find a…
  3. Windows Subsystem for Linux

    in Windows 10 Gaming

    Windows Subsystem for Linux: Hello,Could you please provide me with the answers to the following questions regarding Windows Subsystem for Linux 2 + Kernel?When was the release date for version 5.10.60.1 of this application? Is version 5.10.60.1 still supported will receive updates, security or…
  4. Windows Subsystem for Linux

    in Windows 10 Software and Apps

    Windows Subsystem for Linux: Hello,Could you please provide me with the answers to the following questions regarding Windows Subsystem for Linux 2 + Kernel?When was the release date for version 5.10.60.1 of this application? Is version 5.10.60.1 still supported will receive updates, security or…
  5. Windows subsystem for Linux

    in Windows 10 Installation and Upgrade

    Windows subsystem for Linux: Hi,

    I want to enable Windows subsystem for Linux for my Windows 10, x64 laptop.

    I have enabled the setting, but I am not able to install UBUNTU post that.

    Code: 0x80072EE2

    Any help in this regard is appreciated.

    Thanks….

  6. Windows subsystem linux

    in Windows 10 Customization

    Windows subsystem linux: Why my WLS going down every two month? After that, subsystem make reset and i need configure it again? and this system make reset of all config without my asking. Where is my files, may be i have something important? where my profile, how can i recover it? When it will be…
  7. Linux Subsystem for Windows

    in Windows 10 Software and Apps

    Linux Subsystem for Windows: I wanted to install ubuntu on my windows but I keep getting this error. Any work around?

    thanks.[ATTACH]

    https://answers.microsoft.com/en-us/windows/forum/all/linux-subsystem-for-windows/813223fc-ff0a-410f-b761-efa28a1df384

  8. What is new for Windows Subsystem for Linux in Windows 10 version 1903

    in Windows 10 News

    What is new for Windows Subsystem for Linux in Windows 10 version 1903: The next Windows update is coming soon and we’re bringing exciting new updates to WSL with it! These include accessing the Linux file system from Windows, and improvements to how you manage and configure your distros in the command line.

    Accessing Linux files from Windows…

  9. windows 10 subsystem for linux wireless drivers missing

    in Windows 10 Drivers and Hardware

    windows 10 subsystem for linux wireless drivers missing: In an attempt to install Bash for Windows to use in VS Code, I install the WindowsSubSystemForLinux from Control Panel\Programs\Programs and Features | Turn Windows features on or off.

    Having chosen »Windows Subsystem for Linux»

    Restart

    All network drivers are disabled…

  10. Windows subsystem for Linux

    in Windows 10 Customization

    Windows subsystem for Linux: I am getting the message » We couldn’t complete the updates … undoing changes» when I restart the computer after enabling WSL in the «Programs and Features» settings. I am running windows 10 home ver 1803 installed on 05 Aug 2018 OS Build 17134.191

    Due to this, I am unable…

Users found this page by searching for:

  1. windows subsystem for linux missing

    ,

  2. linux subsystem missing commands

    ,

  3. windows subsystem for linux not listed

    ,

  4. Windows Subsystem for Linux feature missing,
  5. Enable-WindowsOptionalFeature : Feature name Microsoft-Windows-Subsystem-Linux is unknown.,
  6. windows 10 home subsystem for linux,
  7. not working Microsoft-Windows-Subsystem-Linux,
  8. lxrun 1903,
  9. missing options wsl,
  10. lxrun missing windows 10,
  11. lxrun /install 1903,
  12. windows 1903 linux subsystem installieren ,
  13. windows 10 lxrun not found 1903,
  14. how to install wsl in windows 10 1903,
  15. windows subsystem linux missing


Readers help support Windows Report. We may get a commission if you buy through our links.

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Usually, when you try to run any software, service, or app that requires the Linux environment, you may get an error.

In most cases, if you install the Ubuntu app from the Microsoft Store and open it, this problem will appear. When it occurs, you get the following message: The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.

It also may show an error code 0x8007019e. But don’t worry, you can easily fix this problem if you take the proper steps.

Does the Windows Subsystem for Linux slow down a PC?

To make your development work much more pleasant, you may enable WSL. It does not hurt Windows performance.

Any services in the background take a few computing resources. The WSL is not different. However, according to the users, it doesn’t slow down the PC.

We have tested it by ourselves. Our research also has found that modern computers can easily handle Windows Subsystem for Linux without negatively affecting performance.

Moreover, it can be an essential feature for some users. So, you may need to turn it on, particularly when you face the error mentioned in this article.

How do I enable Windows Subsystem for Linux on Windows?

If you want to enable WSL on your PC, you can easily do it. But, before that, we suggest you do the following things:

  • Update Windows to the latest version.
  • Ensure you are using Windows 11 or 10, as other versions don’t support this feature.

Now, you can follow the methods mentioned below to enable Windows Subsystem for Linux.

1. Install the optional feature

  1. Press Win + I on the keyboard to open Windows Settings.
  2. Go to Apps and click on Optional features.
    going optional features windows 11 settings

  3. Click on More Windows features to open the Windows Features window.
    going more windows features windows 11 settings

  4. Tick Windows Subsystem for Linux and click on OK.
    enabling windows subsystem for linux

  5. It will install the required components.
  6. Restart your PC after completing the process.

Alternatively, you also can search for the optionalfeatures on the Start Menu to find and open the Windows Features window. It can be necessary if you don’t find the exact options shown in the above steps.

After enabling the WSL, you can try to open the Ubuntu terminal or any other app or service that was showing the error. Hopefully, you will not see the same again.

2. Use the PowerShell command

  1. Open the Start Menu, type PowerShell, and hit Enter.
  2. Now, type the following command and press Enter to execute it: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    enable windows subsystem for linux using powershell command

  3. Wait for a while.
  4. Restart your PC after PowerShell installs the required features.

Now, verify if it has solved the problem or not. If PowerShell can successfully enable this optional feature, you can use the Ubuntu terminal or any other app that requires WSL without any error.

Read more about this topic

  • D3dx11_42.dll Not Found: How to Fix it
  • Windows 11 Shutdown After Inactivity: 4 Ways to Stop it
  • Windows Shuts Down Instead of Restarting: 4 Ways to Fix it
  • Error no Ace Condition 804 (0x324): Fix it With 4 Steps
  • Windows 11 Shutdown But User Stays Logged in: How to Fix it

3. Enable Developer Mode

NOTE

If you are using the latest builds, enabling Developer Mode is no longer necessary. In case you are running an older build, perform the steps below to enable it.

  1. Open Windows Settings.
  2. Go to Privacy & security and click on For developers.
    going for developers windows 11 settings

  3. Turn the Developer Mode by tweaking the appropriate switch.
    turning on developer mode windows 11 settings

  4. Click on Yes on the popup window.
  5. Restart your PC.

For more detailed steps, learn how to enable Windows 11 Developer Mode. If the Developer Mode is a requirement, try to enable the latest WSL again and see if it works.

This article has explained how to fix Windows Subsystem for Linux is not enabled. If you have any opinions or suggestions, feel free to let us know in the comments box.


Hasibul Kabir

Windows Software Expert

Hasibul Kabir is a Tech-Enthusiast Blogger, Web Developer & Hobbyist Game Developer. Writing about Technology, mainly Windows, Mac, iOS, etc., is his main focus, besides doing some computer science-related work.

He loves exploring new technology and presenting it with simple words to the audience. When not at work, Hasibul plays video games, explores nature, tastes delicious foods, or learns new things.


Ubuntu is a Linux based distribution that is totally free and open source. The program also provides support for Windows 10 and is used by a lot of people for software developing purposes. However, quite recently a lot of reports have been coming in where users are unable to use it and the Error “The WSL Optional Component is not Enabled. Please Enable it and Try Again” is seen while trying to do so.

“The WSL optional component is not enabled. Please enable it and try again” Error Message

What Causes “The WSL Optional Component is Not Enabled. Please Enable it and Try Again” Error on Ubuntu?

After receiving numerous reports from multiple users, we decided to investigate the issue and devised a set of solutions to fix eradicate it completely. Also, we looked into the reason due to which this issue is triggered and listed it as follows.

  • Disabled Component: As the error message indicates, the error is triggered if the Windows Subsystem for Linux is disabled. Windows Subsystem for Linux is a very important feature and needs to be enabled in order for Ubuntu to work properly on Windows 10 because it provides all the important configurations and distributions needed for Ubuntu to run correctly.

Now that you have a basic understanding of the nature of the problem, we will move on towards the solutions. Make sure to implement the solutions carefully, in order to avoid conflict.

Method 1: Turning WSL ON Through Control Panel

There are a couple of methods which we can apply to rectify the problem. However, in this step, we will be taking the easiest route and enable WSL through the Control Panel. For that:

  1. Press “Windows” + “R” keys simultaneously to open the Run prompt.
  2. Type in “Control Panel” and press “Shift” + “Ctrl” + “Enter” to provide administrative privileges.

    Typing in “Control Panel” and pressing “Shift” + “Ctrl” + “Enter” to provide administrative privileges
  3. Click on the “View By” option and select “Small Icons“.

    Clicking on “View By” and selecting “Small Icons”
  4. Click on the “Programs and Features” option.
  5. Select the “Turn Windows Features On or OFF” option in the left pane.
  6. Scroll down and select “Windows Subsystem for Linux“.

    Checking the “Windows Subsystem for Linux” option”
  7. Click on “OK” to enable the feature.
  8. Check to see if the issue persists.

Solution 2: Turning WSL ON Through PowerShell

We can also enable the WSL Feature by using the Command Prompt. Therefore, in this step, we will be implementing a command in the command prompt to enable the WSL Feature. For that:

  1. Press “Windows” + “R” keys simultaneously to open the Run prompt.
  2. Type in “Powershell” and press “Shift“+ “Ctrl” + “Enter” to provide administrative privileges.
  3. Type in the following command and press “Enter“.
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  4. Wait for the command to be executed and check to see if the issue persists.

    Enabling WSL

Kevin Arrows

Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Windows 7 отключить надпись тестовый режим windows
  • Как создать загрузочную флешку windows 10 под uefi или bios в rufus
  • Как записать информацию на диск в windows 10
  • Настройка подключения на windows 10 pppoe
  • Как убрать активацию windows 10 с экрана навсегда через cmd