Skip to main content
Add more details and format commands
Source Link
Biswapriyo
  • 11.3k
  • 10
  • 48
  • 80

To install Windows Subsystem Linux, you have to enable Developer Mode in Settings App. So open Settings > Update & Security > For Developer > Developer Mode & select it to enable.

Developer Mode.png

Or you may do thatenable Developer Mode with registry tweak. Make registry sdscriptscript (.reg) with thisthe following::

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock]Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock]
"AllowAllTrustedApps"=dword:1
 
"AllowDevelopmentWithoutDevLicense"=dword:1

Then wait some time to download the developer package. Next, open the Control Panel, click “Programs“Programs”, and click “Turn Windows Features On or Off” under Programs and Features. Enable the “Windows Subsystem for Linux (Beta)” option in the list here and click “OK“OK”.” Or Alternatively install WSL with cmdcommands::

DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Windows-Subsystem-Linux /NoRestart

  1. Command Prompt:

     DISM.exe /Online /Enable-Feature /All /FeatureName:Microsoft-Windows-Subsystem-Linux /NoRestart
    
  2. Powershell:

     Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    

Then resrtart your system and you are good to go. From Windows 10 build 16215, it is no longer required to enable Developer Mode and beta tag was removed from WSL optional component. See this for more:: https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/Windows 10 Installation Guide for further details.

To install Windows Subsystem Linux, you have to enable Developer Mode in Settings App. So open Settings > Update & Security > For Developer > Developer Mode & select it to enable.

Developer Mode.png

Or you may do that with registry. Make registry sdscript with this::

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock]

"AllowAllTrustedApps"=dword:1
 
"AllowDevelopmentWithoutDevLicense"=dword:1

Then wait some time to download the developer package. Next, open the Control Panel, click “Programs, and click “Turn Windows Features On or Off” under Programs and Features. Enable the “Windows Subsystem for Linux (Beta)” option in the list here and click “OK.” Or install WSL with cmd::

DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Windows-Subsystem-Linux /NoRestart

Then resrtart your system and you are good to go. See this for more:: https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/

To install Windows Subsystem Linux, you have to enable Developer Mode in Settings App. So open Settings > Update & Security > For Developer > Developer Mode & select it to enable.

Developer Mode.png

Or you may enable Developer Mode with registry tweak. Make registry script (.reg) with the following::

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock]
"AllowAllTrustedApps"=dword:1
"AllowDevelopmentWithoutDevLicense"=dword:1

Then wait some time to download the developer package. Next, open the Control Panel, click “Programs”, and click “Turn Windows Features On or Off” under Programs and Features. Enable the “Windows Subsystem for Linux (Beta)” option in the list here and click “OK”. Alternatively install WSL with commands::

  1. Command Prompt:

     DISM.exe /Online /Enable-Feature /All /FeatureName:Microsoft-Windows-Subsystem-Linux /NoRestart
    
  2. Powershell:

     Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    

Then resrtart your system and you are good to go. From Windows 10 build 16215, it is no longer required to enable Developer Mode and beta tag was removed from WSL optional component. See Windows 10 Installation Guide for further details.

Source Link
Biswapriyo
  • 11.3k
  • 10
  • 48
  • 80

To install Windows Subsystem Linux, you have to enable Developer Mode in Settings App. So open Settings > Update & Security > For Developer > Developer Mode & select it to enable.

Developer Mode.png

Or you may do that with registry. Make registry sdscript with this::

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock]

"AllowAllTrustedApps"=dword:1

"AllowDevelopmentWithoutDevLicense"=dword:1

Then wait some time to download the developer package. Next, open the Control Panel, click “Programs,” and click “Turn Windows Features On or Off” under Programs and Features. Enable the “Windows Subsystem for Linux (Beta)” option in the list here and click “OK.” Or install WSL with cmd::

DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Windows-Subsystem-Linux /NoRestart

Then resrtart your system and you are good to go. See this for more:: https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/