A simple guide to using Command Prompt to create a Wi-Fi hotspot

This wikiHow teaches you how to broadcast your Windows computer's Internet as a wireless hotspot using the Command Prompt application. To do this, you must be using an administrator account on your computer.

Part 1
Part 1 of 2:

Creating the Hotspot

  1. 1
  2. 2
    Type command prompt into Start. Doing so will bring up the Command Prompt icon.
    Advertisement
  3. 3
  4. 4
    Click Run as administrator. This option is in the right-click drop-down menu.
    • If you don't have the Run as administrator option, you can't create a Wi-Fi hotspot.
  5. 5
    Click Yes when prompted. Doing so will open Command Prompt.
  6. 6
    Type NETSH WLAN show drivers and press Enter. This command will display information to help you confirm that your computer can create a hotspot with Command Prompt.
  7. 7
    Look for "Yes" next to "Hosted network supported". If you see "Yes" here, your computer supports the Hosted Network feature, which is what allows you to create a Wi-Fi hotspot.
    • If you don't see "Yes" here, your computer can't create a wireless hotspot through Command Prompt.
  8. 8
    Type the following code into Command Prompt:
      netsh wlan ''set hostednetwork mode=allow ssid=NETWORKNAME key=PASSWORD
      
    • Then press Enter. Make sure you replace the "NETWORKNAME" and "PASSWORD" text with what you want your hotspot's name and password to be.
  9. 9
    Type NETSH WLAN start hostednetwork and press Enter. This will turn on your Wi-Fi hotspot.
  10. 10
    Exit Command Prompt. Now that your hotspot is live, you'll need to share its availability in order to connect to it.
  11. Advertisement
Part 2
Part 2 of 2:

Sharing the Network

  1. 1
  2. 2
    Click Control Panel. It will appear at the top of the Start window.
  3. 3
    Click Network and Internet. It's in the middle of the page.
  4. 4
    Click Network & Sharing Center. You'll find this option near the top of the page.
  5. 5
    Click Change adapter settings. It's a link in the upper-left side of the window.
  6. 6
    Right-click your current connection's name. You'll find it near the top of the "Change adapter settings" window.
  7. 7
    Click Properties. It's at the bottom of the drop-down menu.
  8. 8
    Click the Sharing tab. This option is at the top of the window.
  9. 9
    Check the "Allow other network users to connect..." box. It's at the top of the window.
  10. 10
    Click the box below the "Home networking connection" heading. This option is in the middle of the page.
  11. 11
    Click your hotspot's name. It will be something like "Local Area Connection * #".
  12. 12
    Click OK. Your wireless hotspot should now be accessible by any nearby devices.
  13. Advertisement

Community Q&A

  • Question
    Where is the password for the set hotspot network?
    Community Answer
    Community Answer
    It's at key=YourPasswordHere. Of course, you should replace YourPasswordHere with your own password.
  • Question
    How do I join the network from another computer?
    Community Answer
    Community Answer
    Turn on the WiFi on the computer you wish to add and find the hotspot, which would be under the name you typed after SSID= , then click on it and it will ask you for the password. The password is what you typed after KEY=.
  • Question
    How do I find the password to join the hotspot I've created?
    Community Answer
    Community Answer
    Run the command prompt as the administrator and type ' netsh wlan show hostednetwork security' and then press enter key. You will get your saved password.
Advertisement

Warnings

  • Creating a hotspot opens your connection up to the public. Be careful about doing this in densely populated areas like airports or coffee shops.
    ⧼thumbs_response⧽


Advertisement

About This Article

Jack Lloyd
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 2,249,784 times.
How helpful is this?
Co-authors: 41
Updated: August 11, 2022
Views: 2,249,784
Categories: Wireless Networking
Article SummaryX

1. Type netsh wlan set hostednetwork mode=allow ssid=NETWORKNAME key=PASSWORD and press Enter.
2. Type NETSH WLAN start hostednetwork and press Enter.
3. Open the Windows Settings.
4. Click Network & Internet.
5. Click Change adapter options.
6. Right-click the connection and click Properties.
7. Check the first box on the Sharing tab.
8. Name the hotspot and click OK.

Did this summary help you?
Advertisement