Skip to content

Instantly share code, notes, and snippets.

@ivanpaulovich
Created September 13, 2019 13:16
Show Gist options
  • Save ivanpaulovich/9b30b5f069523468ef0fc90269ca805f to your computer and use it in GitHub Desktop.
Save ivanpaulovich/9b30b5f069523468ef0fc90269ca805f to your computer and use it in GitHub Desktop.
install-wsl-ubuntu-in-retricted-machines.md

Activate Windows Subsystem for Linux.

Run with Admin Rights

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

Enable Developer Mode:

Settings > Update & Security > For Developers and select Developer mode.

Download Ubuntu with:

Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing

Rename Ubuntu.appx to Ubuntu.appx.zip, extract and run the installation ubuntu1604.exe.

More details in Manually download Windows Subsystem for Linux distro packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment