Skip to content
</> Mücahit TopalA developer's notebook

Blog/Teknoloji

Creating a HotSpot Network on Windows 8-10 & Starting It Automatically

Mücahit Topal 2 min read 8,159 views TREN

Creating a HotSpot Network on Windows 8-10 & Starting It Automatically

One of the new features that came with Windows 8 and 10 lets you broadcast a hotspot from your computer using its wireless adapter, just like sharing internet from your phone. Let's take a look together...

  1. First, let's open the command window as Administrator:  use the Win+X keyboard shortcut to open the Windows settings menu and click the Command Prompt (Admin) option.

  1. Then, once the window opens, we enter the  “netsh wlan show drivers” command and press Enter. The marked lines need to say “yes”.

  1. Next we create a wlan: “netsh wlan set hostednetwork mode=allow ssid=mtlive key=mtlive123“.
  • ssid=mtlive (we have set our wireless network name to mtlive)
  • key=mtlive123 (we have set the wireless network's password to mtlive123. Our limit is between 8 and 64 characters.)

  1. The Wlan was created without any problems. But it is not active yet. To activate it, we type the “netsh wlan start hostednetwork” command.

  1. If we want information about the wlan we have set up, let's enter the “netsh wlan show hostednetwork” command.

  1. As you can see, our WPA2-Personal network has been created with the name mtlive, but our password is not shown; to see the password, it is enough to enter the "netsh wlan show hostednetwork security" command.

  1. If we want to stop our running network, typing “netsh wlan stop hostednetwork” will be enough.

  1. If we want to disable our wireless network and take it out of use, it is enough to type the netsh wlan set hostednetwork mode=disallow ssid="mtlive" command.

  1. As a final step,  if internet sharing is not turned on for the network you set up, you need to check your network connections.
  • In the Start menu, search for "View network connections" and run it.
  •  Right-click your default ethernet connection and select "Properties".
  • Click the "Sharing" tab and tick the "Allow other network users to connect through this computer's Internet connection" option.
  • Now click the drop-down box right below the option above and select the network connection that currently has internet access. Finally, click OK.

After all these steps, we now have a computer at home that broadcasts wireless internet. However, every time we turn the computer on we need to use the  “netsh wlan start hostednetwork” command, so let's write a small application that runs at startup and add it to the startup entries through the registry.

  1. First, let's create a .reg file and paste the following into it.
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"Auto Wlan - by mtlive"="\"C:\\Program Files\\AutoWlan.bat\""

Save and exit, then run it and click OK on the prompts that appear.

  1. Then create a bat file named AutoWlan.bat and paste the "netsh wlan start hostednetwork" command into it, then save and exit.
  2. After that, copy the file named AutoWlan into the C:\Program Files\ directory; this way, the HotSpot will start automatically whenever you turn your PC off and on again.

If you are thinking that you cannot be bothered with preparing files and so on, you can download it from the link below.

Download --> AutoWlan 

Wishing you good use of it...

,,,,,,,,,

Share X Facebook LinkedIn WhatsApp

More from this category

Comments 4

Muhammed Almaz

Çok teşekkürler çok yararlı bir paylaşım olmuş.

Kaan Wm

Güzel bir yazı elinize sağlık.

Gürkan

Öncelikle faydalı bilgi için teşekkürler, fakat bisey belirtmem gerek..

Bu özellik 8 ya da 10 ile gelmedi Windows'un önceki sürümlerinde de geçerlidir. Hatta aksine Windows 7'de bunu arayüz kullanarak yapabiliyorken, 8 ve sonrasında arayüz kaldırılmıştır yalnız komut satırları ile yapılmaktadır..

CS oynamak için ağ kurarken çok işe yarıyor.. :)

omer

cep telefonu kurulan aga baglanmak isterken ip adresi alınmadı hatası veriyor ?

Leave a comment

Comments appear after approval.