Comment by RicoElectrico
4 years ago
Solution for Windows (replace interface name as needed):
netsh wlan set autoconfig enabled=no interface="Wireless Network Connection"
Caveat: you need to turn this back on if you need to re-connect or scan networks.
Still have two .bat scripts (on/off) on my desktop from a time when I only had wifi. And it still baffles me that such measures can be necessary.
I used to have constant ping spike at regular interval and had to do that bat script thing, which fixed it but it was really annoying. Eventually I figured out it was because of a Qt bug in the Qt lib that an application running in the background is using, and there is a system property to disable that behavior.
https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-...
Is there a way to configure Windows to only scan for networks when it isn't connected to one?
or change how often it scans
Thank you, this solved a problem I was having with Citrix Workspace. Every ten seconds I would get a ping spike. It reliably destroyed video calls and made typing in the workplace a pain.
My old Mac does not have this problem. Makes no sense to me that Windows allows any random program to trigger wifi scans. It’s a performance issue and privacy issue too.
If you have an Intel WiFi card, there's a driver setting "Global BG Scan Blocking" to never scan if you already have a good signal. Works great
I always try to have Intel nics of all kinds, so thanks.