How to Set Up a Wireless Hotspot - From Ethernet (Windows 7)

Picture of How to Set Up a Wireless Hotspot - From Ethernet (Windows 7)

This is my first Instructable so all constructive critiscm is welcome.

In this Instructable I will be showing you how to set up your own wireless access point using Windows 7's "Virtual WiFi Miniport Adapter" .You will need a pre-existing wired (ethernet) internet connection to set up the wireless hotspot.

Some of you may now be wondering "Why would I want to set up a wireless hotspot when my laptop is already connected to the internet?"

OK just imagine this situation:

Just say you were staying at a hotel on a business trip and the hotel offered free internet access via ethernet (not wireless). If you wanted to connect an Ipad or similar device, you would need to either set up your own router (and come on, how many of you honestly can say they would bring a router with you on business trips?) OR you could follow this guide and setup your own wireless access point, thereby making the connection available to any WiFi capable device.

A Network Interface Card is a card used by your computer or laptop to communicate over a network. There are multiple types of NIC cards that connect to different technologys such as Ethernet or Wireless. Most laptops only have one NIC (Network Interface Card). This lack of multiple Network Interface Cards makes it impossible for a user to have an internet connection whilst sharing a hotspot. Thankfully due to virtualisation, you can "split" your NIC into "two" hardware and while one is connected to the internet, the other can be sharing this internet connection with your other WiFi capable devices.

Anyway enough information, lets get to the instructable.
Remove these adsRemove these ads by Signing Up
1-40 of 55Next »
KalyaniP4 days ago

i could successfully create wifi.. nd while trying to connect my mobile to the gets stuck to 'obtaining ip....' and couldn't get the connection in advance :)

tromeccca16 days ago

Hi ! Really nice tutorial !
But still i got a problem. I followed properly each step but when i log into the wifi hotspot i created, it does log in but it says no internet connection. (But on my computer the ethernet connection works really well).


Doesn't know how but after i retried the protocol it started working, and now works perfectly ! Thx !

i have intel centrino advanced-N 6200 agn hardware in my dell e6410, I m trying too make my laptop a wifi hotspot to share my wireless brodband internet usb to deliver internet using this hardwar so tha i can use on phone, used mypublicwif software it created a new network connect using some microsoft virtual wifi mini port anmed connected, which tryes to share the connected internet.

once the mobile got connection

i m seeing a bluescreen then restart, can u help me solve this??

MalikF119 days ago

fantastic ! awesome it works! i have been searching it since so long! finally with your instruction its working great! thanks alot!

adriand13 months ago

I managed the earlier steps .. the final Error is posted in the attached picture.


bro u using windows xp its for windows 7

hima09 HunterD123 days ago

bro.....that's windows 7 but in classic mode....look closer BRO!

mihai.faget1 month ago

Thanks !!!

kipgendio1 month ago
There is a error in the 2nd command that is typed in CMD.
The command is "netsh wlan start hostednetwork" (without " ").
The 1st commamd creates a virtual wifi adapter
2nd step is to share your internet connection to the virtual adapter
3rd step (i.e the 2nd cmd) is to start the virtual hostednetwork.

Btw i use this alot but never used "the KeyUsage=persistant".
so guys if the above doesnt work, try removing "KeyUsage=Persistant"
M. DawodS1 month ago

I failed to enable my wifi miniport, I followed your instruction step by step, the CMD said that my operation was successful but nothing happened in real, the mini port is not visible. However, on the same PC in the previous win 7 there was no problem in enabling it. Any help please

PatrickO32 months ago

I do not have drop down options under home network connection, it automatically says wi-fi, my ipad detects the new hotspot created but it stays stuck on obtaining IP address and never gets connected at all. What should be my problem?

the what2 years ago
I have this problem. Followed the instruction but I got the response: "You have to run this command from command window (not sure about translation) with rights of an administrator."
Got info from an expert that I´m supposed to right-click someplace at cmd-exe and choose "run as administrator". But don´t understand where to find this. Have tried the [windows]+R to recieve the "RUN" window, but it cannot find where.
haren99 the what2 months ago

run as administer the cmd by right click option it will work surely

jsharp2 the what6 months ago

Instead of "Run" use the "Search" it is Usually found in C:\Windows\System32

ghostmonkeys (author)  jsharp26 months ago

Yeah this is another way of launching it. Make sure you right click and select "Run as Administrator" when you launch it.

ghostmonkeys (author)  the what2 years ago
Hey the what,

Okay. It sounds as if you don't have sufficient privileges to use these commands. As I said in the Instructable, you HAVE to be logged onto the computer with an Administrator account. Are you logged onto your computer with an Administrator account? If you aren't, then log out of your account and log in with the Admin account. If you are, and Using the RUN command to open CMD doesn't work (it normally does, it opens the windows with Administrative privileges) then I would suggest manually going into the C:\Windows\System32 directory and opening it from there. To do this, you should open the directory, find cmd.exe and right click on it. It should then give you the option to "Run as Administrator". Select that, and if it does not work, send me a PM and I'll help you further.

In summary: open the C:\Windows\System32 folder and right click on cmd and select "run as administrator".

Have a great day,

abhayp2 months ago

hiii ,,, after third step of cmd ...... reply is the hosted network couldnt be started. A device attach the system is not functioning...... so now what should i do???????? please give expert opinion

svvaniawala2 months ago

My wifi hotspot has started, but every time I start the computer, I have to go to cmd and type the command "netsh wlan start hostednetwork". How to keep this permanently enabled so that I do not have to go to cmd and type everytime?

lagunabad1 year ago
can i ask, how i wan to change the password. because my password key now is "Password" .. lol
s910081 lagunabad2 months ago

Try typing in the whole command again but after the "key=" put in your own password. (i.e. netsh wlan set hostednetwork mode=allow ssid=[desired ssid] key[desired password] keyUsage=persistent). It worked for me. Hope this helps!

s9100812 months ago

Thanks so much for this info!

sabyasachi15 months ago

thank you so much for the help.....i can now host my own hotspot thanks to u

rakesh1712096 months ago

How to share LAN Internet over WiFi on Laptop or PC without any Software Within 30 second-follow instruction given in video-

Aditi Sharma6 months ago

i wr following ur instructions. But my pc is shwng "The following command not found: wlan set hostednetwork.........................

Now what i can do

nvenkataraman7 months ago

Everything done exactly as instructed, wifi hotspot started perfectly.

but wen i try to connect my iphone or ipad via wifi it doesnt get connected. and after trying repeatedly, it gets connected but once i start browsing the wifi connection goes off and the web page loads in my 3G connection. its lik the hotspot doesnt provide internet connection.

kindly help

Vitalhb7 months ago

I used your instructions and it worked very well! I would like to add that I was able to set up a wireless hotspot and share my wireless network connection as well. Thanks for sharing your knowledge.

steve787611 months ago
Oh and also something else: If you would like go around all of these CMD codes and also such, you will find there's method which has a wonderful GUI known as "Connectify" -- Minus the estimate grades needless to say: ).Houlton Institute
milkncookiez11 months ago
Heyo. I used you tut and it worked out. But that was when I had a static IP. Now I had to change to automatically obtaining the IP and settings and this thing doesn't work anymore. I uploaded a screenshot of how my adapter settings look like.
I start the network, I see it, but I cannot connect to it - it just loads and loads...
i have set this up but it says "cannot connect" on my 2DS. The security key does not work is there another way to set this up in a GUI environment? When i set up the name for it it doesn't show in the adaptor settings. it just says the PC's name instead.
smilyshaan1 year ago
i dont get any new connection as the Microsoft Virtual WiFi Miniport adapter - The virtual NIC.
(removed by author or community request)
ghostmonkeys (author)  milkncookiez1 year ago
Are you able to connect any other Devices to it? Say a computer?
It worked out, I don't know why. Today I tried again (with my phone again) and it worked just like that... :D
It's almost like when I am prgramming:
- My code doesn't work. I don't know why.
- My code works. I don't know why.
ghostmonkeys (author)  milkncookiez1 year ago
Hahaha. Seems like you just needed to restart it ;)
ghostmonkeys (author)  milkncookiez1 year ago
Are you able to connect any other Devices to it? Say a computer?
vgoenka1 year ago
I cannot start the hotspot. After entering the above command as suggested by you, my computer says - The hosted network couldn't be started. The group or resource is not in the correct state to perform the requested operation.

samsin1 year ago
ghostmonkeys (author) please send me your contact email id ...i want to learn ccna .
jyshaikh1 year ago

I have setup as described by you. Now the problem at the point of connection. I have found the HotSpot connection in my mobile and my smart tv. But on selecting the same, it can not go through. It failed on IP address point at both deviced. On status for HotSpot, it says No Internet Access.

Can you help? Does this related to service by provided? I use the Broadband connection and connecting to laptop via LAN cable.

Please help.

shtihl1 year ago
This great stuff. My only comment pertains to "windows+r" is that only opens the 'run' dialogue. You need to enter 'cmd' in the box. A quick way to get to cmd.exe is to type it into search box in start menu. It should pop up at top of start menu allowing one to run it as administrator by right-clicking it

On a side note, what is the device you have pictured? It looks like an Ethernet wifi adapter
1-40 of 55Next »