Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Network | Monitoring » How to install WSL on Windows

How to install WSL on Windows

Posted on 26/12/202526/12/2025 Link State By Link State No Comments on How to install WSL on Windows
install WSL on Windows

In recent years, development on Windows has taken a huge leap forward thanks to tools that allow seamless integration of Linux environments directly into the operating system. In this article, we will discuss How to install WSL on Windows. Please, see What is Windows Subsystem for Linux, Various methods to install Windows Subsystem for Linux, and Install Ubuntu 20.04 LTS on Windows via WSL.

One of the most powerful solutions is the Windows Subsystem for Linux (WSL), which enables developers to run Linux distributions without relying on virtual machines or dual-boot setups. In this guide, we’ll walk you step by step through installing WSL on Windows, configuring your environment, and unlocking its full potential making your workflow more efficient and versatile.

Whether you’re a curious beginner or an experienced professional, this guide provides everything you need to start developing on Linux right from your Windows PC.

Also, see “how to install Windows Subsystem for Linux on Windows Server“, and “WSL Error 0x8007019e: WSL Register Distribution failed with error“.

Enable Windows Feature

Use the command below to enable Windows Features

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

Download package Ubuntu.appx

Invoke-WebRequest -Uri https://aka.ms/wslubuntu2004 -OutFile Ubuntu.appx -UseBasicParsing
image002-min

Rename & extract Ubuntu.appx

Rename-Item .\Ubuntu.appx .\Ubuntu.zip
Expand-Archive .\Ubuntu.zip .\Ubuntu
image003-min
image004-min

Check Ubuntu dir

image005-min

list file dir command

image006-min
cd C:\Users\Administrator\Ubuntu
dir
Rename-Item .\Ubuntu_2004.2021.825.0_x64.appx .\Ubuntu_2004.2021.825.0_x64.appx.zip
image007-min
Expand-Archive .\Ubuntu_2004.2021.825.0_x64.appx.zip
dir
image008-min

Move the extracted files to C:\Users\Administrator\Ubuntu

image009-min

Change dir and list files and lunch installation

.\ubuntu.exe
image010-min
image011-min

Post installation: Add your Linux distribution path to the Windows environment PATH (C:\Users\Administrator\Ubuntu in this example), using PowerShell:

$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";C:\Users\Administrator\Ubuntu", "User")

Here is the new WSL icon to launch the shell.

image-011-WSL-min

List your os-release distro

cat /etc/os-release
image-012-WSL-min

I hope you found this guide very useful on “how to install WSL on Windows”. Please, feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Network | Monitoring

Post navigation

Previous Post: Testing Disk Subsystem Integrity for SQL Server with SQLIOSim
Next Post: How to Resolve New WDAC Policy Issues in Azure Stack

Related Posts

  • ddedw
    You require permission from trustedinstaller: How to delete or rename files protected by Trusted Installer Network | Monitoring
  • image 9
    Fix Error 853: The remote access connection completed, but authentication failed because the certificate that authenticates the client to the server is not valid Network | Monitoring
  • banner
    How to Check and Reset Network Data Usage in Windows 11 Network | Monitoring
  • create Microsoft 365 Account
    How to create Microsoft 365 Account Network | Monitoring
  • Watchguard Firewall 180504 100511 1
    WatchGuard Firebox: Restoring Backups on XTM Device Network | Monitoring
  • cisco switches
    Delete the configuration of a Cisco router: How to wipe configuration off an interface on a Cisco router Network | Monitoring

More Related Articles

ddedw You require permission from trustedinstaller: How to delete or rename files protected by Trusted Installer Network | Monitoring
image 9 Fix Error 853: The remote access connection completed, but authentication failed because the certificate that authenticates the client to the server is not valid Network | Monitoring
banner How to Check and Reset Network Data Usage in Windows 11 Network | Monitoring
create Microsoft 365 Account How to create Microsoft 365 Account Network | Monitoring
Watchguard Firewall 180504 100511 1 WatchGuard Firebox: Restoring Backups on XTM Device Network | Monitoring
cisco switches Delete the configuration of a Cisco router: How to wipe configuration off an interface on a Cisco router Network | Monitoring

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • GRADLE FEATURE
    How to install Gradle on Ubuntu Linux
  • 1 WeXxkEX0JG3oB781HD8Hrg 3
    Fix Access denied to the hard drive, and the security tab missing under properties Windows Server
  • Perform an in place upgrade of Windows Server
    In-place upgrade of Windows Server 2022 to 2025 Backup
  • Featured image 3
    How to fix White Screen in Microsoft Teams Windows
  • https   blogs images.forbes.com jasonevangelho files 2018 06 windows 7 2018 edition 1200x676 1
    Windows deployment cannot continue, the operating system is missing via MDT deployment Windows Server
  • dfg
    DISM failed with error 0x800f081f: Source file could not be found Windows Server
  • LDPAs
    Fix LDAP Connection Error 81: Cannot open connection via the ldp.exe tool Windows
  • KIOSK AssignedAccess
    How to set up a Single App Kiosk Mode Configuration using a Local Account / MDM Bridge WMI Provider Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,821 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.