Windows Guides Feed

hotspot 500x586 Set Windows 7 as WiFi HotSpot [Quick Tip]

Update: If you are not able to get it working, please post your question in the forum: Get help setting Windows 7 as a wi-fi hotspot in Windows Forums.

Windows 8 hotspot instructions

Windows 7 comes with a new feature for sharing your computers internet connection. Now, you can do it wireless. Well, As long as your system’s wireless network adapter supports Windows 7 “virtual wi-fi” feature, you can do it.

Next you need to check if your network card has the latest driver to support the feature. Intel, Broadcom, Realtek and some other NIC makers provide such drivers.

If the above conditions are met, you are good to read on …

The Commands – Step 1

Feel free to put the following commands into a .bat-file for simpler and faster usage.

  • Open an elevated command prompt (Type “CMD.EXE” in the start menu search bar, then right click the cmd.exe link and select “Run as Administrator”).
  • In the command window, type: netsh wlan set hostednetwork mode=allow ssid=MyNet key=MyPassword keyUsage=persistent
  • Replace “MyNet” with the name you want to use for the wireless network and replace “MyPassword” with your chosen password for accessing it)
  • Press Enter.
  • Now type: netsh wlan start hostednetwork
  • Press Enter.

Step 2 – You need only do this once (usually):

  • Open Control Panel and go to Network and Sharing Center.
  • Click Change Adapter Settings.
  • Right click your Internet connection and select Properties.
  • Click the Sharing tab.
  • Check the box that says “Allow other network users to connect.”
  • Choose your virtual Wi-Fi adapter and click OK.

Now Wi-Fi enabled computers within range should see your new wireless network and others can connect to it if they know the password.

Android Connectivity Problems

Some users report that they loose connectivity after a while. User M3n0 commented that one solution might be to add Static IP to your device. There are many free apps in the Android Market offering this kind of feature. I have not tested this myself as I don’t experience any problems what so ever on my device (yeah, yeah, bragging, I know). But please do, and let us know if it helps you.

If you don’t want this connection to remain permanent, remove the: “keyUsage=persistent” from the first command line.


#1: If you are not able to get it working, please post your question in the forum: Get help setting Windows 7 as a wi-fi hotspot in Windows Forums.

# 2: Some experience connectivity issues after rebooting the computer or device. This May be solved with a hotfix from Microsoft. Read More here.

# 3:  Edited the origial script, after a sugestion from ScuubZ: added: keyUsage=permanent. Removed due to complaints that it doesn’t work. Try to use: KeyUsage=Persistent.

 Set Windows 7 as WiFi HotSpot [Quick Tip]

About Thomas

Computer geek from the age of 7, which amounts to 30 years of computer experience. From the early days (when every computer company had their own OS) of DOS, Windows 1.0 through Seven...

Free PC tips by email

Search Windows Guides


  • ricky

    great tips, first time its not work because i’m using only one wifi adapter in my laptop trying to make in&out it wont work, then i add dlink usb wifi it works

  • Gaj

    Still not working. Using win7+hotfix, wi-fi virtual enabled. problem is, once rebooted, the network, i.e. access point is no lnger there. any advice?

  • stefano

    hello, I installed AVG on my PC windows 7 64 bit, and I want to share my internet connection with my smartphone turning the PC into a hotspot and then share the connection with my smartphone, but unfortunately AVG blocks access to my pc . Before installing AVG my smartphone saw the connection that I created, it connected and I could surf the internet, but not anymore, how can I fix this?

  • just passing by

    Dudes, you’re the best. So many are people trying to sell their shitty shareware or ad-supported bullshit for doing just this ! You guys really should have more visibility with this great tip.

  • Lee

    the network is started but my mobile phone couldn’t connect to the wifi network . why ? the status of my smartphone stuck at “connecting”

  • Dhananjay Saha

    Thanx,,it worked :)

  • Neelav

    “The Wireless AutoConfig Service is not running”
    this message flashes every time….what should I do??

Computer tips in your inbox
Sign up for the Windows Guides newsletter to get PC tips and access to free Windows books (More details)

Enter your email address:

Popular Guides

See which sites have been visited on your PC (even if private browsing mode is used)

Create a Windows 7 System Repair Disc

Best Free Anti-malware

Hibernate vs. Sleep vs. Shut-Down

i3, i5, and i7; Dual, Quad, Hexa Core Processors. How to they Differ?

Intel's Ivy Bridge Processor: new Features

Submit Your Tip
Submit your computer tip to us; receive full credit for all published tips

Windows Guides on Facebook