Search code examples
wifiwindows-10host

Error Enable / disabled Hotspot Virtual Wifi in Windows 10


I have a problem when trying to create my connection hostpot vitual wifi on a Dell laptop with Win 10.

Even with some instabilities the ad hoc connection worked by running a script that I ran from a .bat file in the administrator option:

netsh wlan set hostednetwork mode=allow ssid=WifiTeste key=senhateste123
netsh wlan start hostednetwork

But after changing some of ethernet sharing settings on network connections it began to appear the following error:

The hosted network couldn't be started.
The group or resource is not in the correct state to perform the requested operation.

Redid the command several times, changed the network name and password, and even tried using the Virtual Router Manager program and after extensive research I did not get even succeeded in reconfiguring the wifi hotspot on windows 10.

Most solutions are functional only for Win 7 or 8 and the process of creating a new ad hoc network connection is not available in win 10, or at least I have not found how to do.

An important point is that when the script worked was created a network connection "Wireless Connection LAN * 2", to run the ipconfig / all in cmd it will appear disconnected with state media and in "Control Panel-> Network and Internet-> Network Connections " it is no longer visible.

Solution already evaluated: Enabling/Disabling Microsoft Virtual WiFi Miniport


Solution

    1. Right click cmd (Run as administrator)
    2. Type netsh wlan show drivers (this is important). Now you can see your wifi driver details. Note these lines:
    • FIPS 140-2 MODE SUPPORTED : No
    • 802.11W Management Frame Protection supported : No
    • Hosted network supported : Yes

    If the first two lines are not supported you cannot use adhoc or Hotspot Pro. They should be: Yes. Now open Network and Sharing Center -> Change Adapter Settings -> right click your wireless connection -> click Properties -> select Sharing Tab. Check both of the items Allow other network users to connect... and select your "Wireless Connection" and check Allow other network users to control...

    1. Now restart your computer. Follow the steps 1 & 2 Now you can see the first two lines should be "Yes"
    2. If it is "Yes" type next command.
    3. netsh wlan set hostednetwork mode=allow ssid=WifiTeste key=senhateste123
    4. netsh wlan start hostednetwork

    Now you can see "hostednetwork started" message will appear.

    Note: If you want to connect your mobile device, put your ssid and password and wait for one minute. Otherwise it will say "internet not available".

    Thanks.