Create WLAN hotspot on Windows by using Command Prompt

This page primarily guides Windows 7 users on how to create a WLAN hotspot using Command Prompt.

🧩 Operating Environment

  • Windows

🛠️ Steps to run Windows Command Prompt

First, you need to open Windows Command Prompt in administrator mode. The steps are as follows:

  1. Press Windows key on your keyboard.
  2. Type ‘Command Prompt’ and right click it.
  3. Click ‘Run as Administrator’.
  4. Click ‘Yes’ to allow Command Prompt running as in administrator mode.
Windows command prompt

Commands for WLAN hotspot

To enable WLAN hotspot and set the hotspot name and password:

netsh wlan set hostednetwork mode=allow ssid=HotspotName key=Password

Remark: Please replace HotspotName and Password with your actual hotspot name and password respectively.

To start the hotspot in Windows command prompt:

netsh wlan start hostednetwork

To show the hotspot configuration in Windows command prompt:

netsh wlan show hostednetwork

To stop the hotspot in Windows command prompt:

netsh wlan stop hostednetwork

To disable the hotspot in Windows command prompt:

netsh wlan set hostednetwork mode=disallow