Create WiFi hotspot in Windows 10/8: Enable Internet Connection Sharing

In this post, we will see how to turn on Internet Connection Sharing & create a WiFi hotspot in Windows 10 / 8 / 8.1 using the netsh wlan utility, command prompt and Wireless Hosted Network. I just bought a Nokia Lumia 920 Windows Phone 8, 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.

While one could always use freeware tools like WiFi HotSpot CreatormHotSpot, Bzeek, or Connectify 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 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 you own password.

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

netsh wlan start hostednetwork


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

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


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.


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

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.


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

Posted by on , in Category Windows with Tags
Anand Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of 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.
  • Connec8

    I created a small batch file application to do the same thing.
    No need to type commands again and again

  • 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

  • andy g

    worked amazingly, thanks

  • 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..

  • 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.

  • Pranjal


    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..



  • Death Knight


  • not.

    same here

  • 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.

  • sud

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

  • PiikachuTV


    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


  • hotspot123

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

  • hotspot123

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

  • 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…..

  • Rakesh

    u could have just used zune

  • Anand Khanse

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

  • 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

  • Asim

    says wrong password while logging in plz help

  • 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


  • Anang Suwarsa

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

  • 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!

  • 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 :
    Mask :
    In static ip of your phone & devices give static ip as to
    You should be able to connect

  • 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.

  • Anish Anand

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

  • 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

  • berryl


  • berryl

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

  • Judy Tan Xin Wei

    I’m currently having problems can anyone help me?

  • Soh Chen Ting

    I can help you. Just tell me your problem.

  • 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?

  • hotspot123

    What is “Lumai 820”?

  • Soh Chen Ting

    Judy, this is my email:
    Please message me there.

  • arjun

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

  • arjun

    hey can u help me out

  • Santosh Kshirsagar

    RUN devmgmt.msc

  • 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!

  • Sarah

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

  • K.J Singh

    Not Working in the case Tata Photon !! Help

  • 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.

  • Emmanuel

    i could not find the microsoft virtual adapter

  • sr_

    got the same prob

  • 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… :( :(

  • 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!!!

  • 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…

  • 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??

  • mujtaba butt

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

  • Ayush Gupta

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

  • 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..

  • Tom Antarnisti

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

  • 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


    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



  • Akash

    same problem

  • 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.

  • 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.

  • 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

  • LeNNy

    I did connect but internet is not working :/

  • Mad Scientist
  • Usman

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

  • 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..

  • ICTman1076

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

    – ICTman1076

  • 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

  • zalmon

    just type netsh wlan stop hostednetwork

  • zalmon

    yay i got it

  • 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

  • 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!

  • Jovan

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

  • Srikanth Aavula

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

  • John

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

  • Akshay lal

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

  • 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.

  • 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

  • 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

  • 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 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 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!

  • 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?

  • Adriana

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

    This is the message

  • Anand Khanse
  • mohsin

    Nice article..!! helpful :) finally createdWifi-Hotspot

  • 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?

  • Satya Narayana

    while connecting my mobile says authenticating …..

  • Subhajit Manna

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

  • 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.

  • XY

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

  • 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.

  • Siram krishna teja

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

  • 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?

  • Joshua Huynh

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

  • 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

  • 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

  • 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

  • flo

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

  • Niall Murphy

    I just followed the instructions.

  • Narendra Singh

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

  • 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

  • haidar

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

  • 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

  • Yaseen

    most perfect tutorial i ever found

  • Yaseen

    good thanks

  • Deepanjan Mandal

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

  • Recent Comments