Skip to content

Instantly share code, notes, and snippets.

@nithin69
Created August 1, 2020 06:21
Show Gist options
  • Save nithin69/42e5dad676fb029831999bdd862eb727 to your computer and use it in GitHub Desktop.
Save nithin69/42e5dad676fb029831999bdd862eb727 to your computer and use it in GitHub Desktop.
install kali on windows 10 without vm
1. INSTALL WSL 2
RUN POWERSHELL as administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
RESTART
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
RESTART
Download Linux Kernel: https://aka.ms/wsl2kernel
SET DEFAULT TO WSL 2
wsl --set-default-version 2
CHECK VERSION
wsl --list --verbose
2. INSTALL GUI
sudo apt update && sudo apt upgrade -y
sudo apt install kali-desktop-xfce -y
XRDP
sudo apt install xrdp -y
sudo service xrdp start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment