Skip to main content

Create WiFi Hotspot using CMD

Everyone wants to use internet either by using direct connection from ISP or sharing internet connection with others. Some people use WiFi hotspot for internet sharing using some extra software.
In this tutorial I will show you how to create WiFi hotspot without using any extra software.

In this tutorial I will use CMD which is windows built-in software.

Step 1 :

Run CMD as administrator.

Step 2 :

First we will create WiFi hotspot. Enter the following command in CMD.
netsh wlan set hostednetwork ssid=name key=password mode=allow
Change name and passowrd according to your choice.

Step 3 :

Now we have to start WiFi hotspot. Enter the following command in CMD.
netsh wlan start hostednetwork 

Step 4 :

Now we will share internet connection with this WiFi hotspot.
Open Nerwork and Sharing Center and press Change Adapter Settings.

Step 5 :

Share desired internet connection with created WiFi hotspot using its properties.

Result :

Now you can use this WiFi hotspot for internet sharing.

Check connected devices :

To check how many devices are connected, enter the following command in CMD.
netsh wlan show hostednetwork 

Stop WiFi Hotspot :

To stop WiFi hotspot, enter the following command in CMD.
netsh wlan stop hostednetwork 

Start WiFi Hotspot :

To start again WiFi hotspot,just enter the following command in CMD.
netsh wlan start hostednetwork

Below is the video tutorial about creating WiFi hotspot using CMD :

Comments