When I connect my laptop to a free/public Wi-Fi hotspot (FreeWifi, Orange...), Windows 10 opens automatically my default Web browser and goes if possible to the ISP captive portal. So each time I connect to the Wi-Fi SSID my browser is opened.
Quite good for a normal usage, but not for web browser testing!
How can I disable the action that opens the browser each time I connect to the Wi-Fi hotspot ?
To better assist you, please follow the steps on how to turn off mobile hotspot on your Windows 10 device: Open Settings, click Network & Internet icon. Click / tap on Mobile Hotspot on the left side, and turn off Share your Internet connection with other devices.
Right-click the Wi-Fi icon in the Windows notification area and select Disable (or Turn off) from the pop-up menu. If no Disable option is available in the pop-up menu, there may be an option called Open Network and Sharing Center. If so, select this option and then select Change adapter settings.
Phones that have the auto-join function enabled are configured in a way that, if a person manually connects to a network for the first time, the device will connect to this network automatically every time it is in range.
Use Settings Click Start, then head to Settings >Network & Internet. From the left pane menu, select Wi-Fi. Click on the Wi-Fi connection you are currently using. Turn off the toggle below Connect automatically when in range.
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
(More help with REG ADD /h)
It works fine on Windows 10 with admin rights. Hope it will help some people.
By changing EnableActiveProbing to 0 actually leading wifi adapter to show not connected but by changing ActiveWebProbeHost www.msftncsi.com To www.google.com fixed auto opening browser when we enable wifi and not showing any error.
I'll suggest the following short solution for the noobie.
Disable:
Save following text to a disable.reg file, and then double-click on it. That will modify the registry accordingly:
Windows Registry Editor Version 5.00
; Use this if delaying startup of NlaSvc does not work
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet]
"EnableActiveProbing"=dword:00000000
Enable:
Save following text to a enable.reg file, and then double-click on it. That will modify the registry accordingly:
Windows Registry Editor Version 5.00
; Use this if delaying startup of NlaSvc does not work
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet]
"EnableActiveProbing"=dword:00000001
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With