Thursday, 12 March 2015

Turn your Laptop into WiFi Hotspot.

Turn your Laptop into WiFi Hotspot.


Copy the following lines into NotePad and save it as WiFi.bat


netsh wlan set hostednetwork mode=allow ssid=WIFI key=password123

netsh wlan start hostednetwork


Now right click on the file and select "Run as administrator" , automatically WiFi hotspot will be ON
You can change the WiFi name by changing ssid=new name and passwordkey=newpassword

Important - For this to work, your sharing should be on in network properties for the network/ethernet connection that you want to share through your wifi:


Go to Open Network and Sharing Centre ->Change Adapter Settings(On left panel)

Your wifi hotspot would be Microsoft Hosted Network Virtual Adaptor in the Network Connections.

Go to the properties of the LAN/ethernet/WiFi connection and make the changes accordingly.


​​There you can see the wifi Hotspot network.
Your wifi hotspot would be ready. :)


To Off the WiFi Hotspot copy this code in a notepad and save it as wifistop.bat then run that bat file as "Run as Administrator".

No comments:

Post a Comment