How to set up an adhoc network in Windows 10


Want to set up an adhoc network in Windows 10? Read the article to know about the step by step procedure to set up an adhoc network in Windows 10 using command prompt.

Adhoc network allows a user to make wireless protocols over times when there is a need of connecting 2 systems. It is a good alternative over connecting two PCs or laptops with a LAN cable. But proper drivers are required to avail the adhoc network setup option. If you don't have the wireless hardware and its driver installed on your PC, you cannot set up an adhoc network.

Checking for adhoc set up


In order to check whether you have such drivers, simply navigate to the Network Sharing Center and see the text below to the "Set up a new connection or network" option. If the text contains adhoc network, in addition to Setting Up Broadband, Dial-up or adding VPN connections then you're having the drivers installed and you can set up the adhoc network. If not (see the screenshot below), install proper drivers!

Looking for adhoc option in Network and sharing center screenshot in Windows 10

About setting up adhoc on Windows


After Windows 7, no OS from Windows allows to set up an adhoc network, even if proper wireless drivers are installed. Windows 10 is not an exception!

But there are some tricks by which on can do adhoc network setting in Windows 10. Here is the simplest and 100% working method.

Note that this trick works properly on Windows 8 and Windows 8.1 also.

Setting up an adhoc network in Windows 10


Below is the step by step guide to set up an adhoc network in Windows 10 on a PC.

1. Open Command Prompt as an administration. In order to open it as an administrator, right click on it and click "Run as Administrator".

2. Enter the following command in it.

"netsh wlan set hostednetwork mode=allow ssid=adhocnetwork key= mehdi1234"

In the above command, "mehdi1234" will act as the password for your adhoc network. You can keep another one!

3. Press enter!

Setting up adhoc network in Windows 10 using command prompt steps

4. The hosted network mode has been set to allow. Now, enter the following command after the above.

"netsh wlan start hosted network"

5. Press enter.

Setting up adhoc network in Windows 10 using command prompt steps

6. The hosted network has started! Close command prompt.

Screenshot of Network Sharing Center before setting up Adhoc in Windows 10
Screenshot of Network Sharing Center before setting up adhoc network in Windows 10.

Screenshot of Network Sharing Center after setting up Adhoc in Windows 10.
Screenshot of Network Sharing Center after setting up adhoc network in Windows 10.

You can also stop the network by entering the following command in command prompt or keep it forever.

"netsh wlan stop hosted network"

Stop adhoc network in Windows 10 using command prompt steps

Set it up- What now?


Usually adhoc network is set up for playing games in a multiplayer mode. It is less rated for file sharing!

So if you have set up an adhoc network on Windows 10, call you friends and have fun playing games in multiplayer mode like Counter Strike!


Related Articles

My first experience with Windows 10 Technical Preview

I have taken the bite and installed Windows 10 beta to get the fresh feel of the Windows 10 Technical Prevew release. Read my experience with Windows 10 and how do I feel about it in comparison with Windows 8 and Windows 7.

Windows 9 rumoured features, release date and news

Are you waiting for Windows 9 and want to know what all features are coming in this new OS? Want to know if it is a dud just like Windows 8 or is a much better experience? Read our article to know about the rumors, expectations, release date and price of Windows 9.

How to explore Windows 10 OS Home Tab?

Have you managed to download Windows 10 OS technical preview version by now? Did you notice a change in the file explorer of Windows 10 operating system? Please read further to know about the new Home tab feature of the file explorer on Windows 10. Here, I have discussed ways to access the Home view in explorer window as well as explained the stuff contained in Home tab of Windows 10 file explorer.

A Complete Guide to New Windows 10 Features

Microsoft has finally released its most awaited operating system 'Windows 10'. Though it is just a beta version, there are many exciting new features added in this release. In this article I would like to share top four features that attracted huge attention from the users. We will discuss how to work with them along with some of their keyboard shortcuts.

More articles: Windows 10 Windows 10

Comments

Guest Author: Ghasem18 Aug 2015

Thank you for the helpful information. It solved my problem.

Guest Author: hheinzchen03 Dec 2015

Thanks a lot for the helpful guidance. Now I can use my phone as keyboard (logitech touch mouse) even if I am offline.

Guest Author: Agostinho10 Dec 2015

It is a very useful and it works!
However I have 3 points:
1. By mistake I disabled that connection and it simply disappeared and now I cannot find it anywhere so do you know how to enable it back?
2. Let's say I don't have a WiFi router and have only my cable modem linked to my laptop, but I want to share this adhoc connection with my mobile device in order to allow it to access internet. Is it possible?
3. How can I define the IP range it uses?

Guest Author: james12 Jan 2016

I have the same problem as Agostino -1st point. I'm getting the response: The group or resource is not in the correct state to perform that operation. The hosted network couldn't be started.

Please guide what is to be done.



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: