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:
- Press Windows key on your keyboard.
- Type ‘Command Prompt’ and right click it.
- Click ‘Run as Administrator’.
- Click ‘Yes’ to allow Command Prompt running as in administrator mode.

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