The key to success is whether you follow the sequence: Preconditions : Right-click My Computer--Properties--Device Manager--network adapter to see if there areMicrosoft Virtual WiFi Miniport Adapter This item, if installed is the win 7 system, generally will have this one, if not, can check on the Internet how to install this item.
1. Enable and set the virtual WiFi network card:
Run command: netsh wlan set hostednetwork mode=allow ssid=wifi name key=wifi 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 more than one, if there is more than this "Microsoft Virtual WiFi Miniport Adapter", then your front of the setup is correct.
3. Set up Internet Connection Sharing:
In the Network Connections window, right-click a network connection that is connected to the Internet, select Properties → share, tick allow other ... Connect (N) "and choose the WiFi connection you created, the name of the hotspot you named, such as Xjwifi.
4. Turn on the wireless network:
Continue to run at the command prompt: netsh wlan start hostednetwork
Of course you can create a new Notepad file copy: netsh wlan start hostednetwork then save as "start WiFi hotspot." Bat "just run as administrator" on the next boot.