Home Troubleshoot Turn your PC into a Wifi Hotspot using cmd

Turn your PC into a Wifi Hotspot using cmd

9
Turn your PC into a Wifi Hotspot using cmd

Steps to Create a Wifi Hotspot using cmd in Windows 7/8/10

You have ultra fast Broadband for your PC, laptop and wish to share that connection to your other devices too. You probably hate downloading software for it that may mess with your computer. You can do this using simple command line tricks. Yep, a few lines and you are ready to go. It’s easy to create a Wifi Hotspot using cmd rather than downloading a software that can be also mess up with your PC. Hence, we will share a simple trick for creating hotspot in your Windows 7/8/10. This tutorial will work on every Windows system.

Also Read:

Steps to create Wifi Hotspot using cmd:

 

Follow the below steps carefully to create a Wifi Hotspot using cmd:

First of all, open command prompt in your Windows. To open command prompt(cmd), click on start and search cmd on search box. now right-click on cmd and click “run as administrator”. Always open command prompt using the administrative privileges. Another alternative is to open Run (Windows + R) and type cmd and click enter to open command prompt.

First of all, we have to check whether your PC supports Hosted network or that. That means that if your network card is capable of creating a hotspot or not. To do so, type the following command in cmd:

netsh wlan show drive

create wifi hotspot using cmd

 

You will get a list of Hosted network settings. If you got an output as HOSTED NETWORK SUPPORTED: YES, it means that wifi hotspot can be created in your system. Now let’s begin with creating a wifi hotspot.

 

Wifi Hotspot using cmd
Wifi Hotspot using cmd

 

  1. Open cmd(command line) using Administrative Privileges(Run As Administrator).
  2. Now type following lines sequentially:

           netsh wlan set hostednetwork mode=allow ssid=Techni key=password

               (Replace “techni” with your Wifi Hotspot name and “Password” with a Wifi hotspot password)

       3: Now type below command to start the Hotspot network you just created

                                                       netsh wlan start hostednetwork

       4: To see if WiFi hotspot is created, type: netsh wlan show hostednetwork

You are done. Enjoy!! Wifi hotspot will be created with Network name “Techni” and password as “password”.

To stop the Wifi Hotspot type the following command in Command Line:

                                                      netsh wlan stop hostednetwork

The Wifi hotspot network will be stopped immediately. This trick can be used in any Windows Operating system. You can also create a Wifi Hotspot by going to Network and Sharing centre in Control Panel. But it will take more time. Hence we recommend you to create Wifi hotspot using cmd.

Note : You may change

  1. ssid=”Any name you want”.
  2. key=”Any password you want”.

You may even convert it into a script file(i.e.   *.bat file where “ * ” could be any name.

  1. Just open notepad.
  2. Copy the code from above.
  3. Save the file using a *.bat extension.

Ex: Wifi.bat

Choose “All Files” in Save As Type option.

  1. When running, make sure you run as Administrator using “Run As Administrator option when you right-click it”.

                Enjoy Surfing…..

If you are still facing any problems while creating a Wifi hotspot via cmd, comment below.

9 COMMENTS