Hotspot (netsh wlan start hostednetwork)

Trying to share my Windows 10 Lenovo laptop's internet connection through the cmd via netsh wlan start hostednetwork.

To enter set hostednetwork mode=allow ssid="ssid" pass="pass,"   

运行命令:

'netsh wlan set hostednetwork mode=allow ssid=ssidName key=your8characterPassword'

Was this discussion helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this discussion?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this discussion?

Thanks for your feedback.

My answer, Hope I can help you.

1. Run the command prompt as an administrator:
Shortcut key win+R→ enter cmd→ enter

2. Enable and set the virtual WiFi network card:
Run the command: netsh wlan set hostednetwork mode=allow ssid=wuminPC key=wuminWiFi
This command has three parameters, mode: whether to enable the virtual WiFi network card, or disable to disallow.
Ssid: The name of the wireless network, preferably in English (using wuminPC as an example).
Key: wireless network password, more than eight characters (using wuminWiFi as an example).
The above three parameters can be used separately. For example, only mode=disallow can be used to directly disable the virtual Wifi NIC.

After the connection is successful, there will be one more wireless connection 2 in the network connection as “Microsoft Virtual WiFi Miniport Adapter”. For convenience, rename it to virtual WiFi. If not, just update the wireless network card driver and it will be OK.

3. Set up Internet connection sharing:
In the "Network Connection" window, right-click the network connection that is connected to the Internet, select "Properties" → "Share", tick "Allow other connections? (N)" and select "Virtual WiFi" .

Once confirmed, the words “Shared” appear next to the shared NIC icon, indicating that “Broadband Connection” has been shared to “Virtual WiFi”.

4. Turn on the wireless network:

Continue to run at the command prompt: netsh wlan start hostednetwork

🐷

14 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi G',
but does your wireless network card support the hosted network? Type netsh wlan show driver in the Command Prompt or in PowerShell and then hit enter, then check if your network card supports this feature. But why don't you use the Hotspot Mobile feature integrated in Windows?

13 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Discussion Info


Last updated April 4, 2025 Views 32,187 Applies to: