The News‎ > ‎

Kali on Hyper V

posted Jun 10, 2019, 8:52 AM by Leigh Williams
I recently had to get Kali up and running on Hyper V. Here are some tips and tricks:

After installation, use these sources (they might change after some time so always check the Kali website for the latest):
nano /etc/apt/sources.list (and add the below)
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib

Install XRDP if you want a proper shared clipboard, fullscreen, etc the easy way
Apt-get install xrdp
update-rc.d xrdp enable
service xrdp start

Add sudo users if you want 
sudo useradd -m XXX
sudo passwd XXX
sudo usermod -a -G sudo XXX
chsh -s /bin/bash XXX

In Hyper V, create a new External switch. This might mess up your host's network speed. Run the below command in an elevated powershell prompt:
Set-VMNetworkAdapter –ManagementOS -Name <VirtualNetworkAdapterName> -VmqWeight 0



Comments