Make your PC into a Wi-Fi Hotspot

Here is how you can turn your Windows 10 PC into a Wi-Fi Hotspot

Ever been in a situation when you want to share your Windows computer’s internet connection with your mobile or any other device? Even in today’s world, not every place has a Wi-Fi connection. Some still rely on Ethernet connections. So what if you don’t have access to a Wi-Fi router and have one Ethernet cable but more than one device to use the internet connection on?

Fortunately, any modern Wi-Fi device today can turn into a WiFi hotspot i.e. act as a WiFi router. It may not be a permanent solution to your internet problem as it will require your device to be active as long as you want to use the internet connection, but it is a good temporary hack to know. While it is fairly easy to turn your smartphone (Android or iPhone) into a hotspot, it is not as simple on a computer running Microsoft’s Windows 10 operating system.


To turn your computer into a WiFi hotspot will require a bit of tinkering and running some code on the command prompt. Here is how you can do it,

Using Windows 10’s Built-in Feature

  1.  Open Settings by pressing CTRL+I.
  2. Open Network & Internet.
  3. In the left pane, check if you can see Mobile hotspot. If no, then skip to step 6 If yes, then click on it.
  4. Switch the toggle button to On.
  5. Click on Edit to set your Network name and Password.
  6. If you don’t see the Mobile hotspot option, open the Network and Sharing Center by right-clicking on the WiFi connection button.
  7. Click on Change Adapter Settings.
  8. Right-click on the Wi-Fi icon and select Enable.
  9. Now, go back to Step 1.

If this doesn’t work for you, you can also use the command prompt to manually turn on the WiFi hotspot feature.

How to turn on Mobile Hospot using Command Prompt

First, you will need to check if your network driver supports sharing WiFi over a hotspot.

  1. Press START+X and then click on Command Prompt (Admin).
  2. Type the command given below and press ENTER,NETSH WLAN show drivers
  3. Does your PC say yes for Hosted network supported? (highlighted in yellow below)
  4. If it does, then your PC supports sharing Wi-Fi over a hotspot. Follow the next few steps to achieve it.
  5. In the command prompt, paste the following line of code, replacing ‘Your_SSID’ with a Network name and ‘Your_Passphrase’ with a password (at least 8 characters in length).NETSH WLAN set hostednetwork mode=allow ssid=Your_SSID key=Your_Passphrase
  6. Next, type in the following command and press ENTER,
    NETSH WLAN start hostednetwork
  7. Press CTRL+X and select Network Connections.

    8 . You should now see a Microsoft Hosted Virtual Network connection there.

    9 . Right-click on Ethernet and select Properties.
    10 . Check both the boxes and select the Local Area Connection in the drop- (highlighted in yellow below)down box and then select Ok.
    That’s it, you should now be able to connect to the WiFi network via any device. To turn the hotspot OFF, you can use the following command.

    NETSH WLAN stop hostednetwork

    To enable/disable the hosted network option, you can use the following two commands,

    NETSH WLAN set hostednetwork mode=allow
    NETSH WLAN set hostednetwork mode= disallow