Mar 21, 2024 06:12 PM
(This post was last modified: Mar 21, 2024 08:59 PM by kvothesplank.)
Hey, maybe this is helpful for someone. Its just a step by step on how to install Kali in windows and access it without having to use a dual-boot or virtual machine.
Code Update your System: Before starting, ensure your Windows system is up to date.
Launch PowerShell as Administrator: Right-click on the PowerShell icon and select "Run as administrator."
Enable Windows Subsystem for Linux (WSL): In PowerShell, enter:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
If prompted, reboot your system.
Enable Virtual Machine Platform and WSL: In PowerShell, enter the following commands separately:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Restart your system if required.
Download Linux Kernel Update Package: Download the Linux kernel update package from here: https://aka.ms/wsl2kernel
Set WSL 2 as Default Version: In PowerShell, enter:
wsl --set-default-version 2
Install Kali Linux from Microsoft Store: Open the Microsoft Store and search for "Kali Linux."
Install Kali Linux and launch it.
Update Kali Linux: In the Kali Linux terminal, run:
sudo apt update && sudo apt upgrade -y
Install Desktop Environment: Install the XFCE desktop environment by running:
sudo apt install kali-desktop-xfce -y
Install XRDP: Install XRDP for remote desktop access:
sudo apt install xrdp -y
sudo service xrdp start
Connect to Kali Linux via Remote Desktop: Open the Remote Desktop Connection on your Windows system.
Type sudo ifconfig in the Kali terminal to find its local IP address.
Use the IP address to connect to Kali Linux via Remote Desktop Connection.
Install any additional tools you need from the Kali Linux repository or from external sources.
To find a list of available tools, visit Kali Linux Tools: https://www.kali.org/tools/kali-meta/
Additional Notes:
Remember to restart the XRDP service each time you stop and restart Kali Linux via the Microsoft Store to ensure Remote Desktop Connection works.
The local IP address of Kali Linux may change each time you restart it, so use sudo ifconfig to retrieve the current IP address.
Buy this signature space and help pay for my children university.
The official docs might be easier to follow.
DO NOT DEAL WITH THIS MEMBER
thanks a lot it helped a lot
Alot of pretty pointless fucking about for something you could just dualboot
(Mar 24, 2024 06:36 AM)trojanwhite Wrote: Alot of pretty pointless fucking about for something you could just dualboot
Thanks for your amazing response, running both at the same time is something you cant do with dual boot. But keep being a helpful and constructive force in the forum! have a nice day
Buy this signature space and help pay for my children university.
Keep in mind that Kali is not really made to be used as your daily driver. So most of the time using it as your main linux machine is not worth it. Just install another distro and get the tools or use Docker.
Your title says "no virtual machine" and then your instructions say "Enable Virtual Machine Platform". Something ain't adding up there.
(Mar 27, 2024 06:18 PM)Cannot Compute Wrote: Your title says "no virtual machine" and then your instructions say "Enable Virtual Machine Platform". Something ain't adding up there.
True, maybe I wasn't clear enough. I meant it as in "no need to install a vm software", since in my personal experience this has been way more comfortable than running VMware or Virtualbox. Thanks for pointing it out :)
Buy this signature space and help pay for my children university.
DO NOT DEAL WITH THIS MEMBER
(Mar 21, 2024 06:12 PM)kvothesplank Wrote: Hey, maybe this is helpful for someone. Its just a step by step on how to install Kali in windows and access it without having to use a dual-boot or virtual machine.
Code Update your System: Before starting, ensure your Windows system is up to date.
Launch PowerShell as Administrator: Right-click on the PowerShell icon and select "Run as administrator."
Enable Windows Subsystem for Linux (WSL): In PowerShell, enter:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
If prompted, reboot your system.
Enable Virtual Machine Platform and WSL: In PowerShell, enter the following commands separately:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Restart your system if required.
Download Linux Kernel Update Package: Download the Linux kernel update package from here: https://aka.ms/wsl2kernel
Set WSL 2 as Default Version: In PowerShell, enter:
wsl --set-default-version 2
Install Kali Linux from Microsoft Store: Open the Microsoft Store and search for "Kali Linux."
Install Kali Linux and launch it.
Update Kali Linux: In the Kali Linux terminal, run:
sudo apt update && sudo apt upgrade -y
Install Desktop Environment: Install the XFCE desktop environment by running:
sudo apt install kali-desktop-xfce -y
Install XRDP: Install XRDP for remote desktop access:
sudo apt install xrdp -y
sudo service xrdp start
Connect to Kali Linux via Remote Desktop: Open the Remote Desktop Connection on your Windows system.
Type sudo ifconfig in the Kali terminal to find its local IP address.
Use the IP address to connect to Kali Linux via Remote Desktop Connection.
Install any additional tools you need from the Kali Linux repository or from external sources.
To find a list of available tools, visit Kali Linux Tools: https://www.kali.org/tools/kali-meta/
Additional Notes:
Remember to restart the XRDP service each time you stop and restart Kali Linux via the Microsoft Store to ensure Remote Desktop Connection works.
The local IP address of Kali Linux may change each time you restart it, so use sudo ifconfig to retrieve the current IP address.
ty
(Mar 22, 2024 01:14 PM)DramaKing Wrote: The official docs might be easier to follow.
I agree with DramaKing, the actual docs are pretty much more understandable and easy to follow. Lol.
|