How to Create a WiFi Hotspot Using the
Command Prompt
Now-a-days internet connectivity has become one of the things that we need the most. It would be
nice if we can use our computer's fast internet Connection. So guys the solution is W ireless Hosted
Network. This concept of W ireless Hosted network was introduced in W indows 7. By using this
feature we can easily create a virtual wireless adapter.To do this we only require a CMD(Command
Prompt!) with Administrator privileges. And best of all you can connect to another W iFi when
Hosted Network is running. This
process describes some of the commands that are available only in W indows
7 or W indows 8 Ready PC.
Steps
1
Run. Press the "Windows key" and "R" buttons at the same time. The Run window will pop up.
2
Command Prompt. Type "cmd" in the box then hit "Enter" or OK. The Command
Prompt will pop up, with Administrative Privileges.
3
Device Check. Type netsh wlan show drivers in command prompt and press enter.
It will show the output like the image.
In the output Hosted network supported :Yes means that your computer supports hosted networks. Verify this.
4
Create. Type
netsh wlan set hostednetwork mode=allow ssid=marshamia key=qq20102011
in Command prompt. This will create a Hotspot but it is currently offline.
5
Start. Type
netsh wlan start hostednetwork
in command prompt to start the hotspot you just created.
6
Stop. Type
netsh wlan stop hostednetwork
in command prompt to stop the hotspot.
Details. Type
netsh wlan show hostednetwork
to check the hotspot status.
7
8
Internet. To share your internet connection on this hotspot go to the Network and sharing center and click on Change
adapter setting. Here right click on the
Connection that you use to connect to internet and select properties. In properties go to Sharing tab and check the
box "Allow other network users to connect through this computer's internet connection and select the network
connection name that is used by your hotspot.(For this check the Network Connection Window and look for
Connection which says Microsoft Hosted Network Virtual Adapter). And save it. Now your inter net
connection is shared.
We could really use your help!
You can write this commands in a .bat file and keep it on desktop for
Quick access.
And Run it as administrator and your hotspot is running.
Now as you guys are thinking this is so much typing. But you can do it another way. Open Notepad
and type all the commands and save the file as ".bat" extension. Example. hots.bat
Warnings
Using Administrator privileges for CMD is must to run this commands.
It will show error without it.
Sources and Citations
Here is the link of Microsoft MSDN page that contains all other useful command on W ireless
Hosted Network "http://m sdn.microsoft.com
/en-us/library/windows/desktop/dd815243(v=vs.85).aspx"
Article Info
Categories: Wireless Networking
In other languages:
: WiFi , Italiano: Creare un Hotspot WiFi Utilizzando il
Prompt dei Comandi, Espaol: crear un punto de acceso wifi usando el smbolo del sistema, Portugus: Criar um
Hotspot Wifi Usando o Prompt de Comando, Deutsch: Einen WLAN Hotspot ber die Eingabeaufforderung
einrichten, Bahasa Indonesia: Membuat Area Bersinyal WiFi Menggunakan Command
Prompt, : WiFi , Franais: crer un Hotspot Wi Fi en utilisant l'invite de commande,
Nederlands: Een WiFi hotspot maken via de
opdrachtregel
Thanks to all authors for creating a page that has been read 556,773 tim es.