Win10 don't query www.msftconnecttest.com

Hi there,

I connect my win10 PC to my router, but win10 don't query 'www.msftconnecttest.com'.
Should I send some packet or do some thing to trigger that?

Thanks.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
1 Like

How do you know? Are you running a captive portal on your router?
This type of query is known as "Captive Portal Detection" (CPD). It is 100% a function of the client/user device, be it Windows, Apple, Android, Linux, whatever.
From memory, there is a registry setting in Windows somewhere to turn off CPD.
You should check/ask on a Windows forum as this is not an OpenWrt problem.

1 Like

Yes, you are right, I want to run a captive portal on my router.
I use wireshark to try to capture the msftconnecttest query, but failed.

And I find that the msftconnecttest query can be captured if I config my router as any of the following step.

1. upnpd.config.enabled='1' && restart miniupnpd
2. dhcp.lan.dhcpv6='server' && restart dnsmasq; network.globals.ula_prefix='fdf6:212d:7f2e::/48'
(I have set dhcp.lan.dhcpv6='disabled' and delete network.globals.ula_prefix)

But I don't know why.

CPD is triggered on connection and then at intervals, commonly every 300 seconds... Not sure about windows.

Install opennds on the router and see if it works.

Windows 10 is not a version of OpenWRT. Please provide your OpenWRT version to help you figure out if microsoft ncsi tests are influenced.
Thanka.

I use openwrt 22.03.0

Sadly no longer supported.
Please provide config information requested.

Thanks a lot, I will try it now.