Skip to main content

How to install Kali Linux in Windows 10

 


Steps:

1. Install WSL2

Open Powershell as Administrator and run the below command. If it's already installed, it will show you WSL options. Restart the system.

wsl --install 

https://docs.microsoft.com/en-us/windows/wsl/install

2. On Powershell run the below command and restart the system.

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

3. In Powershell run the below command.

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

4. Download the Linux kernel and install it.

https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

5. Open Powershell and run the below command to set WSL2 as the default version.

wsl --set-default-version 2

6. Recheck the WSL version in Powershell.

wsl --list --verbose

7. Install your Linux distribution from the Microsoft store.

https://aka.ms/wslstore

8. Open your Linux by searching in Windows start and add your username and password.

How to install GUI in Linux?

1. Open your Linux and run the below command
sudo apt update && sudo apt upgrade -y
sudo apt install kali-desktop-xfce -y

2. Install XRDP
sudo apt install xrdp -y

3. Start the XRDP service
sudo service xrdp start

4. Do ifconfig in the Linux terminal to get your kali Linux IP address.

6. Open RDP in Windows, enter the IP address of your Kali Linux, and click connect.



7. Click on "Yes"



8. Enter your kali username and password.






Comments