What's inside (all sections included)
- 0) Prerequisites β virtualization check (Task Manager + BIOS/UEFI note), latest GPU drivers, and required Windows features.
- 1) Update WSL β PowerShell as Admin:
wsl --update,wsl --version, status checks. - 2) Install Kali Linux β
wsl --list --onlineandwsl --install -d kali-linux. - 3) Set Kali default β
wsl --setdefault kali-linuxplus first launch notes. - 4) Update packages β
sudo apt update+ mirror fixes if updates fail. - 5) Install Win-KeX β
sudo apt install kali-win-kexandkex --win, with the recommended prompt answer. - 6) (Optional) Kali toolkit β
sudo apt install kali-linux-largewith recommended prompt answers. - Fixes & tips β kex not found, dpkg interrupted, stopping KeX vs stopping WSL, and more.
Recommended prompt answers (quick highlights)
- KeX view-only password? β n (so you can interact normally).
- Kismet setuid root? β Yes.
- Non-superusers capture packets? β Yes (Wireshark group).
- sslh: inetd vs standalone? β standalone.
Quick commands you will use a lot
kex --status/kex --stop/kex --win/kex --slwsl --terminate kali-linux/wsl --shutdown
Repo link
Full notebook-style guide: WSL-Installation_Guide
If anyone gets stuck at any step (WSL, mirrors, KeX, Wireshark permissions, dpkg errors), DM what you are seeing and I will help.
Educational note: This post is for learning and safe setup guidance.