How to Create a WiFi Hotspot Using the Command Prompt
Run. Press the "Windows key" and "R" buttons at the same time. The Run window will pop up.
Command Prompt. Type "cmd" in the box then hit "Enter" or OK. The Command Prompt will pop up, with Administrative Privileges.
Device Check. Type netsh wlan show drivers in command prompt and press enter. It will show the output like the image. In the output Hosted network supported :Yes means that your computer supports hosted networks. Verify this.
Create. Type netsh wlan set hostednetwork mode=allow ssid=Hotspotname key=password in Command prompt. This will create a Hotspot but it is currently offline.
Start. Type netsh wlan start hostednetwork in command prompt to start the hotspot you just created.
Stop. Type netsh wlan stop hostednetwork in command prompt to stop the hotspot.
Details. Type netsh wlan show hostednetwork to check the hotspot status.
Internet. To share your internet connection on this hotspot go to the Network and sharing center and click on Change adapter setting. Here right click on the Connection that you use to connect to internet and select properties. In properties go to Sharing tab and check the box "Allow other network users to connect through this computer's internet connection and select the network connection name that is used by your hotspot.(For this check the Network Connection Window and look for Connection which says Microsoft Hosted Network Virtual Adapter). And save it. Now your inter net connection is shared.