Windows 8, Ad-Hoc where did you go?


For some reason that I haven’t been able to find in Windows 8 Ad-Hoc networks have been removed. Well not actually removed but the UI is removed, confused? Well there is a simple couple of commands you can use to launch an Ad-Hoc network. It may not be as nice but it is better than  Win7, is not labelled as Ad-Hoc and you can connect Android devices to it!

You will need a Command Prompt with Administrative Permissions


netsh wlan set hostednetwork mode=allow ssid=<wifi name> key=<password>

Now enable it:

netsh wlan start hostednetwork


Simple hey? Oh remember you may actually want an internet connection go to Network Connections and edit the properties of your network connection with Internet and change the Internet Connection sharing option to the Network newly created, looks like this the * gives it away.



Lazy and want to automatically do this create a bat file with your custom details, create a new Task in the Task Scheduler and remember to up the permissions or will fail!

You may find that the connection turns off therefore a more robust script is to disable first.

netsh wlan stop hostednetwork
netsh wlan set hostednetwork mode=allow ssid=<wireless> key=<password>
netsh wlan start hostednetwork
Posted by Stuart James Saturday, May 11, 2013 4:00:00 PM Categories: HowTo Windows8
Stuart James