Sharing a fix in case it saves someone else hours of troubleshooting.
Symptom
- Remote desktop typing lag and choppy video calls on a Windows 11 PC on Wi-Fi.
- Pinging the router (normally 1-3 ms) showed bursts of 250-450 ms every ~14 seconds, each lasting about 4 seconds, with occasional packet loss.
- Signal was 100% on 5 GHz at 433 Mbps, and hops beyond the router were fine (10-15 ms). The problem was between the PC and the router.
Quick test (1 minute)
Run in PowerShell. A healthy link prints almost nothing; this problem prints a cluster of slow pings repeating about every 14 seconds.
$p = New-Object System.Net.NetworkInformation.Ping; $gw = (Get-NetRoute -DestinationPrefix 0.0.0.0/0 | Sort RouteMetric | Select -First 1).NextHop
$sw = [Diagnostics.Stopwatch]::StartNew()
while ($sw.Elapsed.TotalSeconds -lt 60) { $r = $p.Send($gw, 1500); if ($r.RoundtripTime -ge 50 -or $r.Status -ne 'Success') { "{0,5:N1}s {1} ms" -f $sw.Elapsed.TotalSeconds, $r.RoundtripTime }; Start-Sleep -Milliseconds 250 }
Cause
The Windows location service (lfsvc) was making the Wi-Fi service run a full network scan every ~14.2 seconds (Windows estimates location from nearby Wi-Fi networks). During each ~4-second scan the adapter leaves its channel, so traffic stalls.
Confirmed with a WLAN-AutoConfig trace (admin):
netsh trace start provider=Microsoft-Windows-WLAN-AutoConfig level=5 tracefile=%TEMP%\wlan.etl report=disabled
(wait 40 s)
netsh trace stop
Read it with Get-WinEvent -Path $env:TEMP\wlan.etl -Oldest: event 14040 "Scan for networks ... flush BSS list = true" (preceded by 14062 "RpcCall InternalScan from client 0") repeated every ~14 s, with scan completion (20023) ~4 s later.
Settings > Privacy > Location showed no app currently using location, which is why this was hard to spot.
Fix
- Settings > Privacy & security > Location > Location services: Off
- Settings > Time & language > Date & time > Set time zone automatically: Off (this uses location)
Result: 0 spikes over 45 s, max 11 ms to the router. To confirm before changing settings, run Stop-Service lfsvc -Force (admin) and repeat the quick test.
What did NOT help
- Switching from a Wi-Fi 7 multi-link (MLO) network to a non-MLO network
- Disabling the adapter's "Multi-Channel Concurrent" setting (Realtek 8821CE)
- Forcing 5 GHz only (useful, but not the fix)
- Closing apps: Steam, Teams, Zoom, OneDrive, Phone Link, NVIDIA overlay, etc.
- Not a factor: the PC had well over 50 saved Wi-Fi profiles (none set to probe for hidden networks), and the spikes stopped with all of them still saved
Environment
Windows 11 Pro (Insider build 26300), Realtek 8821CE 802.11ac (driver 2024.10.141.0), Wi-Fi 7 router, 5 GHz DFS channel.
Has anyone else seen location services trigger scans this frequently? Is a ~14 s scan interval expected?