How to install kali linux on windows 10 with GUI [wsl 2] [kex]

Here is a full guide on How to install kali Linux on windows 10, with this, you will not need VM Ware nor do you need to dual boot your pc. This will simply Install kali Linux onto your windows 10 operating system. WSL2 And kex will be used in order to do install kali Linux on win 10.

What is wsl2?

WSL 2 is a new version of the architecture that powers the Windows Subsystem for Linux to run ELF64 Linux binaries on Windows. Its primary goals are to increase file system performance, as well as adding full system call compatibility.

What is the advantage of installing kali Linux on windows 10?

The main advantage is you don’t need to go through a long process to dual boot your system and also you can use both your linux and windows at the same time.

So let’s start the installation:- (video attatched at the bottom of the post)

Step 1: Open power shell as an administrator

Step 2: Enter the following commands

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

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Now restart your pc.

Step 3: Download the Linux kernel update package

By clicking this link download and intall the file.

Step 4: open your power shell and type this command

wsl –set-default-version 2

Step 5: Open your windows store in order to download and install kali Linux

After installing, launch the app and set your User Id and password

Step 6: Update and Upgrade all the packages by typing this command

sudo apt update && sudo apt upgrade -y

Done.. You have installed and updated kali linux on your windows 10.

Now to download the GUI (graphical user interface) :-

Step 1: Type this command

sudo apt install kali-win-kex -y

This process will take around 15-20 minutes…

Step 2: launch the GUI by typing kex

When you will launch kex for the first time you will need to setup 6 digit passcode then you are all set.

Kali linux is now up and running on your windows 10 using wsl2 and kex.

Tip:- After launching kex if you see an error or black screen type kex stop and then type sudo kex again to start.

This is the video tutorial for the above steps.

Is it safe to install kali linux on windows 10?

Yes, it is absolutely safe to install kali linux on windows 10. You are just utilizing the extra feature given by windows and saving your disk and time by not installing VM ware or dual booting your pc.

How to install kali linux on windows 10 in 2021

WSL 2 and Kex can be used to do that. This article is totally based on that. Just follow the steps and enjoy!

3 thoughts on “How to install kali linux on windows 10 with GUI [wsl 2] [kex]

Leave a Reply

Your email address will not be published. Required fields are marked *