How to disable automatically browser opening on Wi-Fi hotspot connection for Win10?

One solution I found is to modify directly a Windows regitry :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing

And to do it from a Batch script, I purpose this :

reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet" /v EnableActiveProbing /t REG_DWORD /d 0 /f
  • REG ADD : add/modify a registry;
  • Then specify the repository of the registry;
  • /v EnableActiveProbing : indicates the value to modify;
  • /t REG_DWORD : indicates type of value;
  • /d 0 : gives the data to add;
  • /f : to force changes.

(More help with REG ADD /h)

It works fine on Windows 10 with admin rights. Hope it will help some people.