Search code examples
windowswindows-7windows-7-x64netsh

Can't start hostednetwork


When I try to run netsh wlan start hostednetwork, I get the following message:

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.

I'm running this with admin privileges, so it's not the notorious

C:\Users\Kevin>netsh wlan start hostednetwork
You must run this command from a command prompt with administrator privilege.

How do I get the hosted network "in the correct state"?


Solution

  • 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.