Let's Run Kali on Windows

As you know, we can run the Kali system with options such as Dual Boot or VMware. Have you ever thought you could run it in a different way? Let's take a look together.
First of all, your Windows version needs to be 10 and the Microsoft Store app needs to be active.
First, let's get WSL (Windows Subsystem for Linux) enabled.
To enable WSL, follow these simple steps:
- Go to Control Panel and open "Apps & features".
- In the right pane, select "Programs and Features"
- In the menu on the left, click "Turn Windows features on or off".
- Select "Windows Subsystem for Linux" and save
- Restart your system

After the system has restarted, click the Start menu and run PowerShell as an Administrator and then enter the commands below.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Alt Sistem-Linux
Once that is done, look up Kali Linux in the Microsoft Store to find the app.

Since the app is free, you can download it with a single click.


When the download is complete, let's open a PowerShell window, type kali and press Enter.

The installation will take a few minutes , and during this time it will ask us for a system username and password

It does not accept it because I already have a registered root user.

So I set mtlive as the username and chose its password.

Next, let's download the XFCE4 graphical interface to our system.
wget https://kali.sh/xfce4.sh

When the download is complete, we run the file.
cat xfce4.sh

We run our configuration.
sudo sh xfce4.sh

This step may take a while.

We select the machine's keyboard language.

Ours is not here, so we click Other to continue.

After the language options, we specify the keyboard option.

Our process continues.


Our installation is complete.
Now we start our server for the Remote Desktop Connection.
sudo /etc/init.d/xrdp start

Then, without closing the window, open the Windows Run dialog and type mstsc or launch the Remote Desktop Connection application.

We enter our local IP and the port it has given us for the server.


Then our machine starts up and asks us to enter our login details.

Our session has opened successfully .

Next we open the Terminal window.

Finally, we enter the command below.
cat /etc/issue

After that, we log out.


We also stop the Remote Desktop Connection server.
sudo /etc/init.d/xrdr stop

We close the session completely.

That is all there is to it, friends. To run it, the path to follow is to first open CMD and type kali and then enter the sudo /etc/init.d/xrdr start command and launch Remote Desktop Connection. You can use the system however you like.
Inside the system, you can install whatever packages you want. As an example, let me talk about the web package. I recommend disabling your firewall, as it gets in the way while the packages are being installed.
apt-get update && apt-cache search kali-linux apt-cache show kali-linux-web |grep Depends apt-get install kali-linux-web
That is all. The final result looks like this.

I hope this has been a useful post.
Stay with knowledge and love...