How to create a WiFi hotspot using the command line

Table of contents:

How to create a WiFi hotspot using the command line
How to create a WiFi hotspot using the command line
Anonim

This article will show you how to create a wireless access point on a Windows computer using the command line. The method described assumes that you are logged in as an administrator.

Steps

Part 1 of 2: How to Create an Access Point

Open the start menu 1.

Windowsstart
Windowsstart

… It's in the lower left corner of the screen. Or press the key Step 2. ⊞ Win to open the Start menu. 3.

4139314 1
4139314 1

In Windows 8, move your mouse to the upper-right corner of the screen, and then click the magnifying glass icon

  • In the Start menu search bar, type Command Prompt. The command line icon will be displayed.
  • 4139314 2
    4139314 2
  • Right click on the command line icon
  • Windowscmd1
    Windowscmd1

    … It's at the top of the Start menu.

    4139314 3
    4139314 3
  • If you have a laptop with a trackpad instead of a mouse, tap the trackpad with two fingers (this action replaces right-clicking)

  • Click Run as administrator. This option is in the context menu.
  • 4139314 4
    4139314 4
  • If the "Run as administrator" option is inactive, you cannot create an access point

  • When prompted, click Yes. A command prompt will open.
  • 4139314 5
    4139314 5
  • Type NETSH WLAN show drivers and press ↵ Enter. This command will let you know if you can create an access point on your computer using the command line.
  • 4139314 6
    4139314 6
  • Look for the word "Yes" to the right of the "Hosted network supported" line. If the specified line contains the word "Yes", you can create a wireless access point on your computer.
  • 4139314 7
    4139314 7
  • If the word "Yes" is missing in the line, you will not be able to create a wireless access point using the command line

  • At the command prompt, enter the following code:
  • 4139314 8
    4139314 8
    netsh wlan set hostednetwork mode = allow ssid = NETWORKNAME key = PASSWORD

    and press ↵ Enter.

    Replace the words "NETWORKNAME" and "PASSWORD" with the network name and password for the access point.

  • Type NETSH WLAN start hostednetwork and press ↵ Enter. This will enable the newly created wireless access point.
  • 4139314 9
    4139314 9
  • Close the command prompt window. Now that you have created and enabled the access point, you need to share it with other users.
  • 4139314 10
    4139314 10
  • Part 2 of 2: How to provide access to an access point

    4139314 11
    4139314 11

    Step 1. Open the Start Menu

    Windowsstart
    Windowsstart

    and in the search bar enter control panel.

    This will find the Control Panel utility.

    4139314 12
    4139314 12

    Step 2. Click on Control Panel

    It will appear at the top of the Start menu.

    4139314 13
    4139314 13

    Step 3. Click on Network and Internet

    It's in the middle of the page.

    4139314 14
    4139314 14

    Step 4. Click Network and Sharing Center

    You will find this option at the top of the page.

    4139314 15
    4139314 15

    Step 5. Click Change adapter settings

    This link is located in the upper left side of the window.

    4139314 16
    4139314 16

    Step 6. Right click on the name of the active Internet connection

    You will find it at the top of the Network Connections window.

    4139314 17
    4139314 17

    Step 7. Click Properties

    It's near the bottom of the drop-down menu.

    4139314 18
    4139314 18

    Step 8. Click the Access tab

    It's at the top of the window.

    4139314 19
    4139314 19

    Step 9. Check the box next to “Allow other network users to use

    … ". It's near the top of the window.

    4139314 20
    4139314 20

    Step 10. Check the box under the "Home network connection" option

    It's in the middle of the page.

    4139314 21
    4139314 21

    Step 11. Click on the name of the created access point

    It will be named something like this: "Local Area Connection * #".

    4139314 22
    4139314 22

    Step 12. Click OK

    Now other users (devices) can connect to the created wireless access point.

    Advice

    • At the command prompt, enter netsh wlan stop hostednetworkto turn off the access point.

    Popular by topic