Connectify and Virtual Router have been around for a while, but did you know you could share your internet directly from your Windows machine as a Wifi hotspot?
From Windows 7 onwards there is this inbuilt feature, namely Virtual WiFi Miniport Adapter. You can broadcast your internet connection in access point mode and use it on any device. In this example, we will share a LAN connection on Virtual Wifi.
Open up an elevated Command Prompt or a PowerShell and issue this command:
netsh wlan set hostednetwork mode=allow ssid=YourHotspotName key=YourPassword keyUsage=persistent
You have enabled your Miniport Adapter. Now issue the following command:
netsh wlan start hostednetwork
Right click on the network icon in your taskbar and open Network and Sharing center. Chose “Change Adapter Settings” on the left side. You will see a new connection with “Microsoft Hosted Network Virtual Adapter” in its description:
This is your Virtual Adapter (and KOSMOS-2251 is my hotspot name).
Now right click the LAN connection (the one you want to share on the Virtual Adapter) and open Properties:
Move onto the Sharing tab and check “Allow other users to connect through this computer’s internet connection”:
You will have to mention the name of your Virtual Miniport Adapter here.
Next click settings and enable all services that you want to share. That’s it, you can use the internet on your hotspot from any Wifi enabled device around!
To stop the Wifi connection, issue:
netsh wlan stop hostednetwork