Win11 uses the command line to create a wifi hotspot, and can set the name, password, etc.

 The main purpose is to automatically open the wifi hotspot, and the ssid and wifi password are controllable! The mobile phone setting is relatively simple, but it is really troublesome to set it with the program line.

 Checked, some people use netsh

It cannot be solved, that is to say, the mobile hotspot cannot be started using the following command:
netsh wlan set hostednetwork mode=allow ssid=wifi888 key=88888888
netsh wlan start hostednetwork
Executing the command "netsh wlan start hostednetwork" will prompt "Unable to start the hosted network".

After searching on the Internet, I learned that Windows 10 has abandoned the bearer network, and the current mobile hotspot is based on WiFi Direct technology.
The new mobile hotspot based on WiFi Direct technology cannot be started through the cmd command line. But it can be achieved through powershell.

Guess you like

Origin blog.csdn.net/babytiger/article/details/130936908