In my work we have lot's of unusual configuration needs. We use lots of Panasonic Toughbooks with WWAN connections, but they get docked at desks where the desired result is switching from WWAN to LAN. We also have Toughbooks connected to cameras over a LAN connection while internet is coming from the WWAN. Windows does not handle this well... at all. "Modern" Microsoft apps like Outlook and Teams use the internet status indicator to let them know if there's internet instead of actually trying and this causes us a lot of headache. While we haven't resolved all our issues here are all the things to look at as possible fixes:
As with most issues make sure that your OS is patched and you are using the latest drivers. (Not always a fix, but where you want to start)
Steps to ensure it's not a local network corruption issue:
From an administrative command prompt run the following commands and then reboot
netsh winsock reset
netsh int ip reset
ipconfig /flushdns
Open regedit and update to the following values and reboot. In our case we found some of these values were no longer valid MS sites/IP's: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet
"ActiveDnsProbeContent"="8.8.4.4"
"ActiveDnsProbeContentV6"="2001:4860:4860::8844"
"ActiveDnsProbeHost"="dns.google"
"ActiveDnsProbeHostV6"="dns.google"
"ActiveWebProbeHostV6"="www.msftconnecttest.com"
"EnableActiveProbing"="1"
(Can alternatively try setting EnableActiveProbing to 0)
Disable checksum offload with the following command in an elevated powershell window
Disable-NetAdapterChecksumOffload
Try disabling IPv6 on the NIC
Disable Windows or 3rd party Firewall
Disable Anti-Virus/Malware