fbpx

How To Install Kali Linux On Windows 11

Want to explore Kali Linux on your Windows 11 operating system? Follow these simple steps to get started.

To install Kali Linux on Windows 11, you can use the Windows Subsystem for Linux (WSL) feature. Here are the steps to follow:

1. Open an administrator command prompt and run the following commands:
– dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
– dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all

2. Restart your computer when prompted.

3. Download and install the WSL 2 Linux Kernel from aka.ms/wsl2kernel.

4. Restart your computer again.

5. Open a command prompt and run the command: wsl –set-default-version 2

6. Install Kali Linux from the Microsoft Store.

7. If you already have Kali Linux installed as WSL 1, you can upgrade it to WSL 2 by running the command: wsl –set-version kali-linux 2

8. Run Kali Linux to complete the initial setup of creating a new user.

Please note that these steps are for Windows 11. If you are using Windows 10, make sure your OS build/version meets the minimum requirements for WSL 1 or WSL 2.

Enabling Windows Subsystem for Linux (WSL) Feature

Before we begin, let’s enable the Windows Subsystem for Linux feature on your Windows 11 computer. This feature allows you to run Linux distributions, such as Kali Linux, directly on your Windows system.

To enable WSL, follow these steps:

  1. Open an administrator command prompt by right-clicking the Start menu and selecting “Command Prompt (Admin)”.
  2. Run the following commands one by one:
Command Description
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart This command enables the Virtual Machine Platform feature on your system.
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all This command enables the Windows Subsystem for Linux feature.

Once you’ve executed these commands, restart your computer when prompted. This is necessary to complete the installation process of WSL.

Downloading and Installing the WSL 2 Linux Kernel

After restarting your computer, you need to download and install the WSL 2 Linux Kernel. This component is essential for running Linux distributions on your Windows system.

Follow these steps to download and install the WSL 2 Linux Kernel:

  1. Visit aka.ms/wsl2kernel to download the WSL 2 Linux Kernel.
  2. Once the download is complete, open the installation file and follow the on-screen instructions to install the kernel.
  3. After the installation is finished, restart your computer again.

With the WSL feature enabled and the WSL 2 Linux Kernel installed, you are now ready to install Kali Linux on your Windows 11 computer.

Installing Kali Linux Using WSL 2

Now that the WSL feature is enabled, let’s proceed with the installation of Kali Linux using WSL 2 on your Windows 11 system. Follow these steps:

  1. Open an administrator command prompt and run the following commands:
  2. Command
    dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
    dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all
  3. Restart your computer when prompted.
  4. Download and install the WSL 2 Linux Kernel from aka.ms/wsl2kernel.
  5. Restart your computer again.
  6. Open a command prompt and run the command: wsl –set-default-version 2
  7. Install Kali Linux from the Microsoft Store.
  8. If you already have Kali Linux installed as WSL 1, you can upgrade it to WSL 2 by running the command: wsl –set-version kali-linux 2
  9. Run Kali Linux to complete the initial setup of creating a new user.

Please note that these steps are for Windows 11. If you are using Windows 10, make sure your OS build/version meets the minimum requirements for WSL 1 or WSL 2.

Why Use WSL 2 for Kali Linux?

Windows Subsystem for Linux (WSL) 2 offers several advantages for running Kali Linux on your Windows 11 system. With WSL 2, you can experience faster performance, improved compatibility, and a more seamless integration between Windows and Linux environments.

WSL 2 provides a full Linux kernel running in a lightweight virtual machine, ensuring better resource utilization and improved system performance.

By following the steps outlined above, you’ll be able to leverage the benefits of WSL 2 and enjoy a streamlined installation process for Kali Linux on your Windows 11 machine. This powerful combination allows you to harness the capabilities of both operating systems, opening up a world of possibilities for your development and cybersecurity needs.

Now that you have successfully installed Kali Linux using WSL 2, you can proceed to configure and customize your Kali Linux environment to suit your preferences and requirements.

Configuring Kali Linux and Finalizing Installation

Congratulations on successfully installing Kali Linux! Now, let’s configure the system and create a new user to get started with your Kali Linux experience.

Once Kali Linux is installed using Windows Subsystem for Linux (WSL) version 2, it’s time to make some initial configurations. Open the command prompt and enter the following commands:

wsl --set-default-version 2

This command sets the default version of WSL to 2, ensuring that any future installations will be based on the latest version.

Next, open the Microsoft Store and download the Kali Linux app. If you already have Kali Linux installed as WSL 1, you can upgrade it to WSL 2 by running the command:

wsl --set-version kali-linux 2

This command will upgrade your existing installation to the latest version, providing improved performance and compatibility.

With Kali Linux now configured, you will be prompted to create a new user. Follow the on-screen instructions to set up your username, password, and other relevant details. Once the setup is complete, you can start exploring the powerful tools and features that Kali Linux offers.

Remember, these steps are specific to Windows 11. If you are using Windows 10, ensure that your operating system build/version meets the minimum requirements for WSL 1 or WSL 2.

Enjoy your Kali Linux experience and make the most out of its extensive range of security testing and penetration tools!