How to enable Mobile hotspot (from Anniversary Update) in command line

3

1

I want to enable new Mobile hotspot from Aniversary Update in command line same way as from the Window's Settings. I know that there is

NETSH WLAN start hostednetwork

but this command doesn't enable DHCP server or internet sharing. I already have a task which runs a script on network change to enable hotspot after boot. But I can only enable old "hostednetwork" from the previous Window's version and this doesn't work the same way as new "Mobile hotspot" from Aniversary Update (you have to change your setting to "allow other network users to connect through this computer's Internet connection").

Also if I enable "hostednetwork", I will still see that Mobile hotspot is disabled in Settings and if I started "hostednetwork" after the boot, I won't get access to the internet although everything works great through Mobile hotspot (from Settings).

mmrmartin

Posted 2017-03-18T12:01:35.547

Reputation: 131

1hostednetwork is different from mobile hotspot as far as I know, because I can use mobile hotspot on my WiFi adapter but not hostednetwork because my WiFi adapter driver didn't support hostednetwork! – VCD – 2018-07-22T10:02:29.067

No answers