How do I set up an ad-hoc WiFi network in Windows 10?

I want to create an ad-hoc network in Windows 10 so that I can do connection sharing with another computer without having to get an ethernet cable out of my backpack. When I am in Network Connections and right-click on the adapter and choose “Connect To” or “Connect / Disconnect”, it brings up the modern Settings app which just lists existing WiFi APs. I can’t find the GUI for manually configuring an ad-hoc network. The closest thing I see is the option to connect to “Hidden Network”, but that only shows up when there are hidden networks and doesn’t let me set the mode to ad-hoc.

How do I do this in Windows 10 with just Windows 10’s built-in tools? Is the only option netsh (and how do I do that if so)?

Answer
Answer

Hi,

Thank you for posting your query in Microsoft Community. I am glad to assist you on this.

Windows 10 misses the ability to set ad hoc network feature, But 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 of 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.

Follow the steps below and check if it helps you with the Setup.

  • Right click on the start button.
  • Choose the Command Prompt (Admin).
  • 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.
  • 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.
  • 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.
  • Afters etting up the hosted network, you need to start it.
  • And to do so, type the      following command “netshwlanstarthostednetwork
  • Now open  Windows 10 Control Panel.
  • Choose Network and Sharing Center.
  • On the left pane of Network and Sharing Center window, click the link Change Adapter Settings.
  • This will open up Network Connections.
  • Here, or 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.
  • Navigate to the Sharing
  • Select the checkbox which asks you to
  • Allow other network users to connect through this computer’s Internet 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.
  • Now you can connect any of your Wi-Fi able devices with your Windows 10

Your reply is very important for us to ensure a proper resolution. Please get back to us with the above information in order to assist you accordingly.

For further assistance, you can post your query in Microsoft Community.

320 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 27, 2024 Views 402,247 Applies to: