Good morning,
It looks like you're encountering an issue because your network adapter doesn’t support the hosted network feature, as indicated by the "Hosted network supported: no" output from the netsh wlan show driver
command. The fact that you can manually start the hotspot through the graphical interface but not via command line suggests that there is some driver or configuration difference between the two methods.
Here's what you can try to resolve this:
Check Your Wireless Adapter: Not all wireless adapters support the hosted network feature. You may need to update your Wi-Fi adapter drivers or check if the adapter can support hosted networking (some older adapters do not support it). You can update the driver through Device Manager or download the latest driver from the manufacturer's website.
Try Re-enabling Hosted Network via CMD: You can try the following steps in the command prompt (run as administrator):
Disable the hosted network first:
cmd
Copy code
netsh wlan stop hostednetwork
netsh wlan set hostednetwork mode=disallow
Then enable it again:
```sql
cmd
Copy code
netsh wlan set hostednetwork mode=allow ssid=hello key=123456789
```
After this, try starting it again:
```sql
cmd
Copy code
netsh wlan start hostednetwork
```
**Verify Network Sharing Settings:** Ensure that you’ve enabled the necessary network sharing options for the network adapter in the **Network Connections** settings (in **Control Panel** > **Network and Sharing Center** > **Change adapter settings**).
**Reinstall/Update Network Drivers:** If the problem persists, reinstall or update the drivers for your Wi-Fi adapter. This will make sure that there are no outdated drivers causing the issue.
I also found an informative article that might help you troubleshoot this issue further: How to Set Up a Wi-Fi Hotspot on Windows Using Command Line — it covers some common problems and solutions for setting up a hotspot on Windows.
Let me know if you need more help!