Your PC as a Private Hotspot or WiFi Repeater

Karl Is WrightNetworking, WiFi

If your Windows PC (or most likely your laptop) has this little thing listed under (in Windows 7) Control Panel -> Network and Internet -> Network Connections,

wi-fi miniport

called a Microsoft Virtual Wifi Miniport Adapter, then you can do more with your wifi besides simply using the internet. You can also start sharing your internet connection.

Some of the things you can do, you can create your own WiFi Hotspot with your PC as the network hub, or you can setup a WiFi Hotspot and share your computer’s internet connection. Why would you want to setup a simple Local Area Network over WiFi (WLAN)? A WLAN could be useful for when you want to share something between yours and a few other PC’s, or maybe you just want to use it as a convenient way of setting up a LAN to play games with your friends in the same room. Perhaps you have wifi in your home, but the router’s range is limited, with this method, you can use your laptop as a cheap makeshift range extender by offering a wifi repeater that let’s you connect to the internet in the parts of your home or office that don’t get good reception from the main router.

Alright, assuming you’ve got at least one Microsoft Virtual WiFi Miniport Adapter (again in win 7 you can check under Control Panel -> Network and Internet -> Network Connections).

To share your internet connection, go to, right click -> Properties on your adapter with internet access, be that your WiFi connection or your Ethernet connection (whichever is connecting your PC to the internet). Then, under the Sharing tab check to, ‘Allow other network users to connect through this computer’s Internet connection.’ In the ‘Home networking connection’ dropdown, select the connection you want to share your internet access over, e.g. ‘Wireless Network Connection 6’.

setup sharing

The next step takes place in the Windows command prompt. It’s best if you run it as an Administrator.

You can either type in these commands yourself, OR you can simply copy/paste them into a .bat file and run that as an Administrator.
netsh wlan set hostednetwork mode=allow ssid=[your network name] key=[password] keyUsage=persistent
netsh wlan start hostednetwork
and then to stop the network,
netsh wlan stop hostednetwork

Hopefully you find this post useful! Remember to post your own tips and experiences in the comments section below.