Can’t start hostednetwork [closed]
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
C:\Windows\system32>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.
C:\Users\Kevin>netsh wlan start hostednetwork You must run this command from a command prompt with administrator privilege.
Well, if the error is correct, it’s not a resources issue. It says that the group or resource is not in the correct state. My bet would be it’s talking about ‘hostenetwork’. See if you can get it in a ‘ready’ state, or whatever state it needs to be in before it is started. Does it need stopped first? Probably before you set anything?
@JamesK That was a great idea, so I tried netsh wlan stop hostednetwork , it said that it was successfully stopped, and then I ran netsh wlan start hostednetwork , but it gave me the same error. pastebin.com/TqDwrvMj
I had the same issue and found out the reason was my network adapter doesn’t support this feature :(. Then I have set up a hotspot using an alternative way as explained here devreads.xyz/…
11 Answers 11
This happen after you disable via Control Panel -> network adapters -> right click button on the virtual connection -> disable
To fix that go to Device Manager ( Windows-key + x + m on windows 8, Windows-key + x then m on windows 10), then open the network adapters tree , right click button on Microsoft Hosted Network Virtual Adapter and click on enable.
Try now with the command netsh wlan start hostednetwork with admin privileges. It should work.
Note: If you don’t see the network adapter with name ‘Microsoft Hosted Network Virtual Adapter’ try on menu -> view -> show hidden devices in the Device Manager window.
You may have to go to View -> Show hidden devices in the device manager to see Microsoft Hosted Network Virtual Adapter
Yes isn’t it silly that the GUI removes the virtual network from sight after disabling it. I wanted to reset the ad-hoc WLAN for some other reason but then it disappeared and even if the GUI is rubbish I expected the command line should bring it back.
under windows 10 this does all not work for me, but just turning on the «mobile hotspot» from windows 10 (search for hotspot in windows search) just works fine. you can enable the hosted network support also: answers.microsoft.com/en-us/windows/forum/…
Let alone enabling the network adapter under Device Manager may not help. The following helped me resolved the issue.
I tried Disabling and Enabling the Wifi Adapter (i.e. the actual Wifi device adapter not the virtual adapters) in Control Panel -> Network and Internet -> Network Connections altogether worked for me. The same can be done from the Device Manager too. This surely resets the adapter settings and for the Wifi Adapter and the Virtual Miniport adapters.
However, please make sure that the mode is set to allow as in the below example before you run the start command.
netsh wlan set hostednetwork mode=allow ssid=ssidOfUrChoice key=keyOfUrChoice
and after that run the command netsh wlan start hostednetwork .
Also once the usage is over with the Miniport adapter connection, it is a good practice to stop it using the following command.
netsh wlan stop hostednetwork
Sorry it took me so very long to accept your answer. My old laptop went completely kaput (GParted and GDDrescue don’t even recognize my drive), so I couldn’t test this out for a while. But it works flawlessly on my new machine.
Still didn’t work for me on win8.1 though. In addition, I had to enable a new network device in the device manager.
Did you enable your Wireless Adapter? I mentioned about disabling and enabling the Wireless Adapter before executing the commands. Without enabling the Wireless (or WiFi) Adapter, the commands would not work.
@UreshKuruhuri yes. Although your solution is the one that worked for me, it seems that for most people, juanfezero’s solution is what fixed their problems. Being on a public Q+A site, and since this question seems to be relatively popular, I believe that the most helpful solution for the community should be displayed first. However, you still have my upvote.
First off, when I went into cmd and typed «netsh wlan show drivers», I had a NO for hosted network support too. Doesn’t matter, you can still do it. Just not in cmd.
I think this problem happens because they changed the way hosted networks work in windows 10. Don’t use command line.
Just go on your pc to settings>Network>Mobile Hotspot and you should see all the necessary settings there. Turn it on, set up your network.
If it’s still not working, go to Control panel>Network and Internet>Network and Sharing Center>Change Adapter Options> and then click on the properties of the network adapter that you want to share. Go to the sharing tab, and share that internet connection, selecting the name of the adapter you want to use to share it with.
what if when I go to settings>Network>Mobile Hotspot there is a yellow sign which reads: we can’t setup mobile hotspot because your pc doesn’t have an Ethernet, WiFi or mobile data connection?
I encountered this problem on my laptop. I found the solution for this problem.
- Test this command in the command prompt «netsh wlan show driver».
- See Hosted network supported.
- If it is no,
- Go to device manager.
- Click on view and press on «show hidden devices».
- Go down to the list of devices and expand the node «Network Devices» .
- Find an adapter with the name «Microsoft Hosted Network Virtual Adapter» and then right click on it.
- Select Enable
- This will enable the AdHoc created connection, it should appear in the network connections in Network and Sharing Center, if the AdHoc network connection is not appear then open elevated command prompt and apply this command «netsh wlan stop hostednetwork» without quotations.
- After this, the connection should appear. Then try starting your connection. It should work fine.
Thanks, my card driver does support HostedNetwork (I also know because Connectify Hotspot works on my laptop), so this isn’t the problem for me, though this may be an issue for other visitors to this question.
In my case, my driver did not support Hosted Network on Windows 10. By following a tip from another site, I installed the version for windows 8.1 and it worked like a charm.
C:\WINDOWS\system32>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.
C:\WINDOWS\system32>NETSH WLAN set hostednetwork mode=allow ssid=Compu1-5GHz key=12345678 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.
«Microsoft Hosted Network Virtual Adapter» instead of this I have «Microsoft Wi-Fi Direct Virtual Adapter » & «Microsoft Wi-Fi Direct Virtual Adapter #2 «. I even tried disabling and enabling it also further both have «Allow the computer to turn off this device to save power » options selected. Still no luck for me please help me
First check if your wlan card support hosted network and if no update the card driver. Follow this steps
1) open cmd with administrative rights
2) on the black screen type: netsh wlan show driver | findstr Hosted
3) See Hosted network supported, if No then update drivers
In my case the drivers are already the latest version. Still I see that the hosted network support : No. What can I do
If hostednetwork isn’t supported you can try my “Wifi Direct Access Point” app available in Microsoft Store. It use WiFi Direct to create an Access Point and works with the new driver of Windows 10 (Wireless Card should support WiFi Direct).
Symptoms
You install an application that uses Microsoft Virtual WiFi technology on a computer that is running Windows 7 or Windows Server 2008 R2. However, the application does not work after the computer restarts. Additionally, you receive an error message that resembles the following:The hosted network couldn’t be started. The group or resource is not in the correct state to perform the requested operation.
Cause
This issue occurs because the Virtual Wi-Fi filter driver does not create the Virtual Wi-Fi Adapter correctly when a PNP resource rebalance occurs during the startup process.Notes
1.This issue may occur when a Plug and Play (PNP) resource rebalance occurs during the startup process. The PNP resource rebalance is usually triggered by a change to the hardware configuration.
2.If you open Device Manager when this issue occurs, you notice that the Virtual WiFi Adapter is not created.
If you can’t restart your hostednetwork after rebooting the OS ,just Try this hotfix .It fixed my problem. Or try to figure it out by yourself according to the Symptoms and Cause mentioned at the start of my answer.
Often, I’ve found that the solution to this problem can be fixed by disabling and then enabling the Wifi hardware. I’ve made a script to do this automatically instead of doing it manually by going to the device manager. You can find it here