Win10 Error: "We can't set up mobile hotspot."

23

5

I am trying to set up a mobile hotspot in Windows 10 but the settings are disabled and the error message does not explain what the exact problem is.

Error in Windows10 settings dialog

The machine in question is a VM in VMWare Workstation and has a Wi-Fi and a cellular USB-stick attached. I had tried MyPublicWiFi before I discovered that Win10 had built-in settings for this, but now I have uninstalled MyPublicWiFi.

So, does anyone know what could cause the above mentioned error message?

Edit: I still don't know the reason for the error message, but it went away after I used a different Wi-Fi USB-Stick!

frank koch

Posted 2015-09-10T08:21:52.977

Reputation: 365

How is this machine connected to the internet now? Is is connected to Ethernet or WiFi? – CharlieRB – 2015-09-10T11:35:49.510

The internet connection is provided through the cellular USB-stick (UMTS/LTE). I have removed the default Ethernet device from the VMs hardware settings. – frank koch – 2015-09-10T13:26:17.580

I've tried to unplug and plug-in the cable a couple of times. Then the error vanished. -_- – Prabs – 2016-12-18T21:00:50.317

1In windows search box type Device Manager and open it. In Device Manager menu View>Show hidden devices click on that. Now you will find the Network adapters > Microsoft Wi-Fi Direct Virtual Adapter, So just disable and enable it. Its resolve my problem. – Kushal Suthar – 2019-01-18T06:37:44.320

Answers

19

I had the same problem, I couldn't get that to work but there is a way to activate a hotspot, follow the steps below.

  1. Open CMD as Admin (WIN+X, "Command Prompt (Admin)"). Enter the commands as below.

  2. netsh wlan set hostednetwork mode=allow ssid=name key=pw

    • Substitute your preferred Hotspot Network Name for name and Password for pw
  3. netsh wlan start hostednetwork

  4. Go to "Settings>Network & Internet>Wi-Fi>Change adapter options" and look for a new "Local Area Connection #..." (It should show "Microsoft Hosted Network Virtual Adapter" as the Adapter). Right-click this and select "Properties", then select the "Sharing Tab. Check "Allow other network Users to connect through this computer's Internet connection"

Troubleshooting: If you find any errors such as "The group or resource is not in the correct state to perform the requested operation.": enter image description here

  • Type Win+X
  • Go to Device Manager
  • View / Check Show Hidden Devices
  • Search for a Network driver called "Microsoft Wi-Fi Direct Virtual Adapter"
  • Disable / Enable it enter image description here
  • Go back to the Mobile Hotpost settings
  • Now you might be able to enable it enter image description here

Lorenzo

Posted 2015-09-10T08:21:52.977

Reputation: 191

thanks for your reply - step 1 to 3 succeeded but step 4 is a bit unclear: I now have 3 connections in "Control Panel\Network and Internet\Network Connections": lte_stick, wifi (which has a red cross) and wifihosted. I have enabled connection sharing in the properties of lte_stick and in the box "Home network connection" I have selected wifihosted. When I try to connect to this hotspot with my Android-phone it prompts something like "retrieving IP address" and then shows an error. – frank koch – 2015-10-06T13:42:09.007

A reboot helped me. Looks like an issue after suspending. Surface Pro 3 here. – Elan Hasson – 2017-06-25T01:37:16.470

1Gave me a problem where apparently it switched my ethernet from DHCP to the wrong static ip. The ethernet said "unidentified network" "no internet access". Switching it back to DHCP and stopping the hostednetwork fixed it, but obviously did not allow me to use the hotspot. – Erhannis – 2017-08-23T16:24:27.873

@Erhannis I see the same problem. Any solution? – bradgonesurfing – 2017-12-04T10:05:39.680

@bradgonesurfing I don't think we ever got it working; sorry. – Erhannis – 2017-12-07T16:05:56.050

@bradgonesurfing Doing step 4 makes my PC disconnected from internet. However if I do step 4 on the Ethernet adapter everything works. However using console is required to enable the hot spot, it still doesn't work from Windows UI. – Dmitriy – 2019-12-16T07:38:13.667