How to Create a WiFi Hotspot with Command Prompt

Author: Laura McKinney
Date Of Creation: 10 August 2021
Update Date: 7 May 2024
Anonim
How to Create a WiFi Hotspot Using CMD
Video: How to Create a WiFi Hotspot Using CMD

Content

This wikiHow article shows you how to create a WiFi Hotspot using Command Prompt. Note that the procedure contains a few lines of command that are only available on Windows 7 or Windows 8 PCs.

Steps

  1. Launch. Press "windows key (Windows)" and "R" at the same time. The Run window will appear.

  2. Open Command Prompt. Type "cmd" in the box and press "Enter" or OK. The Command Prompt will be launched with administrative privileges.

  3. Checking devices. Type netsh wlan show drivers in Command Prompt and press Enter.
    You will see the results as shown in the picture.
    Current Hosted network supported: Yes means that your computer supports the hosted networks. Need to confirm this.

  4. Create new. Type netsh wlan set hostednetwork mode = allow ssid = Hotspotname key = password in Command Prompt. This step helps to create the Hotspot but is offline.
  5. Launch. Type netsh wlan start hostednetwork in Command Prompt to launch the newly created Hotspot.
  6. Stop. Type netsh wlan stop hostednetwork in Command Prompt to stop Hotspot.
  7. View details. Type netsh wlan show hostednetwork to view the status of Hotspot.
  8. Internet. To share this Hotspot's Internet connection, go to Network and sharing center and then click Change adapter setting. Right-click the Connection used to connect to the Internet and select Properties. In Properties, go to Sharing and check the box "Allow other network users to connect through this computer's internet connection" and select the name of the network connection. Hotspot use (Need to go to the Network Connection window and look for the connection written as Microsoft Hosted Network Virtual Adapter). Then save it. Your Internet connection is now shared. advertisement

Advice

  • Perhaps you are thinking why you have to type so much manually. Actually you can do another way is to open Notepad and enter the entire command line, then save the file with the extension ".bat", eg save as hots.bat
  • You can write these commands in the .bat file and store them on your desktop for quick access.
  • Launch with administrator rights to make Hotspot run stably.

Warning

  • Force to set administrator rights for CMD to use these command lines, otherwise an error will be seen.