1.First of all you need to create a virtual network adapter
Creating virtual network adapter
1.Open Command Prompt(with Administrator privilages)
2.Type in "netsh wlan set hostednetwork mode=allow ssid=ssid key=password"
where ssid is the name name of the Hotspot and key is the password you give
2.Now you have successfully created a virtual adapter for the Hotspot
Next step is you have to start the Hotspot
Starting the Hotspot
1.Open Command Prompt(with Administrator privilages)
2. Type in "netsh wlan start hostednetwork"
3.Now you need to share the internet connection on ethernet or wifi to this virtual adapter
Sharing ethernet or wifi to virtual adapter
1 go to control panel and select option Network and Internet
2 select network and sharing center
3 select the option "Change adapter settings"on top left side
4 select ethernet or wifi properties
5 select the option sharing
6 check the option
"Allow other network users to connect through this computer's Internet connection"
and press OK
that's it you have done it!
Now to stop the Hotspot
Stopping Hotspot
1.Open Command Prompt(with Administrator privilages)
2. Type in "netsh wlan stop hostednetwork"
Next time when you need to switch on Hotspot no need to setup it again
just open command prompt(with Administrator privilages) and type in "netsh wlan start hostednetwork"
Creating virtual network adapter
1.Open Command Prompt(with Administrator privilages)
2.Type in "netsh wlan set hostednetwork mode=allow ssid=ssid key=password"
where ssid is the name name of the Hotspot and key is the password you give
2.Now you have successfully created a virtual adapter for the Hotspot
Next step is you have to start the Hotspot
Starting the Hotspot
1.Open Command Prompt(with Administrator privilages)
2. Type in "netsh wlan start hostednetwork"
3.Now you need to share the internet connection on ethernet or wifi to this virtual adapter
Sharing ethernet or wifi to virtual adapter
1 go to control panel and select option Network and Internet
2 select network and sharing center
3 select the option "Change adapter settings"on top left side
4 select ethernet or wifi properties
5 select the option sharing
6 check the option
"Allow other network users to connect through this computer's Internet connection"
and press OK
that's it you have done it!
Now to stop the Hotspot
Stopping Hotspot
1.Open Command Prompt(with Administrator privilages)
2. Type in "netsh wlan stop hostednetwork"
Next time when you need to switch on Hotspot no need to setup it again
just open command prompt(with Administrator privilages) and type in "netsh wlan start hostednetwork"