Do you want to share your Window PC’s internet to your friends, family or yourself so you or other people’s can enjoy the internet on their’s smartphone? Then your spaceship land on the right planet.
Here we are going to create your own wifi hotspot on Windows 7 or 8 PC and for that, you don’t need use connectify or any other software for it. Also, you can save yourself from that 90 minutes counter in connectify.
Let’s learn this awesome and most useful guide.
How to Create a WiFi Hotspot Using the Command Prompt
Creating WiFi Hotspot in windows PC is really a piece of cake. All you need to do is run the following two commands in cmd prompt.
1: Open CMD
Open cmd by clicking on start button then click to search field and type cmd then click to cmd. Or the other of opening CMD is press and hold Windows Key + R and type cmd and hit enter.
Note: Sometimes the users need to get the permission of administrator so when you open cmd, Run as administrator.
2: Type Below Command in CMD Prompt
netsh wlan set hostednetwork mode=allow ssid=wifiname key=wifipassword
Type the above code and hit enter. That code will create the hotspot in your Windows PC. Now lets start the Hotspot.
To start the hostspot we need to type the following command prompt code into CMD and hit enter.
netsh wlan start hosted network
Done! your hotspot is ready to use.
Note: it will create this hostspot for until your PC restart or shutdown. So if you don’t want to enter everytime this code, then we have solution for you.
Make a batch file of it and just run the file every time when you start the PC or whenever you want.
To make a batch file, First write the commands on a notepad as we have written it on our notepad. See the below screenshot.
Then save it with the extension bat. e.g. wifi.bat
Your batch file is made and now execute the file with Admin Privileges.
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.
Your wifi hotspot would be ready. 🙂
To Stop the WiFi Hotspot
If your work is done of hotspot sharing, It is better to turn off for saving battery, increase speed and save internet.
Write the following in command prompt:
netsh wlan stop hostednetwork.
Hope this was the best Windows trick, Do comment in below comment section and tell us how was it.