How to Turn Your PC or Laptop into a Virtual Router

Sharing is caring!

Standing in this twenty-first century, if I say most of us generally live and breathe the internet, then I don’t think it’s much wrong. And to match with our high expectations and ever-growing pace majority of our PCs or Laptops or Handhelds are WIFI capable. Simply, it is gratuitous to state only a WIFI capable device is not enough to find an internet connection when you don’t have any in your device. You need a wifi router or a virtual router and so the ability to create one.

You may ask why need a WIFI hotspot or virtual router when you have your own secure Wireless connection. In that case, you don’t require one. But you definitely need a Virtual WIFI Hotspot for other than you to share your internet connection without sharing your real credentials. Here goes the option if you have a WIFI router. But consider the situation where you don’t have any router at all but still want to share your internet connection.

I am going to discuss the built-in trick to help you in your pursuit.

If your PC is WIFI capable and running with Windows 7 or higher version, then you just need to follow my lead and by the end of this heading, your PC will turn into a Virtual Router. Regardless the factor that if you have any WIFI router or not you will be able to share your internet connection, whether it is a LAN or Mobile or USB internet you are using.

Create and Enable Microsoft Virtual Wifi Miniport Adapter

Checking your device compatibility

Firstly, from your start menu, choose cmd.exe and right-click on it to ‘Run as administrator’. Now you need to make sure if your WIFI adapter supports hotspot or not. Simply, type the command – ‘netsh wlan show drivers’ and press enter. Carefully look at the following lines. You will get a line like – “Hosted network supported: Yes“, otherwise the process will not work.



Set up your Virtual Router

Now if your device is compatible then let’s concentrate to set up your WIFI virtual router. Type the command – ‘netsh WLAN set hostednetwork mode=allow ssid=myTechintakHotspot key=passwordtechintak’. This command will create and set the property of the new hosted network. Set your desired hotspot name at the place of ‘myTechintakHotspot’ and do the same with the key character. But make sure the user security key should be 8 to 63 ASCII characters. After the key part of the command, you can add a portion- ‘keyUsage=persistent’. The other value of this can be temporary. If the keyUsage assigned as persistent, then the security key will be saved for future reference when the hosted network will start again. Otherwise, it will be utilized for now or next time when the hosted network is activated. Once the hosted network is stopped the temporary security key will be automatically removed from your system. If you don’t mention the keyUsage part it will by default be persistent.


Everything should be successfully changed otherwise you need to download the latest driver.

Activate your Virtual Router

For the next step, you need to go back to the command prompt window and need to type the command –‘netsh WLAN start hosted network’, and press enters to activate your Virtual WIFI Hotspot. A message will show to confirm the same. You will be now able to detect your Hotspot from other WIFI capable devices.

Sharing internet connection and deactivate the Virtual Router

Sharing internet connection

Now, everything will be there, your virtual router will be displayed on other wifi enabled devices and can be connected as well. The only thing will be missing is internet connectivity. Now, follow the steps below to share activate internet sharing.


Now, go to the adapter which is connecting your PC to the internet from ‘Internet and Sharing settings’. In my example, it is ‘Ethernet 2’. Again, right-click on it and go to Properties option and hit the sharing tab. Click to check the first checkbox which will let other users relate through your PC internet connection. One more thing to do before you hit the OK button and close the window, select your newly created virtual router’s name from the drop-down list under the text ‘Home networking connection’. The adapter will show as shared. Here ends your configuration process.

Deactivate your Virtual Router

When you have done with your router you need to deactivate it. To deactivate your hotspot one simple command will be enough ‘netsh wlan stop hostednetwork’.


Obviously, this procedure is a bit long, but never hard to follow and if you ignore that and pursue the steps carefully then you can create your Virtual WIFI Hotspot without any help of third-party software, which may or may not be free. Rather lengthening any further, I want to draw the conclusion by hoping that you have enjoyed this article and found it useful.

Add a Comment

Your email address will not be published. Required fields are marked *