Create WiFi hotspot in Windows 8: Enable Internet Connection Sharing

In this post, we will see how to turn on Internet Connection Sharing & create a WiFi hotspot in Windows 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. 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

4 400x223 Create WiFi hotspot in Windows 8: Enable Internet Connection Sharing

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

1 400x245 Create WiFi hotspot in Windows 8: Enable Internet Connection Sharing

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

dellnet 400x280 Create WiFi hotspot in Windows 8: Enable Internet Connection Sharing

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 Create WiFi hotspot in Windows 8: Enable Internet Connection Sharing

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.

wp8 wifi Create WiFi hotspot in Windows 8: Enable Internet Connection Sharing

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

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 TheWindowsClub.com. Please create a System Restore Point before trying out any software & be careful about any third-party offers while installing freeware. Add me on Google+.
  • 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

  • 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

  • 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

    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

  • Death Knight

    tnx

  • 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

    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

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

  • 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

  • http://www.thewindowsclub.com 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
    tion.

    C:WINDOWSsystem32>

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

  • 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 sairaj.gharat@gmail.com

  • berryl

    good

  • 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: chen_ting@hotmail.com
    Please message me there.

  • arjun

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

  • arjun

    hey can u help me out

  • http://www.santoshkshirsagar.com 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

  • http://geekltd.com/ 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

    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>

  • 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 :/

  • http://lallouslab.net/ 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

  • Recent Comments