Set wife hotspot in win7 1. Run Command Prompt as Administrator: shortcut key win + R → Enter cmd → press enter 2. Enable and set virtual WiFi NIC: run command: netsh wlan set hostednetwork mode = allow ssid = mywifi key = 12345678 this command has three parameters: mode: whether to enable the virtual Wi-Fi network card, and change to disallow is disabled. Ssid: the name of the wireless network. It is best to use English (mywifi is used as an example ). Key: wireless network password, which consists of more than eight characters (take 12345678 as an example ). The preceding three parameters can be used independently. For example, you can disable a virtual Wi-Fi network card by using mode = disallow only. 3. After the network connection is enabled, a wireless connection with the "Microsoft Virtual WiFi Miniport Adapter" is displayed. If no, you only need to update the wireless NIC Driver. 4. Set Internet Connection Sharing: In the "Network Connection" window, right-click a network connection that has been connected to the Internet and choose "properties"> "share ", check "allow others... connection (N)" and select "virtual WiFi ". After confirmation, "shared" will appear next to the shared Nic icon, indicating that "Broadband connection" has been shared to "virtual WiFi ". 5. enable wireless network: Run netsh wlan start hostednetwork in the command prompt. (change start to stop to disable the wireless network, you only need to run this command again to enable the wireless network after the instance is started. The Red Cross of the virtual WiFi disappears and the Wi-Fi base station has been set up. Laptops, mobile phones with WiFi modules, and other sub-computers can find the wireless network mywifi. Enter the password 12345678 and you will be able to share the internet! (You can enable or disable statements to write batch files for processing)