解决你困扰已久的台式机无线WiFi网卡断流、高PING、丢包的问题

解决你困扰已久的台式机无线WiFi网卡断流、高PING、丢包的问题 - 腾讯云开发者社区-腾讯云 (tencent.com)

方法一 重新启用WLAN AutoConfig服务

Win键 + R,弹出“运行”窗口,然后输入“services.msc"

打开后找到”WLAN AutoConfig",停止后再启用就好了。

方法二 禁用自动扫描WiFi网络

新建一个记事本文件,内容如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
@echo off
title Fix for Wireless Ping Spikes (self.GlobalOffensive)
echo submitted by Clyq, bat by Ment-0
echo ------------------------------------------------------------------
echo Stop your Wireless Card from searching nearby networks and
echo updating your signal quality when you're not asking it to,
echo which is what is causing the spikes.
echo ------------------------------------------------------------------
echo You will need to turn it back on if you disconnect or need to be
echo able to find nearby networks again.
echo Good Luck!
echo ------------------------------------------------------------------
pause
:MENU
cls
echo ------------------------------------------------------------------
echo -------------------Fix for Wireless Ping Spikes-------------------
echo ------------------------------------------------------------------
echo Option 1: Disable searching for networks and updating quality.
echo Option 2: Enable searching for networks and updating quality.
echo Option 3: Exit.
SET /P M=Type 1, 2 OR 3 then press ENTER:
IF %M%==1 GOTO DISABLE
IF %M%==2 GOTO ENABLE
IF %M%==3 GOTO END
:DISABLE
cls
netsh wlan show settings
echo.
echo The last line should be like: Auto configuration logic is
echo enabled on interface "WiFi"
echo.
echo If so, type what is says after interface.
echo EXAMPLE if interface="WiFi" then you type: WiFi
SET /P input=Type here:
netsh wlan set autoconfig enabled=no interface="%INPUT%"
pause
GOTO MENU
:ENABLE
cls
netsh wlan show settings
echo.
echo The last line should be like: Auto configuration logic is
echo disabled on interface "WiFi"
echo.
echo If so, type what is says after interface.
echo EXAMPLE if interface="WiFi" then you type: WiFi
SET /P input=Type here:
netsh wlan set autoconfig enabled=yes interface="%INPUT%"
pause
GOTO MENU
:END
exit

命名为“禁用WiFi自动扫描”,后缀名为“.bat”。

连接到网络之后,打开此批处理文件,按任意键继续,再按1回车,最后输出接口“WLAN”即可。

img

img

img

如果要连接其他无线网络,则要启用自动扫描,这时按2回车,最后再输出接口“WLAN”即可。

需要注意的是,关闭自动扫描后重启并不会开启自动扫描。

参考

USB无线网卡每隔固定时间就丢包或者高延时怎么破?