Saturday, 5 June 2021

Kali Linux on Windows 10

Follow along Step by Step 


Run Powershell as Administrator 

1) Enter this command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux 

 When asked for Restart Click Y. 

 Run Powershell as Administrator 

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

Restart your Machine. 

Download Linux Kernel: 

https://aka.ms/wsl2kernel (Install the linux kernel.)

Open the Powershell in Administrator. 

4) wsl --set-default-version 2 (For Setting the wsl version 2 as default) 

Now Open the Microsoft Store and search for Kali Linux.
(Install the App and Launch it) 

5) Set the Username and Password. 

For Installing Kali Linux GUI

Use the following commands: 
6) sudo apt update && sudo apt upgrade -y 

For Desktop Environment:
7) sudo apt install kali-desktop-xfce -y 

 For XRDP: 
8) sudo apt install xrdp -y 
9) sudo service xrdp start

Thats It..!!!

No comments:

Post a Comment

 Hypervision Off through Cmd Open Cmd as Administrator Run this command :  bcdedit /set hypervisorlaunchtype off