Skip to Main Content

Turn a Windows 8.1 PC Into a Wi-Fi Hotspot with the Command Prompt


Windows: Previously mentioned Virtual Router is the easiest way to create a Wi-Fi hotspot on Windows, but 7Tutorials showcases a method that requires no extra tools—just the Command Prompt.

If you find yourself with a modem but no router, you can share one computer’s connection to other devices with a few commands. You’ll need to ensure that your computer has a wired and wireless network connection, or a data and Wi-Fi connection. The wireless connection can be shared and used by other computers, tablets and phones.

  1. Using Windows’ Command Prompt, you can create a virtual network and share it to provide internet access to other devices:Launch a Command Prompt with Administrator privileges and enter the following command:

  2. netsh wlan set hostednetwork mode=allow ssid=MarkWilson key=Lifehacker

  3. Change the SSID value to choose a different name if you want, and use “key” to set a password. This will create a virtual network adapter.

  4. Start the new virtual adapter by running the following command:

  5. netsh wlan start hostednetwork

  6. Go to the Control Panel and open up the Network and Sharing Center. You should see your new virtual adapter listed there (as shown in the screenshot above). Click the “Local Area Connection” link (or whatever shows up next to “Connections”).

  7. Click the Properties button in the window that appears.

  8. Head to the Sharing tab and then check the “Allow other network users to connect through this computer’s Internet connection” box.

  9. Use the drop down menu to select the virtual network adaptor you’ve created.

  10. Click OK followed by Close.

You should now be able to connect other devices to the network you created and enjoy a shared internet connection.

How to Turn Your Windows 8.1 Device Into a WiFi Access Point | 7Tutorials