Installing Kali Linux on Windows 10 doesn't requires Virtual Machine or VMware software to install it as a virtual OS. Windows 10 updated version have WSL2 feature which is better then it's previous version of WSL(Windows Subsystem for Linux). WSL2 have a full Linux kernel, that is awesome.
Although WSL utilize a very minimal HyperV virtualization technology to run the Linux kernel virtualization to run Linux on Windows. But we can tell this is better then traditional virtual technology.
Now we are going to install Kali Linux on our Windows 10 machine. This is going to be the easiest method.
First we need to be sure that we have an updated Windows 10. If not then we should update our Windows 10 PC. We also make sure that we have enabled hyperV on Windows features on/off.
First we need to install WSL2 on our Windows 10.
Although WSL utilize a very minimal HyperV virtualization technology to run the Linux kernel virtualization to run Linux on Windows. But we can tell this is better then traditional virtual technology.
Now we are going to install Kali Linux on our Windows 10 machine. This is going to be the easiest method.
First we need to be sure that we have an updated Windows 10. If not then we should update our Windows 10 PC. We also make sure that we have enabled hyperV on Windows features on/off.
First we need to install WSL2 on our Windows 10.
Installing WSL2 in Windows 10
To install WSL2 e need to search for PowerShell & run the PowerShell as administrator.Then we run the following command in PowerShell to enable the WSL:
Then we run following command to run Virtual Machine program:
The screenshot is following:
Now we must need to restart our PC.
After a restart we have to install the kernel packages for WSL2. To do this we need to to to this link and download the packages for x64 machines or we can do it by directly clicking here.
After download we need to run the update package, and finish the installation wizard.
We have successfully setup WSL2 in our Windows 10. To make it default we need to again open PowerShell as administrator and run the following command:
Install Kali Linux 2020.3
Now we are all set to install Kali Linux. To do this we just need to to the Microsoft store and search for Kali Linux app.Install it as we do with other Microsoft store apps and it is quite small in size(185 MB).
After installation finishes we "Lunch" it. It will take a little bit time on first running.
Then we need to type a username to login on our Kali Linux machine. As the following screenshot we entered our username. We can put whatever we want. Then hit enter.
Now it's time to set a new password for our user. We type the password but it will be hidden even not showing as *. Hit enter
Then we need to confirm the password.
We got Kali Linux terminal on our Windows 10 machine. Isn't it easy?
What ?? !!
Where is Graphical Interface? This is a terminal only. OK, we know that beginners are not comfortable with the terminal.
Kali Linux GUI using win-kex
Setting up the Graphical interface is also very easy. We just need to type following command on this Kali Linux terminal:BINGO!
We got Kali Linux's GUI in our Windows 10. This is easy to set up we can set this in some minutes. This way we can run Kali Linux on our Windows using HyperV virtual system using WSL. We also change the command line interface to GUI (Graphical User Interface) using win-kex. Win-kex released with the latest version of Kali Linux 2020.3.
Liked our tutorial ? Then follow us our blog and follow us on Twitter and Medium. For any query comment down below. We always reply.