How To Create Wi-Fi Hotspot Using Command Prompt On Win 8/8.1/7
WiFi is more realistic way to get better internet connectivity. 802.11n created great exposure in area of communication & networking. We are using it in our day to day lifestyle and its an essential part of it.
Recently we got many queries from our avid readers that they want some simplified solution for creating Wifi hotspot in latest Windows PC. Here is a recipe for same.
Creating Wi-Fi hotspot network using a command prompt without the need of installing any foreign softwares.
By using this way you can create a Wi-Fi hotspot on your Windows 8/8.1/7 pc and laptops.
So for creating a hotspot and sharing internet with your friends you simply have to follow steps mentioned below -
- Open command prompt with administrator privileges
- Set up a hosted network for enabling Wi-Fi.
- Start your hotspot
- Share your internet connection
For beginners, you can open command prompt by following the steps -
- Click on the start button on your desktop OR press the window key on your keyboard.
- In the search box type "cmd".
- You will see the cmd option. Now right click on command prompt and select Run As Administrator.
- As you are accessing the admin privileges you will be prompted and asked for User Account Control. Click on yes and now you have your command prompt running.
- Set up a hosted network for enabling Wi-Fi
Here we will check whether your computer supports hosted networks and then create a hotspot.
- Device Check -
In your command prompt type netsh wlan show drivers and press enter
It will show you some results like this image.
Here just check Hosted network supported : Yes - This means your computer supports hosted networks.
- Creating a hosted network -
Type as you see - netsh wlan set hostednetwork mode=allow ssid=Hostname key=password
Press enter. This will create your hotspot but it is still offline.
- Start your Hotspot
Start your hostednetwork -
Simply type - netsh wlan start hostednetwork
This will start your hotspot you created above.
You can also check your hotspot status -
Type netsh wlan show hostednetwork and press enter. Here you your hotspot details.
Share your internet connection
Now to share your internet connection with your friends through this hotspot go to the Network and Sharing center on your computer. Click on the change adapter settings on the top left corner of your screen.
Here you have to right click on the connection that you are currently using to connect to internet and click on properties.
[Now here in my case I'm using the Reliance connection for connecting to internet, so I will select its properties].
In the properties window switch to the sharing tab and check the box - "Allow other network users to connect through this computer's internet connection ". Further select a network connection name that is used by your hotspot (For this look for a connection that saays : Microsoft Hosted Network Virtual Adapter). Press OK to save it.
Now you can share your internet connection.
Quick Tip -
We know you might be thinking this is too much of typing. But hey there's an another way by which you can save your time and quickly launch your hotspot.
- Open a Notepad and type in all the commands as we saw above. Then save this file with a ".bat" extension. Example - Hotspot.bat
- Save this file on your desktop for quick access.
- Run it as Administrator and see your hotspot running.
So this was a quick go through on how to create wi-fi on your windows with using command prompt. If you face some problems performing the above steps, feel free to ask in the comments below.