Is Manual Setup for WSL 2 Required? | Generated by AI

Home 2026.07

Question: Do we need to manually enable the Windows Linux features before installing WSL 2?

Answer:

Yes, conceptually WSL 2 requires enabling Windows features, but on modern Windows the command:

wsl --install

does this automatically:

So you usually do not need to open the Windows Features GUI.


If you want to do it manually:

  1. Press:
Win + R
  1. Run:
optionalfeatures.exe
  1. Enable:

Windows Subsystem for Linux

Virtual Machine Platform

Like this:

[✓] Windows Subsystem for Linux
[✓] Virtual Machine Platform

Then reboot.


After reboot:

Open PowerShell as Administrator:

wsl --set-default-version 2

Then install Linux:

wsl --install -d Ubuntu

For Windows 11, also make sure CPU virtualization is enabled:

Task Manager → Performance → CPU:

Virtualization: Enabled

If it says Disabled, enable:

in BIOS.

For your Lenovo Xiaoxin 14, this is usually already enabled, but worth checking if WSL2 complains about virtualization.


Generated by AI. Curating and sharing still takes effort. If you find it useful, feel free to donate. WeChat: @lzwjavaWeChat QR · X: @lzwjava · Say hi 👋

Back Donate