Skip to content

Create Wireless Ad Hoc Internet Connection on Windows 10

 
Windows 10 misses the ability to set ad hoc network feature, in contrast to Windows 7. Anyways Windows 10 has the Internet Connection Sharing or ICS feature that permits your PCs internet connection to connect with the devices, though you cannot share the internet as it does not permit to set up a wireless network connection.

The ad hoc wireless connection switches your PC to a virtual Wi-Fi router, permitting internet connection to other devices, although each with a different IP address. Today in the article on Windows 10 we will show you Create Wireless Ad Hoc Internet Connection on Windows 10 but make sure that your network adapter is updated to the latest version. Let us begin the process.

How to Create Wireless Ad Hoc Internet Connection on Windows 10

  • Click the – Start.
  • Type – cmd.
  • Right-click on – Command prompt.
  • Choose – Run as administrator.

Set up Wireless Ad Hoc Internet Connection on Windows 10

  • If prompted by User Account Control, click
  • An elevated Command Prompt window appears on your screen.
  • Type the following command which will scan the virtualization support of your network interface.

netsh wlan show drivers

  • Now, here, if you get a No message then you have to update your network adapter.
  • And if the Hosted Network gives you a Yes message then it means that you can go ahead as the network interface assisted virtualization.

hosted network

  • Type the below-mentioned command to set up an ad hoc wireless internet connection.

netsh wlan set hostednetwork mode=allow ssid= key=

  • Now substitute the markup tags with your desired entries.

Create Wireless Ad Hoc Internet Connection on Windows 10

  • In the place of “network name” provide your desired network name and instead of “pass key” provide your key which should not be less than 8 characters.

Create Wireless Ad Hoc Internet Connection on Windows 10

  • After setting up the hosted network, you need to start it.
  • And to do so, type the following command.

netsh wlan start hostednetwork

Create Wireless Ad Hoc Internet Connection on Windows 10

  • Press – Windows logo key.
  • Type – control.
  • Hit the – Enter.
  • Choose – Network and Sharing Center.

control panel window network and security center

  • On the left pane of Network and Sharing Center window, click the link Change Adapter Settings.

change adapter settings link

  • This will open up Network Connections.
  • Here, for the recently created Wi-Fi connection, you need to turn on the Internet Connection Sharing.
  • And to do so right click on the internet connection device which is currently connected to the internet.

network properties

  • Navigate to the Sharing
  • Select the checkbox which asks you to

Allow other network users to connect through this computer’s Internet connection.

local area connection

  • And then use the drop down menu and select the recently created ad hoc
  • You can get the IP address of the recently created ad hoc connection by double clicking the TCP/IPv4 Properties under the Networking Tab.

ipv4/tcp properties

  • Now you can connect any of your Wi-Fi able devices with your Windows 10

connected network

All is set. View your connected network on Network and Sharing Center Window.

Tags:

39 thoughts on “Create Wireless Ad Hoc Internet Connection on Windows 10”

  1. Will setting this Ad Hoc enable me to go on to connect my Canon 6D camera to the laptop computer and download photos wirelessly not using my home broadband?

  2. Welcome Larry, for your compliment. Here, with a view to Create Wireless Ad Hoc Internet Connection on Windows 10, the principal culprit is your Network Adapter. Either enable the adapter if it is disabled or update to the newest from the vender’s website.

  3. Thanks for the write up…very good information.

    I’m trying to get two computers talking to each other wirelessly. This is what AdHoc is supposed to accomplish. Not to share an internet connection thru another computer. Just two computers, not on the internet, just able to communicate with each other.
    Computer #1 : 192.168.2.10 / 255.255.255.0
    Computer #2 : 192.168.2.11 / 255.255.255.0

    Works fine using Win7 but still no luck using Win10.

    I use your write up and all seems to work well except “Hosted network supported” says “No”.
    I proceeded to follow your write up anyway and had success with the following:
    “Hosted network mode has been set to allow,
    SSID of hosted network successfully changed,
    User key passphrase has been successfully changed.”

    Now I get this error:
    “C:Windowssystem32>netsh wlan start hostednetwork
    The hosted network couldn’t be started.”
    “The group or resource is not in the correct state to perform the requested operation.”

    I suppose the question is how to get “Hosted network supported” to say “Yes”.

    Any ideas on this?

  4. Thank you very much!
    Very clear explanation, easy to follow and with useful extra information, but I’m having problem to assign ip addresses to the other devices, do I need to start a DHCP service?

    I hope you all have a nice day, if I find a solution I’ll publish here.

    Hasta luego.

  5. This worked great and I was able to connect my ipad to ad hoc; however, once I reboot my laptop, the ad hoc is gone. Crazy!

  6. Worked great for me. I’d really love to set the connection so that the SSID is not being broadcast. How can I do that?

  7. I’ve done all of this. In network and sharing center I get “Internet” in access type at my created Adhoc connection which means all is well.

    But when I connect to my devices,they connect but no Internet access.
    I’ve put off my kaspersky entirely and windows firewall too. Did everything but not getting it to work. I’ve searched online and many have same problem in Windows 10.

    Pls help me. I need this to work urgently. Any idea?

  8. I created the connection and it worked perfectly, but the connection disappeared when I restarted my computer. How can I save it?
    Thanks

  9. When I try to connect my iPhone 6 to my ad hoc, the password keeps coming up as incorrect, even though it is the password I have used on the command prompt. Also, there is no dropdown menu on MY computer when I try to share the network. I am employing my Ad Hoc Network to connect/share the WiFi connection I have in my university. So it is a WiFi connection not a WiFi/ethernet connection. Please help 🙂 Email me if needed!

  10. C:Windowssystem32>netsh wlan start hostednetwork
    The hosted network couldn’t be started.
    The group or resource is not in the correct state to perform the requested operation. help plssss am stuck here

  11. if your internet comes through your LAN,Then after the connection is created using command prompt as stated above, you will see a “local Area Connection*x” in your network connections window, what you need to do is go to your Ethernet connection that is connected to the LAN, left click Properties -> Sharing and select “Allow other Network users to connect Through..” then under “Home networking Connection” Select “Local Area Connection*x”. This will allow your virtual wireless Adhoc connection use the LAN for internet.

  12. C:Windowssystem32>netsh wlan set hostednetwork mode=allow ssid=enter key=password
    The hosted network mode has been set to allow.
    The SSID of the hosted network has been successfully changed.
    The user key passphrase of the hosted network has been successfully changed.

    C:Windowssystem32>netsh wlan start hostednetwork
    The hosted network couldn’t be started.
    The group or resource is not in the correct state to perform the requested operation.

Leave a Reply

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