Skip to content
Related Articles
Open in App
Not now

Related Articles

How to Create a WiFi Hotspot in Windows 8 using Command-prompt?

Improve Article
Save Article
  • Last Updated : 05 Jun, 2020
Improve Article
Save Article

WiFi (Wireless Fidelity) hotspot is a network with an area where wireless access to the internet is available. These are Internet access points that allow you to connect to a WiFi network using your computer, smartphone, or another device while away from your home or office network.

There are lots of software that can create a WiFi hotspot. But using cmd, you don’t have to install any software. Here is a way for that. 

Follow these steps to create your own WiFi hotspot:

Step 1: Open command prompt by typing cmd in search. Right-click in it and select Run As Administrator.

Step 2: Now, we have to set our WiFi Name and Password. For this, enter the following command in the cmd and press Enter:

netsh wlan set hostednetwork mode=allow ssid=wifiName key=wifiPassword

Here you can give any name of your choice in place of wifiName and any password of your choice in place of wifiPassword.

Note that your password should be 8 characters long.
Step 3: To start the WiFi Hotspot, enter the following command:

netsh wlan start hostednetwork

Step 4: The WiFi must now be visible to near by devices.

Step 5: To stop the WiFi network, enter the following command:

netsh wlan stop hostednetwork

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!