Kali Linux is now available in the Microsoft App Store for Windows 10. Therefore, in this guide, Mytour will demonstrate how to install Kali Linux on Windows 10.
How to Install Kali Linux on Windows 10
Follow the steps below to install Kali Linux on Windows 10:
Step 1: The first step is to install WSL. To do this, right-click on the Start button, select Windows PowerShell (Admin).
Step 2: Copy and paste the command below, then press Enter:
1. Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Step 3: Restart your computer.
Step 4: Next, install Kali Linux. Find Kali Linux in the Microsoft App Store.
Step 5: Click on Get button to begin downloading and installing Kali Linux.
Step 6: After installing Kali Linux, click on the Launch button. Alternatively, you can use the Start menu shortcut, or open PowerShell or Command Prompt and type kali, then press Enter. During the first run, the installation process must complete. This may take some time.
Step 7: After the installation process is complete, the next step is to set up your WSL username and password. Use a different username and password from your Windows credentials. Remember to keep this information as you will need it for sudo commands and logging into the computer management interface.
Step 9: Next, we will set up the XFCE desktop environment, but first, we need to install some utilities. Run the command below to install wget, a utility for downloading files via HTTP. Enter the password you created in the previous step, when prompted, press Y to download and install:
2. sudo apt-get install wget
Step 9: Run the command below to download and install the script:
wget https://kali.sh/xfce4.sh
Step 10: Run the command below to execute the downloaded script. This step will take some time, and you will need to answer some questions about keyboard layout:
sudo sh xfce4.sh
Step 11: Start the xrdp server to connect to the XFCE desktop environment via Remote Desktop. Run the command below and note the ports listed in the output:
Step 3: After the xrdp server installation is complete, the next step is to set up your WSL username and password. Use a username and password different from your Windows credentials. Remember to save this information as you will need it for sudo commands and logging into the computer management interface.
Step 12: Once the xrdp server has started, open Remote Desktop (mstsc) on your PC and connect to 127.0.0.1:3390 where 3390 is the port displayed in step 11.
Step 13: Log in with the Unix login information you created in step 7.
Step 14: Click on Use default config to complete the process.
Now you are ready to utilize Kali Linux on Windows 10. Once you're done using Kali Linux, execute the command sudo /etc/init.d/xrdp stop at the Kali Linux Rolling command prompt to shut down the xrdp server.
In this article, Mytour has just guided you on how to install Kali Linux on Windows 10. Furthermore, if you have any queries or questions needing clarification, readers can leave their comments below the article.
Refer to additional articles guiding the installation of Kali Linux using VmWare. This process is quite intricate, demanding meticulousness and accuracy in each step. Installing Kali Linux using VmWare will provide you with an intriguing operating system experience.