Sunday, January 26, 2014

Create A Wireless Ad-Hoc Network on Windows 8 Using command line

For the hackers

This method works with all versions of Windows. This article is relevant and important here since the best way to start with hacking is to practice on yourself. You are going to need two adapters for this task. One on Windows which will create the network, and another on Kali Linux which will hack the network. This article concentrates only on the former part of the exercise, and we'll only create an ad-hoc network here. So non-hackers too can follow from here on.



For everyone

  1. Get access to an elevated command prompt (with administrator privileges). [On Windows 8 : Press Windows key + X or hover your mouse to the lowermost corner on the left part of the screen and right click. Then click "Command Prompt Admin"
    Ad hoc network Elevated command prompt
  2. Now type netsh wlan show drivers 

  3. If the hosted network supported says yes, move on to the next step
  4. Now type - netsh wlan set hostednetwork mode=allow ssid=<enter_network_name_here> key=<enter_password_here>
  5. Finally type  netsh wlan start hostednetwork. Your ad-hoc network is ready.