Urgent.News

What's breaking now, across thousands of outlets.

Tech

Windows 11 Dropping Wi-Fi on Boot? Blame Your VPN Kill Switch

Every developer has a familiar morning ritual: power on the workstation, grab a fresh cup of coffee, fire up the terminal, and wait for local containers and background daemons to spin up. Except lately, Windows 11 has been injecting an infuriating obstacle into that workflow: roughly five to ten seconds after reaching the desktop, your Wi-Fi silently disconnects. You open the network tray, hit…

Windows 11 users have been experiencing unexpected Wi-Fi disconnections shortly after booting their devices. This issue occurs when a VPN with a strict kill switch is enabled. The problem is not hardware-related but rather a race condition between Windows 11's network connection heuristics and the VPN's low-level packet filter. The root cause lies in the interaction between three components: the VPN Kill Switch, Network Connectivity Status Indicator (NCSI), and Windows Connection Manager (WcmSvc).

Modern VPN clients bypass the traditional user interface and install kernel-level filters into the Windows Filtering Platform (WFP) upon startup. When a user enables a VPN kill switch or lockdown mode, these WFP callout drivers enforce strict rules that block all traffic except for traffic routed through the VPN tunnel.

Upon boot, Windows attempts to establish an internet connection through NCSI by sending DNS and HTTP probes. However, if the VPN tunnel has not yet established, the WFP kill switch blocks these probes. Consequently, Windows tags the Wi-Fi connection as having limited or no connectivity. The Windows Connection Manager then intervenes, perceiving the link as defective and forcibly disconnecting the Wi-Fi adapter to attempt a recovery.

To resolve this issue, users can disable the Bad State Tracking feature within Windows Connection Manager. This modification prevents Windows from automatically disconnecting Wi-Fi connections based on the health evaluation results, thereby maintaining a stable network connection even when a VPN with a kill switch is active.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Saturday 3 October →