Create Ad Hoc Network - Wireless Hotspot In Windows 8


Apart from the new features of windows 8, you might have noticed that the some of the features of previous versions of windows are missing in windows 8 like setting up of ad hoc network. Previously users could easily create a ad hoc network share their internet connection with other people which is very useful if you are using data card to surf internet. Ad hoc network are also very useful for sharing files and  playing multiplayer LAN games but as this feature is missing in windows 8, it's a big problem for all the people.

In this post i am going to tell you how you can still create a Ad hoc network. Actually i am going to use the feature named SoftAP using the netsh utility instead of Ad hoc because Ad hoc feature is removed from windows 8. SoftAP acts similar to ad hoc with some of the advantages like you can use your wireless card to create access point as well as connect to wireless networks simultaneously.

Here are the steps:

+ In windows 8, On the start screen start typing cmd, right click on it and then click on run as administrator.


+ Now as we are going to create a virtual wireless hotspot so it is necessary that you computer supports  wireless hostednetwork/virtualization feature so in cmd type the below command and press enter.
netsh wlan show drivers


+ Now look for Hosted Network Supported and make sure that yes is written in front of it. If it says no then update the driver of your network adapter.
+ Now once you make sure that your computer supports virtualization. Type the following command and press enter.
netsh wlan set hostednetwork mode=allow ssid=network-name key=password

Replace network-name with the name of the network you want to create and password with which you want  others to connect to this network.

For example type: netsh wlan set hostednetwork mode=allow ssid=technocratRohit key=rohitagarwal


+ Now you have to start the hostednetwork to create an ad hoc network. So type:
netsh wlan start hostednetwork


+ Now the ad hoc network is created and anyone can connect to it. But if you want to share internet connection with others you have to enable it first. So go to:
Control Panel->Network And Internet->Network And Sharing Center->Change adapter settings

+ Here you will find that a new virtual connection has been created. Note down it's name.
+ Right click on the network device connected to internet and click on properties. Click on sharing tab and select Allow other network users to connect through this computer's Internet connection and from the drop down list choose the newly created ad hoc network.


+ Now to stop the ad hoc network in command prompt (cmd) type:
netsh wlan stop hostednetwork

 Advantage:

+ You can both create the ad hoc network and connect to the wireless network simultaneously.

If you find any problem then feel free to ask here.

37 Responses to Create Ad Hoc Network - Wireless Hotspot In Windows 8

  1. Avishek says:

    I get the following error message:

    Internet Connection Sharing cannot be enabled. A LAN network is already configured with the IP address that is required for automatic IP addressing.

    Help will be much appreciated.
    Thanks!

  2. @Avishek
    make sure that yes is written in front of hostednetwork as mentioned in step 1.
    And if yes is written then try using a particular ip address for sharing instead of automatic.

  3. Anonymous says:

    my tablet find my new virtual, it ask for password, but it attempt to connect and remain still.
    any suggest?

  4. @above

    When it asks for password you have to enter the password you wrote just after the key in the command. The key is the password which you have to use to connect to the created network.

    I hope this will help you.

  5. Anonymous says:

    use this simple tool to create wifi adhoc networks in windows 8...
    http://www.softpedia.com/get/Network-Tools/Misc-Networking-Tools/Wi-MAN.shtml

  6. i getting a error message which says


    The hosted network couldn't be started.
    The group or resource is not in the correct state to perform the requested operation.

  7. I get the same error message as @Bhavya Goyal.

  8. you are awesome! Whoever posted this. Thank you!

  9. Hello sire I want to ask you one question that when I connected my PC to modem and i want to share wireless to an other PC so how can do? Thanks

  10. Steve says:

    Thanks for the information. This works great however I need to type this information in everytime I reboot.

    Normally I would have included this in the startup of WINXP but that has gone missing as well.

    How can I run this script everytime my computer boots up?

    Thanks for your time.

    Cheers,

    Steve

  11. Anonymous says:

    how to completely remove the hostednetwork, as it still appears when "show hostednetwork"
    is viewed ?

  12. Anonymous says:

    I'm able to connect to the ad-hoc network but can not connect to the internet. Also when viewing the properties of ad-hoc network, it shows no internet access in front of IPv6 & showing internet access in front of IPv4.
    I've already shared the connection of my LAN to this ad-hoc network.
    Any suggestions?

  13. Anonymous says:

    i also got the same error message as @bhavya goel.
    Please Help?1

  14. Anonymous says:

    Hello,
    I got this error message : "the hosted network couldn't be started. A device attached to the system is not functioning".

    Thanks for helping.

    Regards

  15. Daimar Dominguez says:

    hello! thanks for everything.. but I got an issue, I enter the password and when I press "connect", stays like that... just "connecting...". I am using an iPhone 4S. what can I possibly do? I also tried to use connectify and virtual router plus, but non of them work... I used to have connectify running on windows 7 and worked like a charm, now, any of the options I have to create a hotspot in windows 8 work.

  16. Anonymous says:

    hey i wanna create an ad hoc so that i can use it for playing lan based games. The way described here is for allowing a device internet access and is not helping us with our dilemma, can anyone suggest something else please...

  17. @above

    The method for lan gaming is same as mentioned in this post. For lan gaming you just have to start the hosted network through command prompt and after that no internet sharing is required. Just connect to the hosted network through wifi and start playing.

    I hope this would help you :)

  18. when i Click on sharing tab and select Allow other network users to connect through this computer's Internet connection but from the drop down list only two options come 1.wifi 2.eathernet (no name of newly created ad hoc network).
    plz help as soon as possible

  19. Hi

    Thanks so much! this helps alot. I keep getting one issue that i can't get around though:
    Right after the hosted network is started (netsh wlan start hostednetwork), the next step is to allow internet connection sharing. I rich-clicked on the connection that has internet access --> properties --> sharing.... and the tick-box described is there, BUT there is no drop-down box below it..? there was before, though i seem to have done something to make it go away...help?

    Also, my iphone is batlling to connect to my ad-hoc network.. it sees it but just keeps trying to connect without success, I think this might have to do with the above mentioned issue, but i just thought i would mention it...

    Thanks in advance!

  20. Nice...Good luck for the next!

  21. Anonymous says:

    windows 8 seems sucks with wifi++

  22. I get the following message:

    there is no wireless interface on this system...

    plz help me....

  23. Anonymous says:

    rohit ji ! i tried the dos config method as u instructed it says a device connected is not functioning ! i unable to find what device is being talked about

  24. I am able to create hotspot by this me method, but not able to access it through the hotspot in my android device. I have airtel 4G Dongle in my laptop. Please help

  25. aditya says:

    even i am facing the same problem as Yashas , any one help !!

  26. I got this error message : "the hosted network couldn't be started. A device attached to the system is not functioning".
    please help

  27. I got this error message : "the hosted network couldn't be started. A device attached to the system is not functioning".
    please help

  28. I got this error message : "the hosted network couldn't be started. A device attached to the system is not functioning".
    please help


    go to device manager>view>show hidden devices>expand network adapters>right click(microsoft hosted virtual wireless network adapters)enable and u'ss see the virtual adapter u created

  29. Anonymous says:

    the group or resource is not in the correct state to perform the requested operation windows 8

  30. Anonymous says:

    i have done this and my adhoc network has created.but when i connect to this network in my mobile it says incorrect password.But i typed whatever the password that i given in cmd

  31. john raja says:

    "a device attached to the system is not functioning windows 8 " what could i do ...???

  32. hey.. its showing connected on my windows phone.. but websites are not opening. can you help?

  33. runa says:

    My adhoc keeps going into "Not in Range".

    I've been trying for a week now to get it working. I used netsh and it worked that first day fine. Then it slips into the not in range mode. I've tried to set it up as Static rather than DHCP, sometimes I get the connection running, but the internet never connects and in either a few seconds or a few minutes it slips back into Not in Range. I'm tired but I want it to work. Any solutions?
    If I'm making the Adhoc connection static, do I need to make the adhoc profile on my phone static as well? That's what I've been doing cos DHCP is just useless.
    Is there any IP configuration I need to use? I've tried 192.168.137.2 and it connected for like 3 minutes the other day with internet but again shut itself off. Why is it happening?

    I'm changing IP config in TCP/IP 4. Is there anything that needs to be done with TCP/IP 6?

  34. Anonymous says:

    win8 u r so fuck

  35. Anonymous says:

    I type all d syntax in d cmd interface, it accepted but displayed " u must run ds command frm a command prompt wt admstrator privilege" then i checked d network nd internet > change adapter settings. But it did nt displace new network 4 ad hoc except d existng one. Plz help me

  36. Anonymous says:

    Anonymous says:
    8:56 pm, September 15, 2013
    "I type all d syntax in d cmd interface, it accepted but displayed " u must run ds command frm a command prompt wt admstrator privilege" then i checked d network nd internet > change adapter settings. But it did nt displace new network 4 ad hoc except d existng one. Plz help me"

    Hey dude, press the window key on keyboard, now type cmd,right click on command prompt,click on "Run as administrator"...............You're done................ www.gamemastergreatee.blogspot.in

  37. error THE HOSTED NETWORK COULDN'T BE STARTED A DEVICE ATTACHED TO THE SYSTEM IS NOT FUNCTIONING
    PLEASE HELP

Leave a Reply

Powered by Blogger.