How can I start hostednetwork on Windows 7?

When I type in admin console command to start hostednetwork netsh wlan start hostednetwork it gives me this: The hosted network couldn't be started. The group or resource is not in the correct state to perform the requested operation.

There is a hotfix from Microsoft but it didn't help me. Any advice?

C:\Users\Pirozek>netsh wlan show driver

Interface name: Wireless Network Connection 3

    Driver                    : D-Link AirPlus DWL-G520 Wireless PCI Adapter(rev
.B)
    Vendor                    : Atheros Communications Inc.
    Provider                  : Atheros Communications Inc.
    Date                      : 8.7.2009
    Version                   : 8.0.0.171
    INF file                  : C:\Windows\INF\oem108.inf
    Files                     : 2 total
                                C:\Windows\system32\DRIVERS\athrx.sys
                                C:\Windows\system32\drivers\vwifibus.sys
    Type                      : Native Wi-Fi Driver
    Radio types supported     : 802.11b 802.11g
    FIPS 140-2 mode supported : Yes
    Hosted network supported  : Yes
    Authentication and cipher supported in infrastructure mode:
                                Open            None
                                Open            WEP-40bit
                                Shared          WEP-40bit
                                Open            WEP-104bit
                                Shared          WEP-104bit
                                Open            WEP
                                Shared          WEP
                                WPA-Enterprise  TKIP
                                WPA-Personal    TKIP
                                WPA2-Enterprise TKIP
                                WPA2-Personal   TKIP
                                Vendor defined  TKIP
                                WPA2-Enterprise Vendor defined
                                Vendor defined  Vendor defined
                                WPA-Enterprise  CCMP
                                WPA-Personal    CCMP
                                WPA2-Enterprise CCMP
                                Vendor defined  CCMP
                                WPA2-Enterprise Vendor defined
                                Vendor defined  Vendor defined
                                WPA2-Personal   CCMP
    Authentication and cipher supported in ad-hoc mode:
                                Open            None
                                Open            WEP-40bit
                                Open            WEP-104bit
                                Open            WEP
                                WPA2-Personal   CCMP

Solution 1:

Had the same problem. Tried everything - updating Intel 5100 Wifi drivers, updating Windows 7, uninstalled and reinstalled devices and so on.

It turned out that the Microsoft Virtual WiFi Miniport Adapter wasn't working.

To make sure it's working do the following:

  1. Open an elevated Command Prompt window
  2. Type: netsh wlan set hostednetwork mode=allow

Solution 2:

I have had the same issue recently on Windows 8 and had to reset the interface by uninstalling and then reinstalling it from the device manager.