The key to success or failure lies in whether you execute the task in sequence:Prerequisites: Right-click "my computer"> "properties"> "Device Manager"> "network Adapter" to check whether Microsoft Virtual WiFi Miniport Adapter exists, if the Windows 7 system is installed, this item is generally available. If not, you can check how to install this item online.
1. Enable and set the virtual WiFi NIC:
Run the command: netsh wlan set hostednetwork mode = allow ssid = wifi name key = Wi-Fi password
For example, netsh wlan set hostednetwork mode = allow ssid = xjwifi key = 1234567890
2. Open "network and sharing center"-"Change Adapter Settings" to see if there is one more item. If there is one more "Microsoft Virtual WiFi Miniport Adapter ", it indicates that the frontend settings are correct.
3. Set Internet Connection Sharing:
In the "Network Connection" window, right-click a network connection that has been connected to the Internet, select "properties"> "share", and check "allow others... connection (N) and select the wifi connection you created, that is, the hotspot name you named, such as xjwifi.
4. Enable the wireless network:
Continue to run: netsh wlan start hostednetwork in the command prompt
Of course, you can create a new notepad file copy: netsh wlan start hostednetwork and save it as "start WIFI hotspot. bat". The next time you start the instance, you only need to run it as an "Administrator.