so lets begin
1.Open command promt(CMD) simply press start button and R and type cmd or search in all program
2.Then type following command
wlan show drivers
This command show about your wireless device.
netsh wlan set hostednetwork mode=allow ssid=yourhotspot name key=password
hit enter key
This command create wifi hotspot.
netsh wlan start hostednetwork
and hit enter .
This command start wifihotspot which we create earlier.
5.if you want to stop wifi then type following command:
netsh wlan stop hostednetwork
6.if you want to check how many user are connected then type following command:
netsh wlan show hostednetwork
and press enter.
This command show your SSID,Max no.of client.Athentication,cipher,no.of client,channel etc.
Skip 5 and 6 no.
7.Now its time to share internet connect.
Open open network and sharing center
Click on change adapter settings
8.Right click adapter which you use to connect the internet and click on properties
9.Then you will see Sharing tab option click on it.
10.Check the box allow other network users to connect through this computer's internet connection and select the network connection name which is used by your wifi hotspot and press apply button.
Now you have successfully share internet connection.