Setup WiFi Hotspot on Windows 8 Tablet or Computer to share internet

What is wireless ad-hoc connection?

Well, If you set up wireless ad hoc connection on your windows computer, you’ll be able to connect other devices to your computer’s wifi network and thus share the internet connection of your computer with other devices without the need of external router or access point, etc. This is similar to wireless tethering and portable hotspot feature on your android phone. On Windows 7, we have an option in new connection setup wizard in network and sharing center for this purpose, but on windows 8, we do not get any such option to set up wireless ad hoc connection, but that doesn’t mean you can not do it. I wonder why Microsoft removed that particular option from there when every device now a days is coming up with hotspot and tethering feature. Anyways, in this tutorial we’ll learn how to turn our computer into wifi hotspot on windows 8 so that other devices could connect to our computer via WiFi. We’ll also learn how to share our windows 8 computer’s internet connection with other devices without using WiFi router..

How to configure windows 8 computer as WiFi Hotspot

  • Press win key + x and Choose command prompt (Admin) option from the menu displayed. Alternatively, you can type cmd on start screen, right click on command prompt from the search results, choose run as administrator.
  • Now in the command prompt window, type netsh wlan set hostednetwork ssid=nameofnetwork key=networkpassword
  • Instead of typing nameofnetwork in the above step, type any name that you want to give to your network.. Instead of typing networkpassword in step above, type secure hard-to-guess password that you want for your network so that anyone trying to connect to your network must know the password.
  • Now type netsh wlan start hostednetwork and press enter. You windows 8 laptop/tablet/computer will now be configured as WiFi Hotspot. Any other device could now connect to your computer’s WiFi using the password that you set in the step above. So, Turn WiFi on other devices like your smartphone or another laptop running any version of windows be it windows 7, vista or windows xp. On the second device, your WiFi network name will be shown, connect to it. It’ll ask for the password. Enter the same password you created in second step. Done. Your second device will be connected to your computer’s WiFi.
  • If you want to remove or stop the newly created ad-hoc connection, type netsh wlan stop hostednetwork in command prompt(admin).

How to share your computer’s internet connection with other devices

In the first part of this tutorial above, we configured our system as WiFi hotspot, but still other devices connected to our system won’t be able to access internet. Hence we need to follow this part of tutorial so that every devices connected will be able to use our system’s internet connection.

  • First, make sure your main system is connected to internet via WiFi or wired connection or usb modem or whatever medium.
  • Now type network and sharing center on start screen and choose settings and then choose the concerned search result. Alternatively open control panel and go to the concerned option.
  • In network and sharing center, your newly created WiFi hotspot as well as your system’s main internet connection will be listed. Click on the network link of your system’s main internet beside Connections and select properties from the dialog box that opens.share wifi windows 8 500x93 Select Sharing tab. Tick mark the option – Allow other network users to connect through this computer’s internet connection. Now select your WiFi Hotspot connection name from dropdown box below.windows 8 hostspot Hit on Ok. Done.
  • Now, all other devices, laptops connected to your computer’s WiFi ad-hoc connection will be able to access internet using your system’s primary internet connection.

If you face any problem with this method, just comment here and we’ll help you. You can also make use of third-party tools like Free Virtual Router for Windows 8 or Windows 7, Connectify, etc, but I hope this method explained in this article is simple and fair enough that you don’t require any third-party utilities. This method also works on Windows 7 and can be used to connect any device be it phone, tablets, another laptop or computer running any operating system.

Tagged with 

134 thoughts on “Setup WiFi Hotspot on Windows 8 Tablet or Computer to share internet

  1. [...] face any problem following this video, you can read our detailed step by step instructions here : Setup WiFi hotspot on Windows 8. After setting everything as demonstrated, you can create homegroup to share files between windows [...]

    • how to make a wifi but no password??

    • i am getting this error

      The username and password cannot be saved saved for use by all user..
      as a result internet connection can only dial when u are logged on
      ’to enable automatic dialing create a new connection and save username and password for all users ”

      even though i am using only a single user on my laptop which is also the Admin

    • You can use Virtual Router ( http://virtualrouter.codeplex.com ) to more easily set up your computer as a Wifi Hotspot.

    • Thanks Saurabh!! it worked like a charm.

    • hello! iam not getting any dropbox in the sharing tab after ticking the option -’Allow other network users to connect through this computer’s internet connection’ …instead its just showing a textfield written ‘ethernet’ in it..

    • when i click the “allow other network users to connect through this
      computer’s internet connection under the sharing tab saying
      (The username and password for this connection cannot be saved for by all users,as a result,
      ainternet connection sharing can only dial this connection when you are log on,
      To enable automatic dialing,you should creat a new connection for all users,save your user name and password
      for all users,and then enable sharing for the new connection)
      CN YOU HELP ME FOR THIS PROBLEM??THANKS IN ADVANCE,,,,,

  2. Not working on my windows 8 PC and I am able to discover wifi on my window phone but not able to connect with it.

  3. not working….”The hosted network couldn’t be started.
    The group or resource is not in the correct state to perform the requested operation.”

    • the error you are getting is probably because you have not turned on wifi of your pc prior to entering the commands. First make sure your computer’s wifi is turned on and then try the above tutorial.

  4. i disable the private network, how to enable it again?

    • what do you mean? Did you select public as the network type? Just go to network and sharing center (type this phrase on start screen and choose settings and then this).. click on the connected network link in the window that opens and change the network mode from public to private..

      • sorry for my english before…i do all step on your tutorial, and then the connection ‘hotspot’ as private network appear, like in your video, i try connect my tab, connected but i cant use the internet connection, why? and then i open the properties of the connection, i click disable…the connection disappear, how to make it back? i try to type netsh wlan start hostednetwork, but its not work like the first i did..(see my first comment)

        • First, you should stop hostednetwork by typing the following command so that you can start it again: netsh wlan stop hostednetwork
          … Now, internet connection was not working in earlier case because you didn’t follow the second part of this tutorial i.e. you need to enable internet connection sharing on your computer’s already connected network.. So, that WiFi network will be able to use computer’s internet..

  5. HEY DUDE , I HAVE DONE EVERY SINGLE STEP INDICATED
    BUT M UNABLE TO USE IT ON MY SMART PHONE … BECAUSE IT HAS STUCKED ON OBTAINING IP ADDRESS …

    • Try providing ip address on your smartphone manually.. Check the local ip address on your pc and try providing some incremental number in the last part of ip address on your phone..

  6. Unfortunatly I disable the my shared adhoc network which I was created by given cmd. my Q. is that how I enable the my adhoc network again.

    below i paste the error which i was found

    C:\windows\system32>netsh wlan start hostednetwork
    The hosted network couldn’t be started.
    The group or resource is not in the correct state to perform the requested oper
    tion.

    • You need to first switch on your computer’s WiFi.. This error occurs generally when WiFi is turned off..

      • Saif Mohammed says:

        i disable my network which i created it how to enable it again because when i do it again it give me error C:\windows\system32>netsh wlan start hostednetwork
        The hosted network couldn’t be started.

        • How did you disable your network? Using stop command as mentioned in the article or by disabling the adapter/connection itself?

  7. saurabh my problem is same as sujeet s n yes i had turned on wifi still its showing the same error pls help!!

    • As you can see in the video, when my WiFi was turned off, I received that error.. I turned the WiFi on and no such errors were received.. Maybe you should try the stop command first and then start command while WiFi should be turned on .. If you’re trying this on laptop, there must be some shortcut key combination to turn on WiFi..

  8. i had tried a lot time but it not done yaar
    my wifi is on
    i am using private network
    but stil not working….”The hosted network couldn’t be started.
    The group or resource is not in the correct state to perform the requested operation.”

  9. how to change the wifi password????

  10. how to remove the wifi password ???

  11. Hotspot started successfully but in my phone (galaxy note n7000), while connecting the wifi its stucks on “OBTAINING IP ADD”… and so on plz help… i have win8 pro..

  12. hi there, thanks for all the information, it worked great until now, i got a problem, when i try to start the connection it tells me that it’s impossible to start the network because the network doesn’t find in the appropriate mode to start the connection, do you have any idea about what should i do in this case?

    • Stop the network first using the command given in the tutorial above and then try starting again..
      Make sure wifi is turned on

      • hi, i’ve tried but it keeps telling me the same thing, is it possible that an error or something from my internet provider would cause this problem?or from my laptop?many thanks

  13. i am getting the same error , as sujeet , please help

    • Read my reply to Sujeet and other comments and follow accordingly and see if that helps..

      • i tried turning wifi on and doing all steps , still same results…………….

        the 1st time i did this it was a success but i selected wrong sharing option bymistake.. then i erased the connection and tried to do it again… but i am getting the error…………..

  14. did that too , still getting same error……………………..

  15. hey Saurabh thanks for the method done everything without any error……but not able to share internet on any device don’t know why

  16. hi,am stuck at making a internet connection to the new hotspot,after selecting properties and then sharing i clicked on allow………. , but there is no name of the new hotspot in dropdown box ,,,, pls help

  17. you must run this command from a command promt with the administrator privilage

    please what to do because I m the administrator of my PC

  18. Iam facing the same problem what ragav also facing. I hav try the commant with STOP also with the administrator privilage but it still showing, The hosted network couldn’t be started “The group or resource is not in the correct state to perform the requested operation.”. So pls give me the solution for this as soon as possible plsss…..(My wifi is still rising)

  19. how do i use the command STOP /

  20. Hey can you just make a video for the little error everyone is getting because I’m getting the same error & i don’t know whats going on.

  21. I’m posting this comment because wifi problems in Win 8 are quite common.
    Had problem to connect new Win8 Samsung Ativ to my wlan, everything seems to be ok, Ativ did show several networks including my hidden one but Windows always returned “cannot connect with this wlan”.
    I did turn on “broadcast SSID” on my wireless router and now it works perfectly!

  22. Thanks for the tip! Do you have any idea how many computers can connect to my laptop once it is set up as a hotspot? Can I connect say twenty computers? This might work good in schools for example.

  23. Manpreet Singh says:

    Hi,

    Greetings !!

    My device is connected with the newly created wifi network, but still i am unable to access internet in my device. please help me..

  24. can i use internet in mobile with use of laptop wifi hotspot?

  25. i’m using relance netconnect i tried but how to enable the private network to public network here i’m getting error

  26. I followed all the instructions correctly and I still get stuck on “connecting” and never get connected…using Xperia V

  27. Hey man. I got it to work for a few minutes. But afterwards my phone and tab lost connection and now it wont connect? Is there any reason for that? I tried to stop and start the hostednetwork again. But nothing. It get stucked at connecting. Then fails.

  28. SWAPNANIL RAY says:

    I am not able to share the systems main connection to local area connection* 14

  29. Avinav Kumar says:

    Hi I am connected to hotspot but there i am unable to access internet on my mobile .

    • Did you enable sharing of your current internet connection on your pc?

      • Avinav Kumar says:

        Yes saurabh i have enabled…..have followed all the instructions . I am able to connect to the hotspot with my mobile but there is no internet access. I have also changed the IP and gateway settings in my mobile as indicated in some places but without success.

  30. ArunAdhithan says:

    I’m using Reliance Netconnect+ in my lap & I’m trying to connect my Tab to my lap…
    But My Tab doesn’t detect the wifi network created using my lap….
    And moreover, when I check on the “Allow other devices…..” in the SHARING tab and press OK, I get the following message
    “Since this connection is currently active,some settings will not take effect until the next time you dial it”
    And when I disconnect & Reconnect my lap’s internet device(USB modem), I get the same error message…..
    Awaiting your reply…
    And thanks for this video which was simple & effective… :)

    • ArunAdhithan- I got the same message, then I turned off my mobile phone wifi (not the laptop wifi)and restarted it after few seconds. And it worked.

  31. i m not able to share my wired connection with new created network….please help…

  32. [...] via virtual router program. If you do not want to use any third-party program, let me tell you that Windows 7 or Windows 8 has inbuilt feature to create such WiFi Hotspot and we’ve already discussed that in the linked article. But, those users who want ready-made [...]

  33. i tried al the steps which u mentioned , i stopped the wlan which i created
    But now m trying to make a new one its saying resourse or group is not in correct format

    i tried to download a virtual router as well still in that app also it says the same error
    please helpp me, i cant figure out where i need to make changes. is it something more deep i need to change
    answer ASAP guys

  34. This tutorial worked perfectly for me, but is there a way to stop it other than entering the stop command. If that is the only way I can handle it though.

  35. Manpreet Singh Gill says:

    Hey! Its easy but i’m getting an error : ” The hosted network couldn’t be started.

    A device attached to the system is not functioning. ” Please help …… what’s the problem it says device not functioning but my wired broadband modem is connected and i’m able to surf the internet….please reply fast…

  36. i want to delete the hosted network…….what should i do.

  37. You should type following in Your prompt (admin)
    netsh wlan stop hostednetwork

  38. jose morlas says:

    it say it is not in the correct state to porform

  39. hey ! i am gettng an error of no response from the wifi network.plz help me

  40. amaresh,arkadeep,shoumik says:

    thanks dude..it works perfectly….

  41. use this if you get resource or group error: netsh wlan set hostednetwork mode=allow ssid= key=

    Change: to your preferred name and to your preferred key

  42. I use reliance netconnect+ dongle I tried to share it but it is not happening its shows access type(for hotspot I created )no internet access even though I have shared internet connection of the dongle please help

  43. saikiranbv says:

    i am getting a error msg of the command was not found

  44. c:\windows\system32>netsh wlan start hostednetwork
    The hosted network couldn’t be started.
    The group or resource is not in the correct state to perform the requested operation.

    I HAVE MET THIS PROBLEM . WHAT SHOULD I DO ?

  45. after selecting sharing option from properties network dropdown list not shown and the network i m created on win 8 not shown in my another win 7 laptop

  46. Does this work if there is no WiFi option like in desktops . .because i m using desktop and there is no WiFi option and i don’t want to buy any WiFi Router . .
    so will this work ?

  47. correction dude….we can only share wired or wireless network except any usb modem…… on win 8…….

  48. the group is not in the correct state…??? i m gwtting this what it is??

  49. Rajveer Singh says:

    I am facing the problem in the command. when i type the last command to set the hostednetwork then it says that the hosted network couden’t be started.The group or resources not in the correct state to perform the requested operation.

  50. for those getting error

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

    goto start>run type devmgmt.msc
    then goto view>show all hidden devices

    drop down “Network Adapters”
    right click on “Microsoft Hosted Network Virtual Adapter”
    enable

    then in the Admin CMD type

    netsh wlan stop hostednetwork

    then

    netsh wlan start hostednetwork

    you should be able to get it to work again.

  51. hi saurabh,

    the wierd thing is that, im connected.

    im able to ping to google.com or any sites.

    but i cannot browse internet.

    any idea.. no proxy config or anything set.

    i tried setting to google DNS -no luck

    any idea?

    • You’ve to be more specific, like which firewall is active on your system?
      Is the problem being faced only using hotspot or on direct net connection as well?
      What’s the ip adress resonse you see when you ping google?

      • i was using mcafee internet security – i disabled that and i was able to browse the internet.

        problem is only faced by devices connected to the hotspot.

        i did not take note of the IP Add..sorry..

        but i got it working after that..we need to add an exception for the IP range..

        thanks for the reply

  52. for those who can connect to your hosted Wifi network but unable to browse or the device gets disconnected.

    check back ur Firewall settings,

    u need to add an exception.

    u can test it by disabling the firewall for 60 minutes then test the connection, it shud work.

  53. Hey man thanks!

    Quick question:
    If i disconnect the Ethernet cable from my laptop will i lose connection on my smart phone (ipod and iphone)
    My sister using the connection so will i be able to connect again on smartphone if she plugs her computer into Ethernet

    Also if i remove the Ethernet and it is not connected will i not be able to connect to the wifi i made on smart phone

    Thanks again!

  54. i have saved my id and password succesfully. but when i want to start the network. there is a error. its showing “the hosted network couldn’t be started. the group or resource is not in the correct state to perform the requested operation”, so what is the problem.

  55. i have saved my id and password succesfully. but when i want to start the network. there is a error. its showing “the hosted network couldn’t be started. the group or resource is not in the correct state to perform the requested operation”, so what is the problem.

  56. I have forgotten my password, what now?

  57. I have the same case with Avinav Kumar, can connect to wifi hotspot on my notebook running windows 8, got an IP Address, but cannot browsing to the internet…
    I have enabled share at my primary NB connection, try disable firewall and antivirus for a while, disable IPv6, but still no luck… even when I ping (download tools from play store) it’s not reachable as well… stuck and need help here….

  58. Hi,

    I could see the network on my ipad and iphone but even after 10 minutes of them trying to connect, it is not connecting. Any specific reasons?

  59. get error message : An error occurred while internet connection sharing was being enabled. The service cannot accept control messages at this time

  60. Hi.
    I need to connect to a vpn connection after connecting to my universities wireless in order to have internet access. I tried your method but there is no internet on the virtual router connection. I would be appreciated if tou help me with this.

  61. It worked like a charm! thank you…i was struggling with this for a while.

    • Well, I wrote it worked…and it actually does. I can easily connect through WiFi my iPhone 5 to Asus laptop and use the internet…The problem starts when my iphone goes to standby (maybe 5 min). The connection is established again, but internet doesn’t work on the phone. Any idea why this happen? In the meanwhile my 3g usb dongle internet connection works just fine on the laptop. When I disable WiFi on my phone and enable it again…i can’t even connect back to the hotspot…. Help please?

  62. Deepak Dinakaran says:

    Thanks for u r tip, its working fine but is there any idea to make it permanent means after restarting also the access point need to be working condition.

  63. I am getting an error pop-up while selecting checkbox and clicking ok button as ‘An error occured while internet connected Sharing was being enabled. (null). could you please help me ASAP. do i need to set anything from settings

  64. i made my computer as wifi hotspot. but i couldn’t find name of tht network in the control panel home page. so that i cant connect to internet.

  65. Rajat srivastava says:

    wow,,,,,,,itne easy step bata-te ho ki koie bhi configure kr le thank u very very much,,,,,,,,,now i can access internet on my mobile phone via wi-fi from laptop ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,thank u again

  66. “The hosted network couldn’t be started.
    A device attached to the system is not functioning. ”

    All those who are getting this error, ensure that the Wireless LAN is not turned off.

  67. Muhammad Abiyyu says:

    what is that until ssid? = or + please answer

  68. thanks saurabh i do it all well. I have got my wifi hotspot on my mobile too. But i was unable to do net on my phone. So i once again checked connections in control pannel .But it was showing no internet access in my hotspot connection. What i have to do now?

  69. hi saurabh, and gopi ,please help me i did it well as you said. But the thing is i was able to connect wifi to my phone samsung s duos and nokia e63 but i was able to do net on my nokia but in my samsung mobile it was just happening for few seconds after that i was unable to do net in my samsung mobile. What i have to dofor this to get net in my samsung mobile also?

  70. hi saurabh
    i m getting an error stating… The hosted network couldn’t be started. The group or resource is not in the correct state to perform the requested operation.

  71. hi saurabh,i created the wifi hotspot last night and i slept off when i woke up this morning my laptop was already dead and i charged it and switched it on but the wifi was gone…please what should i do??!
    thanks.

  72. did something wrong now getting that im not the admin and it wont command plz help

  73. hi i just followed all the steps and the network has been established. I tried to connect this wifi in my mobile but it is not getting connected only.its shows that its authenticating and then i.m getting authentication problem error.
    what to do for this error please reply with a solution.
    Thank you

  74. the hosted group or resource is not in correct stare to perform the requested operation error

    neither connectify nor virtual router work.

  75. every time i start my lappy i have 2 creat it again…can u tell me hw 2 set it permanent..??

  76. kennard taylor says:

    when i do it i complete all the steps but at the end when i get ready 2 tick the box that will share my main connection it says “an error occured while network sharing was being enabled, cannot complete this function”….any ideas how 2 fix this problem?

  77. I am able to start hotspot once but when I tried this for second time, I am getting an error telling
    “The hosted network couldn’t be started.
    The group or the resources is not in the correct state to perform the requested operation”
    And also the set up network is not being shown in the control panel
    Please help as soon as possible

  78. Hi,

    I was able to enable the wifi on windows 8, my iphone was able to connect but cannot browse any web.
    how to disable firewall?

  79. thanks …… first time when i did this it worked but i am getting one problem now..
    in (open network and sharing center) (private network – no internet access)
    its showing like this…..and in my mobile its unable to obtain the ip address …

  80. sanjay koyalkar says:

    bhai your tooooooooooooooooooooooooooooo awesome , i was used to waste my pc internet data thanks a lot bhai

  81. Hi,

    I did all the things which you have advised in the tutorial. My android mobile says that the wifi is connected to my pc’s hotspot. But when I go to browsing, google homepage is not at all getting started. Its has been loading and finally it says that there is a server problem..

  82. After using:
    netsh wlan stop hostednetwork

    I can still see the hotspot I created when I run:
    ipconfig /all

    What is the command to complete remove the hotspot?

    This techique worked to create & use the hotspot but now the Ethernet port doesn’t work on the PC.

    Cheers!

  83. Xavier Werexx says:

    Not working.. i have followed every single steps u showed.. but when i connect my blackberry 9800 with this wifi connection, it shows “Failed to get proper IP address” in my mobile screen… What’s the solution ???

  84. i am getting error when i type this one
    +++++c:\windows\system32>netsh wlan start hostednetwork

    you must run this command from a command prompt with administrator privilege

  85. After following your complete process, next day by mistake, i right clicked on newly created network and selected disable. now when i am again opening cmd prompt and entering the cmd (netsh wlan start hostednetwork) then m getting rply …’hosted network coudnt be started.. group or resource is not in correct state to perform this operation’. plz help me to resolve this problem. i’ll be thankful to u.

  86. bro plz help me out … im getting error=failed to obtained an ip address.
    plz help me and i apreciate ur work

  87. i don’t have wifi what will i do?

  88. how to make wifi ap without password in windows 8?

  89. all is ok….but the virtual network dont send any data..i connect my android device bt cant access network..what can i do?

Leave a Reply

Your email address will not be published. Required fields are marked *