Download from microsoft https://wsldownload.azureedge.net/16.04.2-server-cloudimg-amd64-root.tar.gz
or ubunut https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-root.tar.gz
- First enable Windows Subsystem for Linux from
Program and Features->Turn Windows features on or off - Restart Windows (MS has a thing for rebooting)
- Download one of the image and host it on your local web server if not done already
- Start Fiddler and enable
Automatic Breakpoints(Alt+F11) - Start command prompt and run
lxrun /install /y - Switch to Fiddler. You will see a request to
https://go.microsoft.com/fwlink/?LinkID=730581. Click onHeaderstab -> Right click onLocation->Edit Header-> Paste your local link URL (i.e. http://localhost/xenial-server-cloudimg-amd64-root.tar.gz) and click on - - Save -> Run to Completion - There will be another request to
http://localhost/xenial-server-cloudimg-amd64-root.tar.gz. Just click on “Run to completion” this time. - After some time, there will again another request to download “ubuntu.ico”. Just allow it.
- Create a new user and you are ready to go!