How to Configure WiFi Hotspot in Windows 7 Using Command Prompt


What is a WiFi Hotspot?

A WiFi Hotspot is a Wireless hub which offers a network access to various devices over a wireless medium using routers. It requires a particular software which gives the ability to host a Hotspot in our computer. In order to reduce the difficulty, it’s better to establish a WiFi Hotspot using Command Prompt.

In the 21st century, the utilization of the internet is increasing day by day. At the same time, sharing of resources on the Internet has been triggered between Wireless Routers or Mobile WiFi Hotspots. If you are away from your home network and do not access to your internet connection, you will probably require some of your friends or colleagues internet to share their network access and connect through a common gateway. And that’s what we call a “WiFi Hotspot“.

Read the below steps clearly and start your own WiFi Hotspot.

Step 1:

  • Select Command Prompt(Admin) in your computer.
  • Command: Windows key() + X

Step 2:

  • Check whether your computer is supported for Hosted network or not. Type the following command in Command Prompt.
  • Command : netsh wlan show drivers

If the result is “YES” then proceed to Step 3 or else download the required drivers from your vendor website.

Configuring the Hosted network connection:

Step 1:

  • Type “netsh wlan set hostednetwork mode=allow ssid=yourname key=yourpassword” (enter the command without the quotations).
  • Note: In this example, I have used my own user Name and Password. You can use your own parameters for SSID and KEY and Password must be greater than 8 digits.

You have successfully established the Network Connection.

Step 2:

  • Start your hosted network.
  • Command : netsh wlan start hostednetwork

If your Command Prompt says ” your hosted network couldn’t be started ” then make sure to turn on the “WiFi” and also enable the Wireless Adapter :)

When there is no error:

Sharing your Wireless Network Adapter

Step 1:

  • Go to control Panel -> Network and Internet and select Network and Sharing Center.

Step 2:

  • There you can see your newly created network under the original network connection.

Step 3:

  • Select “Change adapter settings” in the left side column of Network and Sharing Center.

Step 4:

  • Right click on your Wireless Network Adapter and select properties. Select the tab “Sharing“. Check the option “Allow other network users to connect through this internet’s connection” option. Mention your newly created hosted network name.

Step 5:

  • Check whether your hosted network has shared the network access or not from the Network Sharing and Center.

  • Wahoooo!! You have successfully turned on your WiFi Hotspot. Now you can surf internet from any device using the Hotspot.
  • Here i’m going to connect my Mobile using the configured WiFi Hotspot.

  • To stop the hosted network, type the command ” netsh wlan stop hostednetwork” in command prompt.

Do you think typing a command for starting/Stopping the WiFi Hotspot is a time dependent?

OK, i’m going to show you one trick so that you can Start/Stop your WiFi Hotspot in a single click.

Step 1:

  • Desktop -> Right click -> New -> Shortcut.

Step 2:

  • Type the command ” C:\Windows\System32\netsh.exe wlan start hostednetwork ” on the shortcut and click on Next.

Rename it as “Start WiFi” and click finish.

Stop WiFi:

  • Type the command ” C:\Windows\System32\netsh.exe wlan stop hostednetwork ” on the Shortcut and Rename it as “Stop Wi-Fi” and finish.

You are done with creating your WiFi Hotspot. You can now use the new shortcuts whenever you wish to use your Wifi Hotspot.

SEE ALSO Password Protect a Folder Without Downloading Any Software

Get the best of Durofy in your inbox


About Author

A final year student in Computer Science Engineering of Maharaj Vijayaram Gajapathi Raj college of Engineering. I love to play Cricket, PC games, listening to music, writing Articles. I'm currently working as an Intern in Eduflix.


  1. hi uttej,
    i m facing no internet access on hot spot which we created nd also in my networks sharing property it will not show the name of created hot spot what is problem i couldn’t identify
    i m using a local network name MG INTERNET

    please help

  2. thanks for tutorial work on my laptop, this is very helpful thank you very much I hope god bless you

  3. Pingback: sharing wired internet in laptop with samsung tablet

  4. Brother, already i have done the all setting, now did not connect the wifi in my mobile which written as “authenticating problem”

  5. All the process is correct but in “STEP 4”
    We have to do in the properties of “Local Area Connection” but not in the properties of “Wireless Network Connection”

  6. Hi! I did everything and managed to connect my phone to my laptop but there is no internet access. You mentioned that I have to share the internet from the local connection to the wifi through the properties then ‘sharing’. But when I click the properties, the only tab I see is ‘networking’, no sharing tab like in the photo. Please help! My laptop’s using a Windows 7 Starter, is it by any chance the reason why there is no sharing tab, because it’s just a Starter? Thanks a lot!

  7. Only your instructions worked, before searched all around and finally “show driver command ” worked to setup the host network and rest all was success , but the seconds after it gets connected , a blue error screen pop ups and system gets restarted. please help cant understand whats wrong.
    secondly the short keys doesn’t work , suggest something helpful

  8. Hi,,,I’ve set up everything correctly and I have even connect my laptop with my cell but the wifi is too slow on my cell,Is there any other way to speed up.

    with regards

  9. Many many thanks for this i had already tried this many more time within last 4 moths but i was’t get success to share my tikona internet connection with win 7 hotspot sharing, but now you setting just click my mind and i added manually ip setting into my android mobile for your hotspot sharing process and final from last four month first time ever I run my internet connection with wifi on my mobile .
    AGAIN MANY MANY THANKS MR. Uttej Venkata Sastry

  10. in my newly created network showing ……. in Acces type : not acces internet……… my laptop and my mobile are conected ???? plz help me

  11. Sir,
    I cannot mention my connection, insted of my connection its mention another connection and can’t change it. and can’t connect my android 2.3.6 phone to this connection, “Disabled, secured with WPA/WPA2 PSK.

    • Hello Sam,
      I can understand that you are facing some problem while connecting but please be specific. if possible take a screen shot of the issue and post so that I can help you easily.
      By the way, did you get the message saying secured with WPA/WPa2? that’s means you have given some password while creating the connection, please make sure what you gave at that time. Further queries, please do comment.

      Thank you.

  12. Hi this is a nice post loved it.But i have a samsung smart TV when i connect wirelessly to my hotspot it says, connected to wireless network but unable to connect to internet??What shoud i do??Should i get a router?

  13. hey all,my hosted network is not supported , what did it mean,by dowloading the required drivers from my vendor website…? how ?

    • yes, you need to download drivers for your Wifi or Wlan whatever. Please make sure your laptop has wifi compatibility and drivers installed in it.
      If you use HP, then google hp wifi drivers, and you will be given many links to choose. Select appropriate vendor website and download the drivers and install it. After that, please do follow my instructions step by step. If you face any problem, please do ping here.

      Thanks you.

  14. Hi
    The wi-fi is broad casting. But I am not able to browse from my Asus tablet using this connection. Can you give any suggestions?

    • Hello Vikram,
      I guess there might be a problem with your connection. Once restart the wifi connection and give exact sharing option to your newly created connection. It will work

      Thank you.

  15. Hello uttej
    i used ssh to conect internet
    is there any way to make my laptop become hotspot?
    because i was use conectify and other and it didn’t work..
    (sorry for my bad english)

  16. hello uttej,
    I am able to create wifi sigmals but my devices could not connect to it.
    They are able to recieve the signals but could not connect to them…
    Can u help me…

    • Hello Sharad,
      Sure I can help you. If you can create the connection successfully and couldn’t browse the net means, you didn’t give allow your newly created connection to share your internet. For example, if you use Tikona internet, and lets say LocalInternet is your newly created connection, please share your tikona connection to LocalInternet in this properties. Please once read this step which I have mentioned in the article. You will get this time for sure :)

      Thank you!!

  17. thanks for the amazing post

    i am using a reliance dongle , same like u using idea as shown above

    i am not getting the connected to internet in my private network even after turning on the sharing ,
    Can u help me out on this ??

  18. Good job Uttej, its really nice and different kinda technology. I was also having confusion in adding clients but after reading your replies to other readers, am now satisfied. I will try to use this technology.

    Thanks for sharing, it is really helpful and amazing tech.

  19. hello, I installed AVG on my PC windows 7 64 bit, and I want to share my internet connection with my smartphone turning the PC into a hotspot and then share the connection with my smartphone, but unfortunately AVG blocks access to my pc . Before installing AVG my smartphone saw the connection that I created, it connected and I could surf the internet, but not anymore, how can I fix this?

    • Hi Stefano,
      Please check is there any option which allows Internet connection from your AVG, if not, trying allowing the connection from your Firewall. ( Allow programs in Firewall option in windows ). Still you find difficulty, please remove AVG and use Quick heal or some other :) :D

      Thanks :)

  20. Uttej Venkata Sastry, what is the command in DOS so I add the Maximum number of clients (Max Guests, maximum peers)?

    please show me the command

    thanks, and this is a really useful post.

    • Hey Guihgo,
      Thanks for reading my post and please understand here we are configuring a virtual hosted network and you can allow any number of users or clients to your network. But here you need not do anything other than monitoring. Just allow people to use your network. Why you are complicating the issue of adding people manually without their need using DOS?

      Just see it simple yar.

      Enjoy the technology. Hope you are doing good further.

      Thank you. :)

  21. hi i was doin f9 uptill opening control panel.there my established connection as ur tutorial taught came up but after then wen i right click on change adapter settings n do as u say my connection does not show up internet infront of type.

    i just wanted to try this method.i do have a sftware instaleed with which i acess wifi on my laptop.can this be a cause fr the problem if not please tell me the sol.

    • Hie Udit,
      I didn’t understand what you are saying clearly but if i’m right on understanding what you are asking me, then the answer is that you didn’t configure the virtual hosted network correctly. Please read the procedure and do it once again. :)

      If you find any doubts, please notify me.

      Thank you !!

  22. hello how can I add maximum number of clients from 2 to 10 bu using command line??
    Please answer me…

    • Hello Aslam,
      Thanks for reading my article. Its nice to see people like you using wifi connection using command prompt but in order to add clients to your router or hotspot, it is advised to connect via Mobile devices, Laptops or any kind of mobility devices.

      Example : Start the wifi connection as a hotspot and let people to use your connection as I have mentioned in the post.
      Next, from your mobile devices search the wifi connections and connect from it.

      Note : you can connect as many as you want but it will reduce the bandwidth of your ‘s

      Enjoy :)