Run cmd as Administrator and type the following:
> netsh wlan set hostednetwork mode=allow ssid=HotspotName key=HotspotPass keyUsage=persistent
HotspotName: The Hotspot SSID (Hotspot name)
HotspotPass: The Hotspot Password.
- go to:
Control Panel\Network and Internet\Network Connections
- Now you should see a new connection. Usually, it's name will be Wireless Network Connection 2.
- If it is Disabled, Right-click on it and choose "Enable".
- Right-click on the Connection you want to share "Wireless/Lan", and choose "Properties"
- Go to "Sharing" tab and Click on "Allow other Network Users to connect through this Computer's Internet Connection".
- Click OK.
Go back to the cmd, and typy the following:
> netsh wlan start hostednetwork
The cmd should reply back with: The hosted network started.
That's it!