Turn Windows PC into a WiFi Hotspot using Internet Connection Sharing

In this post, we will see how to turn on Internet Connection Sharing & create a WiFi hotspot in Windows 10/8.1/8 using the netsh wlan utility, command prompt, and Wireless Hosted Network or using some free WiFi Hotspot Creator software. We will also see how to easily create a Mobile Hotspot via Windows 10 Settings,

I just bought a Nokia Lumia 920 Windows Phone and found that while downloading apps which were greater than 50MB in size, I either needed Wi-Fi connection or a 3G connection. I was on 2G and I did not have a wireless connection at home.

Turn Windows PC into WiFi Hotspot

While one could always use free WiFi Hotspot creator software like Baidu Wi-Fi Hotspot appConnectifyVirtual Router Manager, MyPublicWiFi, Bzeek, WiFi Hotspot Creator, MyPublicWiFi, mSpot, etc, to create a WiFi hotspot, I wanted to create one natively in Windows 8/10.

The procedure for creating one on Windows 7 was different. When I tried to do it on my Windows 8 Dell laptop, I found that the settings to Create an ad hoc network via Network and Sharing Center did not exist. The only option then, I thought, seemed to be, by using the netsh utility.

Enable Internet Connection Sharing

To begin, first, make sure that the WiFi is set to ON. Then you will have to open a command prompt as an administrator. Open the WinX menu and select Command Prompt (Admin). The CMD window will open. Type the following and hit Enter:

netsh wlan set hostednetwork mode=allow ssid=DellNet key=asdfg12345

Here DellNet is the name I have chosen and asdfg12345 is the password I have chosen. This has to be at least 8 characters long. You can give your own name and select your own password.

Next, type the following in the CMD window and hit Enter:

netsh wlan start hostednetwork

4

What we have done is started the wireless Hosted Network.

The wireless Hosted Network is a WLAN feature supported on Windows 7, Windows Server 2008 R2 and later with the Wireless LAN Service installed. This feature implements two major functions:

  • The virtualization of a physical wireless adapter into more than one virtual wireless adapter sometimes referred to as Virtual Wi-Fi.
  • A software-based wireless access point (AP) sometimes referred to as a SoftAP that uses a designated virtual wireless adapter.

You can get more details about the Wireless Hosted Network and the netsh commands here on MSDN.

Create WiFi hotspot in Windows 10/8/7

Next, open Control Panel\All Control Panel Items\Network and Sharing Center. Windows 7 offers the Manage wireless networks link on the left side above Change adapter settings. Windows 8/10 does not.

1

Click on Change adapter settings.  You will see all your Network Connections.

Create WiFi hotspot in Windows 8

You can see the newly created DellNet (Local Area Connections 12)  here. Right-click on the connection you are currently using (in my case Ethernet) to connect to the Internet and select Properties.

connected-wifi

Click on the Sharing tab in the Ethernet Properties box and select Allow other network users to connect through this computer’s Internet connection. Under Home networking connection, from the drop down menu, I selected Local Area Connections 12 and clicked on OK.

Create Mobile Hotspot in Windows 10

Create Mobile Hotspot via Windows 10 Settings

To create Mobile Hotspot in Windows 10, you can also open Settings > Network & Internet > Mobile hotspot. Here toggle the Share my Internet connection with other devices to the On position.

This post will show you in details how to create Mobile Hotspot, change Hotspot Name & Password in Windows 10.

If you see a We can’t set up mobile hotspot because your PC doesn’t have an Ethernet, Wi-Fi, or cellular data connection message in red color there, it means that Windows 10 will not be able to create a mobile hotspot. You will have to change your Internet connection accordingly. Using one of the free software mentioned above, may help you in such cases.

That’s it!

You will have allowed Internet sharing and created a Wi-Fi hotspot of your Windows 8 laptop.

To confirm, I opened Settings on my Nokia Lumia 920, selected Wi-Fi, and was able to connect the phone to my laptop, using the set password.

wp8-wifi

Thus, I created WiFi hotspot in Windows and I was able to download large apps too on my Windows Phone.

See how to create a Mobile Hotspot in Windows 10, via its Settings.

Download this VPN to secure all your Windows devices and browse anonymously
Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.

111 Comments

  1. Connec8

    I created a small batch file application to do the same thing. http://connec8.blogspot.in/2013/02/introduction.html
    No need to type commands again and again

  2. venkat satya

    sir i followed all ur steps but network is enabled in my laptop but not connecting wifi in phone. not in my phone i tested my frnds phones also but not wifi connecting. The above process done in windows 7 all are done successfully and net is sharing through wifi in phone successfully. so why not in windows 8? please solve my problem sir, please reply to me my mail id is bvsn.1983@gmail.com

  3. andy g

    worked amazingly, thanks

  4. plasnum

    hey i did everything u said but before i could connect my phone to the laptop i accidentally deleted the connection i jst created and i don’t know how to create a neew one, when i try to repeat the process the netsh wlan start hostednetwork command gives me this error The hosted network couldn’t be started. The group or resource is not in the correct state to perform the requested operation. Pls anyone Help me..

  5. a.omar

    if you go into control panel>system and security>system>device manager. next you find the ‘virtual network adapter ‘ right click it then enable it. that should allow it to work.

  6. Pranjal

    Hey..

    I tried using this method and was successful once to share my Tata Photon connection through my Wi-Fi on my phone..

    But now when I do the same the Wi-Fi is connected on my phone.. but internet is not available…

    I’ve checked the sharing checkbox of my Tata Photon connection and selected my Hosted Nework for sharing..

    Anyone faced this problem? Please help..

    Thanks

    Pranjal

  7. Death Knight

    tnx

  8. Neverminder

    Is there any other possibility to “share” your wired interface with the virtual WIFI interface?
    Using the command line, registry entries or modifying the tcpip.sys, if anyone is able to answer that i would be very happy.

    Why is that?
    I’m programming a tool which includes all these steps, everything works so far except for the “sharing”-part.

  9. sud

    it keeps on disconnecting several times..don’t know why 🙁

  10. PiikachuTV

    TOP I SEARCHED THIS !!!

    Right Click to CMD -> Start as Administrator -> Than the Commands

    On GERMAN:

    —————————————————————
    Für Hotspot zum starten CMD als Administrator ausführen:
    —————————————————————

    1. Schritt:

    netsh wlan set hostednetwork mode=allow ssid=NAME key=huber123

    —————————————————————

    2. Schritt:

    netsh wlan start hostednetwork

    —————————————————————

  11. hotspot123

    created the hosted network but its not visible in the network panel in change adapter setting window plz help

  12. hotspot123

    a.omar same problem here……couldnt find virtual network adapter in device manager to….

  13. Hardik MEhta

    I followed all steps and able to have wifi hotspost even my lumai 820 is able to detect network but when I am trying to connect it’s giving an error “Connection Unsuccessful” …. any idea … please let me know … Thank you…..

  14. Rakesh

    u could have just used zune

  15. Zune software cannot be used with Windows Phone 8 devices for downloading.

  16. shyam

    i followed the steps but was unable to access net on my phone it shows the wi-fi connected sign above but there’s no access to the internet. plz help

  17. Asim

    says wrong password while logging in plz help

  18. Peter

    Hello could someone please help I get this message any ideas? …thanks

    C:WINDOWSsystem32>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 opera
    tion.

    C:WINDOWSsystem32>

  19. Anang Suwarsa

    thx it work. can this app run on win7 or win xp?

  20. prasadgkeni

    Hi I did all the above in my windows pc 8.1, my phone (Lumia 820) is getting connected to the wifi network but i cant browse from my phone. Plz help!

  21. Anish Anand

    Just a add on to above steps At times android phone may detect your virtual Wi FI connection but may not be able connect to it.
    It would continuously show ” Authenticating” or ” Obtaining IP address”.
    In such case use static IP address instead of DHCP.
    In the properties of virtual network : Go TO IPV4 Properties
    Maintain IP as
    IP : 192.168.1.1
    Mask : 255.255.255.255
    In static ip of your phone & devices give static ip as
    192.168.1.2 to 192.168.1.255
    You should be able to connect

  22. Anish Anand

    Either your Microsoft Virtual Adapter is diabled , which mostly seems the reason . You can activate it in Device Manager under Network Adapters.

    Or Worst…

    Your Wi Fi Radio is off , switch it On.

  23. Anish Anand

    Yup it will work in the very same fashion on windows 7 . I have not tried with Windows XP though.

  24. Sairaj Gharat

    i did it the hotspot is also set correctly and my phone also can access the hotspot.
    but it cannot transfer the data connection from my laptop to mobile.
    please reply at sairaj.gharat@gmail.com

  25. berryl

    This cannot work even if I followed all the steps. Can anyone help me? -Berryl

  26. Judy Tan Xin Wei

    I’m currently having problems can anyone help me?

  27. Soh Chen Ting

    I can help you. Just tell me your problem.

  28. Judy Tan Xin Wei

    I cannot connect to network. I do not have Wi-fi and homesharing. But, I want to connect 2 computers using a modem. How do I do that?

  29. hotspot123

    What is “Lumai 820”?

  30. Soh Chen Ting

    Judy, this is my email: chen_ting@hotmail.com
    Please message me there.

  31. arjun

    no manh still internet is not accesible on phone ctill connected though

  32. arjun

    hey can u help me out

  33. Suresh

    Awesome!!! Even a newbie like me was able to turn my laptop into a hotspot —thanks for sharing!
    I have one question, is there a way we can disable or disconnect the hotsopt, when no loner required?
    I tried un checking the option to allow the computer Internet sharing; While this option disabled usage of Wi-fi, the wi-fi name is still displayed in the list of available wi-fi connection.
    Any help is appreciated!

  34. Sarah

    do i have to redo this process everytime i turn my laptop back on

  35. K.J Singh

    Not Working in the case Tata Photon !! Help

  36. Emmanuel

    i disabled the newly created Local Area Network *12 on my PC after use and I could not start it again. i have repeated the above steps to no avail. the message i get is “the hosted network couldn’t be started. the group or resource is not in the correct state to perform the required operation.

  37. Emmanuel

    i could not find the microsoft virtual adapter

  38. sr_

    got the same prob

  39. Crz

    Hey guys…wish someone could help me over here. I’m able to see only ethernet connection in my network and sharing. Also when is right click that and go for properties sharing tab is missing… 🙁 🙁

  40. Hoa?i Lê

    Click on the Sharing tab in the Ethernet Properties box and select Allow other network users to connect through this computers Internet connection. Home networking connection dislay 2 chose wifi and ethernet do not Local Area Connections 12 help me!!!

  41. Reghu

    go to Windows+R and type “devmgmt.msc” and then right click and enable the vritual network adapter, try again and it worked for me…

  42. Divya

    I have installed connectify but I am not able to use internet in my phone. I use tata photon and it requires Pro. Is there any other requirement for this??

  43. mujtaba butt

    i created the wifi hotspot but it is not connecting on my phone

  44. Small piece of software does the work. Full guide here link

  45. Pranesh Janarthanan

    I am able to create wifi hotspot with cmd window commands

    when my internet source is a public or private wifi then I am able to use the hotspot internet connection in mobile device.
    but when my internet source is broadband cdma datacard(reliance netconnect +), I am able to create hotspot, my mobile able to connect to the hotspot but there is no internet connectivity, even there is packet transmission to and fro, there is no internet connectivity, and when I set the static ip address to the hostednetwork client it automatically disappears. I think this ip address is the problem, I don’t know how to fix it..

  46. Tom Antarnisti

    Try to restart your PC, you will find that adapter in “disable” state

  47. tejas

    Microsoft Windows [Version 6.3.9600]

    (c) 2013 Microsoft Corporation. All rights reserved.

    C:Windowssystem32>netsh wlan set hostednetwork mode=allow ssid=NOVA key=darkan

    gel

    The hosted network mode has been set to allow.

    The SSID of the hosted network has been successfully changed.

    The user key passphrase of the hosted network has been successfully changed.

    C:Windowssystem32>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 opera

    tion.

    C:Windowssystem32>

  48. Akash

    same problem

  49. M S KHAN

    Hi I have a LAN with proxy and i am sharing LAN over wifi to android mobile. Mobile is getting connected to wifi but cannot browse, can any one help to resolve.

  50. R. Bhaskaran

    I am having a problem in connecting my mobile to internet through the internet connection in my desk top.
    I have a HP Pessario AIO desk top with Window 8 as the OS & Gionee Pioneer P3 Mobile. I connect to internet through Tata Photon + Dongle attached to a USB port in my desk top.
    I had followed the steps to create the hot spot & share the internet connection. The Tata Photon + connection shows shared connection. The Local Area Connection*12 is established bt running start command as administrator.
    The Local Area Connedtion *12 shows No internet connection.
    Kindly help me for a solution.

  51. boney

    I get a message “The hosted network couldn’t be started The group or resources is not in the correct state to perform the request operation” when I write a command “netsh wlan start hostednetwork”. Please suggest… Apply on windows8

  52. LeNNy

    I did connect but internet is not working :/

  53. Usman

    Sir is this method valid without router, on laptop?because my phone is displaying “Obtaining IP Address” and does’nt proceed. Kindly help.

  54. nairit

    ohk.. i did everything as mentiond above..
    but there is a problem.. i dont get any dropdown menu in the sharing tab to choose a connection.. so please can you tel me where am i going wrong..

  55. ICTman1076

    Hi, at the end I don’t have the textbox after the first checkbox. I have windows 8.1. Help!

    – ICTman1076

  56. Mayank Jaiswal

    I did it with tata photon + . I opened wifi in my phone and while connecting to the network it stopped at “obtaining IP address” remains there only and does not connect…
    plz help

  57. zalmon

    just type netsh wlan stop hostednetwork

  58. zalmon

    yay i got it

  59. Snape

    i did everything as mentioned above and my phone is getting connected to virtual wifi but i am not any internet on my mobile please help

    Note : I am using airtel 4 G datacard for sharing internet

  60. FireWindows

    When I right click then error appear!

    Internet connection sharing is currently enabled for connection ‘wifi’.
    It will now be enabled for connection ‘Enthernet 2’ instead

    Please help me!
    http://www.upsieutoc.com/images/2014/08/19/Untitledcaa92.jpg

  61. Jovan

    What would be the reason that I don’t have the ‘Home networking connection’ drop down menu on my Ethernet? Any help?

  62. Srikanth Aavula

    i created the wifi hotspot but am getting password isnt correct so pls say how to change the password

  63. John

    In device manager View > Show hidden devices. Then, you will be able to see Virtual network adapter

  64. Akshay lal

    in 4 screenshot u choose local area connection but in my laptop it is changing please me how i change it

  65. Arindam

    I created the the WiFi adapter using your steps as given here, but when I try to share my internet connection its gives an error “an error occurred while internet connection is being enabled – (null)” and it stops. I am using Win 8. Initially I thought its because of my anti virus setup, but I enabled my internet connection sharing set up there too its still not working.

  66. Riddz

    HELP !! i did it for months worked fine .. but since yesterday i do this.. but as i try to connect my android the wifi gets out of range after few seconds.. and even if my android gets connected luckily… the hotspot disappears after a few seconds

  67. Mr.T

    anyone help!!!! My internet sharing only last for about 10min. So i created the internet, joined it and everything was fine. About 10min later there is still connection but there is not internet. i can still use internet on my laptop but cannot use it anymore on my connected devices

  68. Mike Walsh

    Anish Anand: Hit the nail on the head. The only thing that I would add is that when I went in to my virtual network properties and the went to IPv4 there was an address there already of 192.168.137.1/255.255.255.0 GW blank. So when i connected with my phone I went to advanced options and used static and put in a one off address of 192.168.137.2 prefix of 24, that was the golden ticket for me.

    Win 8.1
    New Samsung Note 4 Got it Dec 2014
    Hope it helps you!

  69. Adriana

    Hi, I have been doing this for the past months but now is not working anymore, in cmd there’s a message that says there is an error. Do you know what is happening?

  70. Adriana

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

    This is the message

  71. mohsin

    Nice article..!! helpful 🙂 finally createdWifi-Hotspot

  72. John Odanga

    Is there a way I can save my new hotspot so that I don’t have to repeat this process every time I reboot my computer?

  73. Satya Narayana

    while connecting my mobile says authenticating …..

  74. Subhajit Manna

    It just goes on Obtaining Ip Address but does not connect to it…
    What should I do?

  75. pranesh

    Use the “Set up a new connection or network” option to store the details for the data card credentials in that process and finish. now use that network setup to connect to the internet, then you can share the internet from this to a hosted network. it worked for me. Key point: dont use the datacard software to establish the internet access.

  76. XY

    Hi how do i change the name of the hotspot and also the password after it has been set up?

  77. Ramya Rao

    Hello guys,

    I tried everything. Under the sharing tab >> after clicking allow other users to connect >> I wonder why it does not give a drop down of which home networking connection to select. I can see only Wi-Fi.

  78. Siram krishna teja

    Hai,
    my computer Eithernet Sharing doen’t have dropdown to select Local Area Connection.
    can some one help me.
    thanks
    Teja

  79. Josh

    I get an error when I try to start the hosted network. it says the group or resource is not in the correct state. help?

  80. Joshua Huynh

    I have the same problem with all devices. please help!

  81. pankaj kumar modi

    Sir I checked/enabled this -Allow other network users to connect through this computers Internet connection. but i am not getting home network connection below. help pls

  82. Niall Murphy

    This is probably the best thing I have ever done on a laptop. Can use my iphone to connect to the internet on Angelsey North Wales for the first time in 4 years. Thanks

  83. flo

    hi Niall. How did you get it to work? I did the set up but I am failing to find the wifi using my phone. please advice. windows 8.1

  84. flo

    I am also having the same problem. did you manage to set it up still? please help

  85. Niall Murphy

    I just followed the instructions.

  86. Narendra Singh

    Every thing worked out fine wifi got connected but there is no data transmission please help

  87. Anonymous

    in sharing tab, when we check allow other network users to connect through this computer’s internet connection – it doesn’t show local area connection*13, instead it shows wi-fi. and so my mobile shows obtaining ip address and does not connect to wi-fi. How to fix this….

    Previously it was working fine and used to connect automatically within a couple of seconds.. Im using Windows 10 with HP AMD8 processor

  88. haidar

    can i connect with anroid phone??? please quick reply

  89. haidar

    in my laptop show in second step-
    hosted network coudnt be started.
    the group or resourse not in the correct state please hepl me what will be do

  90. Yaseen

    most perfect tutorial i ever found

  91. Yaseen

    good thanks

  92. Deepanjan Mandal

    Can the step of allowing sharing from Network and Sharing Centre be invoked from cmd as well?

  93. Parveez Ahmed

    Everything is okay but network working I shared my ethernet 3 to my hotspot also but still.received is.0 on hotspot area connection status please help me.

  94. Olalora

    I always use the 3rd-party program like OSToto Hotspot to create a WiFi hotspot on my Windows 8.1 laptop. It is easier!

  95. yashaswi

    it shows and connects to the new wifi network but no data is being exchanged… 😐

  96. yashaswi

    facing the same problem… u found a solution?

  97. Sahabudin tkj

    I have to create portable hotspot in my laptop but the DHCP configuration is not allowed. How to turn it on?

  98. Razik Kaithakkodan

    i dont have sharing option

  99. Briskette

    Thank you so much, it works nicely. 🙂

  100. Troy

    Hi all. I followed the instructions completely. In the Ethernet properties window, it does not allow me to select the created network but remains fixed on “WIFI” Why is this and how do i fix it?

  101. X_Robert

    I use OSToto Hotspot to create hotspot. It works as a portable router. With the blacklist function, I can enjoy the wifi in a safer internet connection.

  102. Sunny Yadav

    I create hotspot Succesfully but I don,t Have sharing Option Pls, Somebody help me

  103. D.C.

    Why bother with this when Windows 10 already has a “Mobile Hotspot” feature built in?

  104. That option too has been mentioned in the last part of this post as well as here: https://www.thewindowsclub.com/create-mobile-hotspot-windows-10 The post is meant for Windows 7/8 users too.

  105. Willow

    I just want to thank you soooo soooo much!!! You have no idea how happy you made me!!!! I’ve been trying to set up my ad hoc for the longest time ever and you finally fixed it!!!! Thank you! Thank you! Thank you!

  106. jiwo duta (Tuwow)

    thank you, my phone now connected to the wifi, but i dont have internet connection. can you please tell me how to solve this problem?

Leave a Reply

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


3 + 6 =