Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set up Windows 10 Mobile Hotspot programmatically?

Windows 10 introduced the Mobile Hotspot service:

Mobile Hotspot Settings

How to enable it, set the SSID and password programmatically, using PowerShell or Windows API?

Note: I am not talking about the Hosted Network service (i.e. netsh wlan set hostednetwork mode=allow ssid=Name key=Passphrase). The Mobile Hotspot service works even if a network card does not support Hosted Network.

like image 651
niutech Avatar asked Dec 10 '17 23:12

niutech


1 Answers

What I have found so far using Process Monitor is that Mobile Hotspot is managed by the icssvc service and SSID and password are stored as binary data under registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\icssvc\Settings\PrivateConnectionSettings.

like image 154
niutech Avatar answered Oct 10 '22 21:10

niutech