How to Install Kali Linux or Any Linux Distribution in Windows 10?
First: Enable Developer Mode:
1. Right-click on: Start icon and select: Settings
2. Click on: Update & Security option
3. Click on: For Developers option
4. Enable: Developer Mode
5. Click Ok.
6. Go to: Programs and Features or paste this path link to any Windows Explorer: Control Panel\Programs\Programs and Features.
7. Click on: Turn Windows features on or off.
8. Navigate into: Windows Subsystem for Linux and enable it.
9. Click on: Restart now.
Second: Install Kali Linux Distribution:
1. Open this link in browser and chose to open it in Microsoft Store: oka.ms.wslstore
2. Select Kali linux from the list
3. Click on: "Get" button
4. Click on: "Install" button
5. Click on: Install icon
6. After finishing store-installation, Click the icon of Kali linux to allow completing in-app installation.
7. Enter a username without using upercase letters or root word.
8. Enter a password and rewrite it again (You will not see anything when typing password).
Third:
Exclude Kali Linux from Windows Defender scan
Press Windows+R keys and type: AppData and hit Enter Navigate to Local>Packages and locate Kali Linux folder and copy it.
Fourth: Updating libraries
sudo apt-get update
sudo apt-get dist-upgrade
FIFTH: Installing Metasploit Framework
sudo apt-get install metasploit-framework