Tutorial: How to setup a WiFi hotspot in Windows?

So you have an internet connection which you need to share with others.You might be knowing that the way to do that is through WiFi hotspot. While there are many third-party software giving you the ability to do so , they may not be free, may not share all possible types of connections(Broadband,Ethernet or maybe WiFi itself!) or do not give you the customizability you need.Fortunately Microsoft comes to our rescue.Without installing any other software it is possible to create a WiFi hotspot in very simple steps.

  • Open notepad or any other text editor and type the following two lines:

netsh wlan set hostednetwork mode=allow ssid=YourWiFiName key=YourPassword

netsh wlan start hostednetwork

Notepad

  • Save the file as “WiFi.bat” or any other name as you please but of “.bat” extension.
  • Create a shortcut on the Desktop of your batch file.
  • Go to Properties->Advanced and check the box labelled as “Run as Administrator”.
  • While you are at it you may add an icon to the shortcut file as well.It looks cool and gives a professional feel.
  • Simply run the file, there would be a blink of command prompt which should look something like this:cmd
  • This means that the hotspot has started but it still does not have internet access as you have not specified which existing connection it must share,you can confirm this by going to Network and Sharing Center which should look something like this:N&SC-1
    I
    f you wait for some time, it should go to something like this: N&SC-2
  • In my case I have my internet access from Ethernet so I will need to share that with my WiFi hotspot,but for any other connection also the steps would remain same.
  • Select Ethernet which is highlighted in the above image to open its settings.Click on the Properties tab then from the tabs on the top select Sharing.Check the box labelled “Allow other users to connect through the computer’s Internet connection” and then from the drop down menu select the same adapter which comes next to the name of your WiFi hotspot . In my case it is “Lenovo EasyPlus Hotspot”Eth-Prop
  • Having done that your Network and Sharing center should look something like thisN&SC-3
  • Voila! Your hotspot is created and ready to be used.Just connect it using the custom ssid(User ID) and key(Password) you created earlier.
  • To use the hotspot next time just double click on the Shortcut, no need to do the sharing each and every time.

Thanks! Hope it helped.

Advertisements

16 thoughts on “Tutorial: How to setup a WiFi hotspot in Windows?

  1. mandar bhurchandi says:

    in the ethernet connection, the connection type is given as no internet connection, it may be due to proxyless conn. or something, but it’s not working

    Like

  2. Finally, after circling figure out how to share the internet connection from my laptop (mobile broadband connection) using the hotspot for my others gadget device.

    I’ve tried using the default application of Lenovo ThinkPad (Access Connections) but it’s always not working well 😦

    Your methode is very quick, easy and simple 🙂 Thanks
    But there may some additions that should be doing before I enjoying the internet connection on my other device, because some case that I’ve experienced is a hotspot connection working but no data internet -_-.

    The trick is:
    – After the device connected with the hotspot connection, if there looks no data connection, just set manual the IP address to static and input manually the IP address as same as the IP address of your PC or laptop (except the last number. example: 192.168.137.x) and setting the DNS as same as your PC or laptop DNS.
    – Then enjoy your hotspot 🙂

    Hope your understand what I’m saying above,
    And very sorry for my bad english
    (I’m Indonesian people)

    Thanks

    Like

    • There would be a problem in setting your IP address to static – if you change your location or the source of internet, internet won’t work!! So I think this method should be used very very carefully or not at all(the hotspot works just fine without that)

      Nice to know the blog is getting hits from Indonesia!

      Like

  3. Srikiran says:

    Thanks Rohan.. This works fine.
    But there is an issue. It works fine for around 5 minutes. and the internet stops working. It starts working again when i disconnect and reconnect to the Wifi network. I’m using android phone.
    So it keeps getting disconnected every 5-10 minutes..

    Like

  4. In my case it was Lenovo Easyplus Hotspot, as I have mentioned on the blog it might very well be Local Area Connection 3 or something else for you. Say if you WiFi has connection port as “X” then in the dropdown menu go select “X”

    Like

  5. Arnab says:

    Hi Rohan. Thanks for the tutorial. I’ve lenovo easyplus hotspot too. I’ve shared my ethernet connection as you’ve shown. A hotspot is being created and my android phone gets connected to it. The problem is that there is no internet access on the devices connected to the hotspot created. Can you help me out please?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s