How to Install WSL on Windows
A complete walkthrough getting WSL2 and a Linux distro running from a clean Windows installation — the single-command path, and what to check if it doesn't work cleanly the first time.
tag
29 posts
A complete walkthrough getting WSL2 and a Linux distro running from a clean Windows installation — the single-command path, and what to check if it doesn't work cleanly the first time.
For years, setting up WSL meant enabling Windows features manually, downloading a kernel update package separately, and installing a distro as separate steps. The wsl --install command collapsed all of it into one line.
Announced at Build 2020 and released to Windows Insiders the following spring, WSLg let a Linux graphical application's window appear on the Windows desktop like any native app — no separate remote desktop session required.
At Build 2019, Microsoft revealed WSL2 — not an incremental update, but an entirely different architecture running a genuine Linux kernel inside a purpose-built lightweight virtual machine.
Eighteen months after its first public reveal, WSL stopped being an experimental preview feature — gaining full Microsoft support, multi-distro installs via the Microsoft Store, and Windows Server compatibility.
Before WSL let Windows run real Linux binaries, Microsoft tried and abandoned a different compatibility project entirely. Here's the actual path from that cancellation to today's tightly-integrated WSL2.
Before WSL let Windows run real Linux binaries, Microsoft was building a bridge to run Android apps on Windows 10 Mobile instead. That project was shelved in February 2016 — clearing the way for what came next.
Released as a public beta on April 5, 2006, Boot Camp let Intel-based Macs dual-boot Windows XP just months after Apple's architecture transition began — a striking bet on cross-platform flexibility.
How WSL2 differs fundamentally from WSL1's syscall translation, running an actual Linux kernel in a lightweight, tightly-integrated VM.
How discretionary ACLs, mandatory integrity levels, and UAC's token-splitting combine to form Windows' layered access control model.
How WinRM and PowerShell Remoting turn scattered single-machine administration into fleet-wide scripted management.
How the Windows kernel represents processes as containers of handles and a security token, and the tools to inspect both live.
How Group Policy Objects, ADMX templates, and the client-side refresh cycle turn Active Directory structure into enforced machine configuration.
How Task Scheduler's triggers, actions, and conditions work together, and how to build and inspect scheduled tasks from the command line.
How the Service Control Manager starts, stops, and supervises background processes, and how to configure and debug a service directly.
How NTFS's Master File Table, transaction journal, and lesser-known features like alternate data streams actually work.
How a modern Windows machine goes from firmware to a running kernel, and where each stage's configuration actually lives.
How the registry's hive files, keys, and value types work under the hood, and the tools to inspect and edit them safely.
How Microsoft's 1975 founding led, eighteen years later, to hiring a DEC operating-system veteran to build Windows NT from scratch.
Released July 27, 1993, Windows NT 3.1 was the first shipping version of the from-scratch, Dave Cutler-led operating system that underlies every Windows release since.
First revealed via Windows 10 Insider Preview Build 14316 on April 6, 2016, WSL let Windows run real Linux binaries for the first time.
Announced June 24, 2021 by Panos Panay and released October 5, 2021, Windows 11 brought a redesigned interface and stricter hardware requirements.
A blue screen flashes by too fast to read. Here's how to pull the crash dump it left behind and find out which driver actually caused it.
Windows Update hangs at a percentage forever, or fails and rolls back every time. A systematic order of fixes, from least to most invasive.
Task Manager shows disk usage pinned at 100% with no obvious cause. Windows Search's indexer is a frequent culprit — here's how to confirm it and fix it properly.
A complete walkthrough using the official Media Creation Tool, plus how to verify the resulting USB actually boots before you need it in an emergency.
A complete BitLocker setup covering TPM requirements, the recovery key you must save externally, and how to verify encryption actually completed.
A complete guide to enabling System Restore, creating restore points at the right moments, and actually rolling back correctly when something breaks.
A complete walkthrough creating specific, scoped inbound and outbound rules with PowerShell, rather than the common mistake of just disabling the firewall entirely.