|
本帖最后由 fulibo 于 2025-4-12 10:31 编辑
20250412
Tcp1323Opts这个参数在低于1000M的时候可以关闭,
"Tcp1323Opts"=dword:00000000
同时需要设置TcpWindowSize,GlobalMaxTcpWindowSize这2个TCP缓存参数!
在高于1000M宽带的时候可以设置
"Tcp1323Opts"=dword:00000003
同时删除TcpWindowSize,GlobalMaxTcpWindowSize这2个TCP缓存参数
让Tcp1323Opts自动调节!
测试调整了好久得出的结论!
应该没问题了!
就是说Tcp1323Opts参数和TcpWindowSize参数不能同时设置!
优化里面的参数自己选择设置不要直接导入!
Windows Registry Editor Version 5.00
;关闭媒体感知事件日志
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DisableMediaSenseEventLog"=dword:00000001
;优化默认分组报文寿命,避免浪费流量,提高网速
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DefaultTTL"=dword:00000040
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"DefaultTTL"=dword:00000040
;动态分配的TCP/UDP端口的上限,65534
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"MaxUserPort"=dword:0000fffe
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"MaxUserPort"=dword:0000fffe
;TCP控制块表
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"MaxHashTableSize"=dword:00002000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"MaxHashTableSize"=dword:00002000
;启动传输单元缓冲区自动调整,减少网络反应时间,默认值=0,千兆宽带=3
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"Tcp1323Opts"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"Tcp1323Opts"=dword:00000000
;TcpWindowSize(单个 TCP 连接),GlobalMaxTcpWindowSize(所有 TCP 连接)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpWindowSize"=dword:00010000
"GlobalMaxTcpWindowSize"=dword:000fb900
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"TcpWindowSize"=dword:00010000
"GlobalMaxTcpWindowSize"=dword:000fb900
;启用最大传输单元大小自动探测、黑洞路由器探测,提高网速
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"EnablePMTUDiscovery"=dword:00000001
"EnablePMTUBHDetect"=dword:00000001
;系统发送应答消息的频率
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpAckFrequency"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"TcpAckFrequency"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpTimedWaitDelay"=dword:0000001e
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"TcpTimedWaitDelay"=dword:0000001e
;优化网络快速转发机制,提高上网速度
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"SackOpts"=dword:00000001
"TcpMaxDupAcks"=dword:00000002
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"SackOpts"=dword:00000001
"TcpMaxDupAcks"=dword:00000002
;不对TCP连接速率进行限制
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"EnableConnectionRateLimiting"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"EnableConnectionRateLimiting"=dword:00000000
;服务器可以接受的最大并发TCP连接数
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"MaxConnectionsPerServer"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"MaxConnectionsPerServer"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"NameServer"=""
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"NameServer"=""
;0=转发所有数据包,1=不转发源路由数据包,2=丢弃所有传入的源路由数据包
;网络地址转换 (NAT) 用于将网络与传入连接屏蔽开来。攻击者可能规避此屏蔽,以便使用 IP 源路由来确定网络拓扑。
;IPv4 网络的默认配置为 1,IPv6 网络的默认配置为 0
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"DisableIPSourceRouting"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"DisableIPSourceRouting"=dword:00000001
;;服务器列表维护
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters]
"MaintainServerList"="no"
;防暴力破解攻击,限制登录尝试次数,最多允许三次重试,超过此次数将触发锁定
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"MaxRebootAttempts"=dword:00000003
;QOS吞吐级别3
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS]
"Tcp Autotuning Level"="Normal"
;禁用对LAN会话的带宽限制,这可以在网络带宽充足的情况下提高文件传输速度
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"DisableBandwidthThrottling"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
"DisableBandwidthThrottling"=dword:00000001
;网络加速
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"NetworkThrottlingIndex"=dword:ffffffff
"SystemResponsiveness"=dword:0000000a ;服务器操作系统默认设置为100,表示后台服务应优先于任何多媒体应用程序
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD]
"FastCopyReceive"=dword:00000001 ;启用或优化AFD服务在接收数据时的快速复制功能
"FastCopySend"=dword:00000001 ;启用或优化AFD服务在发送数据时的快速复制功能
;优化局域网连接
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"nonetcrawling"=dword:00000001
;主动探测网络连接状态
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet]
"EnableActiveProbing"=dword:00000001
;优化网络WINS名称查询时间,增强网络数据传输能力,提高网速
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters]
"NameSrvQueryTimeout"=dword:00000bb8
;优化网络参数设置,提高网络连接稳定性
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"MaxCmds"=dword:0000001e
"MaxThreads"=dword:0000001e
"MaxCollectionCount"=dword:00000020
;优化DNS,加快DNS的解析速度
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"negativesoacachetime"=dword:00000000
"netfailurecachetime"=dword:00000000
"maxcacheentryttllimit"=dword:00002a30
"maxcachettl"=dword:00002a30
"maxnegativecachettl"=dword:00000000
;;win7和win10的默认IGMP版本都是V3,但是很多时间,设备只支持V2,这会导致无法观看组播视频
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"IGMPLevel"=dword:00000002 ;;0=不支持组播,1=只支持发送 IPv4 组播,2=完全支持IGMP(默认)
"IGMPVersion"=dword:00000003 ;;2=IGMPv1,3=IGMPv2,4=IGMPv3(默认)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters]
"IGMPLevel"=dword:00000002 ;;0=不支持组播,1=只支持发送 IPv4 组播,2=完全支持IGMP(默认)
"IGMPVersion"=dword:00000003 ;;2=IGMPv1,3=IGMPv2,4=IGMPv3(默认)
;;无线网卡设置
;启用或禁用 802.11ax(Wi-Fi 6)的高效(HE)传输模式
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WlanSvc\Parameters]
"EnableHE"=dword:00000001
;启用或禁用 WLAN 负载均衡功能
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WlanSvc\Parameters]
"LoadBalancing"=dword:00000001
;启用或禁用 QoS 数据包调度功能
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WlanSvc\Parameters]
"QosPacketScheduling"=dword:00000000
;启用或禁用 WLAN 漫游功能
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WlanSvc\Parameters]
"DisableRoaming"=dword:00000001
|
评分
-
查看全部评分
|