Create WiFi Hotspot in Windows 8/7 with Command Prompt


WiFi hotspot on your Windows 8 and 7 PC allows you to share your internet connection with other WiFi enabled devices like Laptop, Smartphone and Tablets. Here is how to create WiFi hotspot network in Windows 8, 8.1 and Windows 7 running PC’s using command prompt easily.

Creating hotspot on your Windows 8 running Laptop PC takes few commands in command prompt window after which you would be able to connect your other WiFi enabled device with your newly created hotspot. In this guide I will be using Windows 7 powered Laptop, however you could follow same guide to create WiFi hotspot on your Windows 8 or Windows 8.1 PC or Laptop.

How to Create WiFi Hotspot in Windows 7 / Windows 8 and 8.1 with Command Prompt

Click on Start button, type cmd, right click on cmd.exe and run as Administrator. 


Step 1: Check if your PC is ready to create WiFi hotspot.

Before you proceed with creating WiFi hotspot enter this command and see if “Hosted network supported” is marked as “Yes”. If you see “Yes” that means your PC supported to create WiFi hotspot.

Enter this command: netsh wlan show drivers

 The above command will show you out put something like below image.


Step 2: Create WiFi hotspot in Windows 8 and 7

Now you need to create WiFi hotspot by providing name and password. Enter below command and change WiFiname with your name or any name you want and change password with your desired for WiFi hotspot. Make sure to enter a strong password to keep your network secure and remember it as well.

netsh wlan set hostednetwork mode=allow ssid=WiFiname key=password

After entering above command you show see a message as:

  • The hosted network mode has been set to allow.
  • The SSID of the hosted network has been successfully changed.
  • The user key passphrase of the hosted network has been successfully changed.


Step 3: Start your newly created WiFi hotspot

Now that you have successfully created WiFi hotspot it is time to see it in action. Enter below command to start your WiFi hotspot.

netsh wlan start hostednetwork

After enter the above command you should see a message as :

  • The hosted network started.


Step 4: Now start WiFi on your phone or tablet and search for available WiFi hotspots.

Step 5: Now your device will detect your recently created WiFi hotspot as available network.


Step 6: Select it and enter your password for WiFi hotspot that you have entered in step 2.



Now you can browse internet on your device wirelessly without the hassle of third party software. In case if you are unable to see your newly created WiFi hotspot on your device then follow these settings.

Go to Control Panel, click on Network and Internet, click Network and Sharing Center, click on Change adapter setting. Now right click on your currently active internet connection (refer image below) and select properties.


Click on Sharing tab and check Allow other network users to connect through this computers Internet connect. Next in Home networking connection: enter your wireless network name (refer image below).


Click OK to save the settings. Now again try to search for available WiFi network on your smartphone and you should see your WiFi hotspot being listed in the available network. Select it and enjoy wireless connectivity.

Also Read: Create WiFi Hotspot with Virtual Router in Windows 7 and 8


  1. I tried the above when I commanded to “start hosted network”, it returns with an error – “The hosted network couldn’t be started. The group or resource is not in the correct state to perform the requested operation”

    I am using Windows 7 Home Premium on MSI CX620 Laptop and micromax USB Dongle with Airtel sim with 3G for net connection. I am trying to connect my Xiomi MI 2 Smart phone to connect the WiFi. It doesn’t detect.

    • Hi Krishna,

      You get this error when your WiFi connection is disabled. If you have WiFi On / off key on your keyboard then press it to turn it on. If not, goto Control Panel > Network and Internet > Network and Sharing Center > Click on Change Adapter Settings > now right click on Wireless Network connection and select Enable.

      See if it works!


Please enter your comment!
Please enter your name here