Windows 7 tcpip.sys Auto Patcher to Remove TCP/IP Connection Limit

yogi365

Banned
Local time
7:11 PM
Messages
86
Location
india
All version of windows has typical network related file tcpip.sys which has a half connection limit in itself, which doesn’t allow more than 10 half open connections to be made simultaneously. This has been designed to make your connections more stable and your network more responsive to all computers attached to it.
However if you are frequent p2p & bittorent user or surfing the internet heavily, then this limit may create connection errors or result in connection dropping. TCP-Z is the only program which automatically patches tcpip.sys file to remove TCP connection limit.
TCP-Z has been upgraded to latest version 2.4 Build 20090108 to support 32-bit and 64-bit (x86 and x64) version Windows 7 operating system.TCP-Z is gui utility and patches tcpip.sys to increase limit imposed on concurrent half-open outbound TCP connection attempts.
Screenshot of TCP-Z V2.4.0.46 for Windows 7

tcp-z-tcpsys-patcher-for-windows-7.png

Download TCP-Z V2.4.0.46 Build 20090108 for Windows 7 x86

(note- if u found useful dont forget to add reputation to me )
 

My Computer My Computer

At a glance

windows7 build7100 64x,xpsp31500 Megabytes
Computer Manufacturer/Model Number
HP NX6115
OS
windows7 build7100 64x,xpsp3
Motherboard
Board: Hewlett-Packard 308E KBC Version 45.27
Memory
1500 Megabytes
Sound Card
Conexant AC-Link Audio
Monitor(s) Displays
ATI RADEON XPRESS 200M SERIES [Display adapter] Digital Flat
Hard Drives
160 gb
This has been designed to make your connections more stable and your network more responsive to all computers attached to it.

Actually wasnt this done as a combat against virii connections outbound back some years ago by MS?
 

My Computer My Computer

At a glance

XP/win7 x86 build 7127Athlon64 X2 DUAL 4200+ 2.21ghz2GB Dual Chan DDR2 CorsairNvidia 6800GT
Computer Manufacturer/Model Number
CUSTOM
OS
XP/win7 x86 build 7127
CPU
Athlon64 X2 DUAL 4200+ 2.21ghz
Motherboard
ASUS K8 PRO SLI
Memory
2GB Dual Chan DDR2 Corsair
Graphics Card(s)
Nvidia 6800GT
Sound Card
nvidia
Monitor(s) Displays
19' LCD
Screen Resolution
1280x1024
Hard Drives
WD 250, 2x500, 2x1TB IDE/USB
WD 250 SATA (system)
SEAGATE 120 Sata
PSU
coolermaster 450
Case
SUPERFLOWER
Cooling
1 HDD bay fan, 5x80mm Case Fans, AEROGATE II Fan/Temp
Keyboard
MS wireless
Mouse
MS Wireless
Internet Speed
fassssssssst

My Computers My Computers

  • At a glance

    Windows 11 21H2 Current buildAMD Ryzen 9 3950X4 * 32 GB - Corsair Vengeance 3600 MHzEVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12...
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    The Beast Model A (homebrew)
    OS
    Windows 11 21H2 Current build
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spec
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Plat
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    SteelSeries Apex Pro Wired Gaming Keyboard
    Keyboard
    SteelSeries Apex Pro
    Mouse
    Logitech MX Master 3S | MX Master 3 for business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Antivirus
    Windows Defender + MB 3
    Browser
    Nightly (default) + Firefox (stable),Chrome, Edge
  • At a glance

    ChromeOS Flex Dev Channel (current)Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 250...16 GBIntel(R) HD Graphics 520
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Latitude E5470
    OS
    ChromeOS Flex Dev Channel (current)
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics Card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Actually wasnt this done as a combat against virii connections outbound back some years ago by MS?

I was under the impression this was done for security reasons as well, not stability.
 

My Computer My Computer

At a glance

Win 7
OS
Win 7
It was - so they said.
 

My Computers My Computers

  • At a glance

    Windows 11 21H2 Current buildAMD Ryzen 9 3950X4 * 32 GB - Corsair Vengeance 3600 MHzEVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12...
    Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    The Beast Model A (homebrew)
    OS
    Windows 11 21H2 Current build
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spec
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Plat
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    SteelSeries Apex Pro Wired Gaming Keyboard
    Keyboard
    SteelSeries Apex Pro
    Mouse
    Logitech MX Master 3S | MX Master 3 for business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Antivirus
    Windows Defender + MB 3
    Browser
    Nightly (default) + Firefox (stable),Chrome, Edge
  • At a glance

    ChromeOS Flex Dev Channel (current)Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 250...16 GBIntel(R) HD Graphics 520
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Dell Latitude E5470
    OS
    ChromeOS Flex Dev Channel (current)
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics Card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Keyboard
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Don't use this crap anymore. 7068 lifted the limit to 120.
 

My Computer My Computer

At a glance

El Capitan / Windows 10i7-4980HQ16GBIris 5200
Computer type
Laptop
Computer Manufacturer/Model Number
Apple
OS
El Capitan / Windows 10
CPU
i7-4980HQ
Memory
16GB
Graphics Card(s)
Iris 5200
Didn't they include a registry hack you could to to manually set the limit as well?
 

My Computer My Computer

At a glance

Windows 7Pentium D 2.664 gigs DDR2BFG nVidia 8600 GT OC
Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
Pentium D 2.66
Motherboard
Asus P5ND2-SLi
Memory
4 gigs DDR2
Graphics Card(s)
BFG nVidia 8600 GT OC
Sound Card
nForce 4 (realtek)
Monitor(s) Displays
Samsung 204B
Screen Resolution
1600x1200
Hard Drives
Western Digital Raptor 150
Western Digital 320 (both SATA)
PSU
BFG 600 watt
Cooling
fan
Keyboard
MS Natural
Mouse
MS Sidewinder
Internet Speed
10 mb
Didn't they include a registry hack you could to to manually set the limit as well?

Yes they did ;)

Patching the TCP-IP stack or tcpip.sys file is a MASSIVE security risk, How can you be sure they didn't just open your entire networking stack for accessing your machine??

Users can change the limit to any value by navigating to the following registry key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\]

Locate “TcpNumConnections” registry value and change its value data to number you want.
 
So will this help out in BitTorrent throughput or is just really negligible?
 

My Computer My Computer

At a glance

Windows Se7en Ultimate Beta x86 Build 70571.83Ghz Centrino Duo4GB 2x2GB 677Mhz256MB nVidia Gefroce Go7400
Computer Manufacturer/Model Number
Dell XPS M1210
OS
Windows Se7en Ultimate Beta x86 Build 7057
CPU
1.83Ghz Centrino Duo
Motherboard
MXC062 Dell Mainboard
Memory
4GB 2x2GB 677Mhz
Graphics Card(s)
256MB nVidia Gefroce Go7400
Sound Card
Intel High Definition
Monitor(s) Displays
12.1 LED Glossy
Screen Resolution
1280x800
Hard Drives
Hitachi 320GB 5400| SimpleDrive 1TB External USB2.0 |
Cooling
NextTech Laptop Cooling Pad. 15CFMx2 USB powered
Keyboard
Dell US Standard Full Size w/o Backlight
Mouse
Synaptics Touchpad/Logitech Notebook Mini
Internet Speed
10Mbps Down/512Kbps Up
Other Info
Eee 701 Original Netbook Overclocked to 1GHz
Windows XP SP3
1GB RAM
4GB SSD
16GB SDHC
So will this help out in BitTorrent throughput or is just really negligible?

Negligible. Remember this only restricts "half-open" connections, not connections in general. Half-open connections are those in process of connecting, when one endpoint has ACK'd but the other hasn't yet.
 

My Computer My Computer

At a glance

El Capitan / Windows 10i7-4980HQ16GBIris 5200
Computer type
Laptop
Computer Manufacturer/Model Number
Apple
OS
El Capitan / Windows 10
CPU
i7-4980HQ
Memory
16GB
Graphics Card(s)
Iris 5200
no such registry key

After first running the patch and then choosing to 'restore original file', which apparently worked because the test mode watermark has disappeared from my desktop, I'm trying to verify that Build 7000 is not limited to 10 half open connections by locating the registry key you mentioned. But my registry has no such key in that location. Is there any other way to discover the limit number on my system without installing any software? I have tried running my torrent client (Bitcomet) to see if it will report the number somewhere, but didn't have any luck. Please advise. Thanks a lot.
 

My Computer My Computer

At a glance

Build 7000
OS
Build 7000
From the author of TCP-Z :

writely20x20.gif
Say Bye To Half-open TCP Connections Limit In Vista/2008 SP2
Thursday, May 7, 2009


Good news from Microsoft!

At May 6, 2009, In this article, Microsoft confirm that:
By default, the half-open TCP connections limit is disabled in Windows Server 2008 with Service Pack 2 (SP2) and in Windows Vista with Service Pack 2 (SP2).

Thank for this, my doubts about RateLimit long time ago has been solved by Microsoft's answer.

Last year, I found a case. In Vista, I can simply modify the value "TcpCreateAndConnectTcbRateLimitDepth" from 1 to 0 in the kernel memory, and then the Half-open TCP connections limit has been removed immediately!
But I am not sure whether this is a safe method. so, in tcp-z, this function never be active. TCP-Z only show this value.

After Vista 16670 and Windows 7 6956, Microsoft strangely set TcpCreateAndConnectTcbRateLimitDepth to 0 in default.
In latterly version of TCP-Z, it will show a lock icon to distinguish these difference.

Now, Microsoft answer: It's safe! and provide a simple modification method by registry.
When you add a registry entry "EnableConnectionRateLimiting", and set to 1 or 0, it will switch TcpCreateAndConnectTcbRateLimitDepth between 1/0 synchronously.
You can see the changes in the graph of TCP-Z.
After TcpCreateAndConnectTcbRateLimitDepth change to 1, Windows will calculate the create rate and do the limitation. In testing you can see the value is limited to 11.


This registry entry only works in Windows Server 2008 with SP2 / Windows Vista with SP2 / Window 7.

It is time to retire for me!


Full article in Microsoft.com
 

My Computer My Computer

At a glance

Clients: XP/Win7/ubuntuE84004Gb HyperXATI 4850
Computer Manufacturer/Model Number
Generic
OS
Clients: XP/Win7/ubuntu
CPU
E8400
Motherboard
Gigabyte EP35-DS3R
Memory
4Gb HyperX
Graphics Card(s)
ATI 4850
Sound Card
Onboard
Monitor(s) Displays
Samsung P970
Screen Resolution
1280 by 1024
Hard Drives
Samsung SATA-II 500Gb x 3
PSU
Corsair HX520
Case
chieftec
Cooling
Zalman
Keyboard
Logitech
Mouse
Logitech
Internet Speed
512kb
so this is disable by default in Windows 7.

so does that means it will just build up as many connections it requires?

EDIT: sorry for the epic bump, just need some answers
 

My Computer My Computer

At a glance

Windows 7 Pro x64Intel Core 2 Quad Q6600 [2.4Ghz] OC speeds 3....Kingston HyperX KHX8500D2K2-4G 1066Mhz 8GB (2...ASUS GeForce GTX 550 Ti
OS
Windows 7 Pro x64
CPU
Intel Core 2 Quad Q6600 [2.4Ghz] OC speeds 3.2Ghz
Motherboard
ASUS P5QL-E
Memory
Kingston HyperX KHX8500D2K2-4G 1066Mhz 8GB (2GB*4)
Graphics Card(s)
ASUS GeForce GTX 550 Ti
Sound Card
OnBoard
Monitor(s) Displays
Samsung SyncMaster T220
Screen Resolution
1680*1050
Hard Drives
Intel SSD 320 Series 80GB
PSU
Corsair TX750W
Case
CM 690 II
Cooling
Cooler Master Hyper 212+
Keyboard
Logitech G510
Mouse
Logitech G400
Internet Speed
50Mb :D
so this is disable by default in Windows 7.

so does that means it will just build up as many connections it requires?

EDIT: sorry for the epic bump, just need some answers


Short version: yes.


====================================
Real answer: It was never about limiting the number of connections. This mechanism used to limit the number of "half-open" TCP sessions in an effort to slow the propagation of malware from infected machines.

A TCP session between any two machines starts off with what's known as a "3-way handshake", even though there's only two machines ;). The name stems from the 3 packets required to "establish" the session:

1) Initiator sends a SYN packet informing the target of its intention to communicate and its own "synchronisation" sequence number offset.

2) Target responds with a SYN-ACK letting the initiator know that the first packet has been received ("acknowledged"), and informing the initiator of its own starting sync offset.

3) Initiator responds with an ACK, thereby completing the handshake sequence.

After all that, the session is established and the two sides can send information to each other until they decide to tear the session down.

A "half-open" session is one where the initial SYN (step 1) has been sent, but no response has yet been received. In other words, there's nothing yet to indicate that the target is willing to talk to us, or that it even exists on the IP/port that the SYN was sent to.

The "half-open" throttling mechanism used to limit the number of those not-yet-fully established sessions to a maximum of 10 at any time, because MS (rightly) felt that anything more constituted burst-type activity which was likely associated with malware trying to spread itself as fast as possible.

Given a latency of say 100ms, malware which is throttled in this way will spread much, much slower than if it's completely unbridled and able to initiate thousands of concurrent half-open sessions in an opportunistic fashion (fire off a crapload of SYNs all at once and just work with the targets which respond).

While the vast majority of legit applications don't behave in this manner, the two notable exceptions were torrent clients (stretching the definition of "legit" of course) and server-style apps which some companies ran on Windows clients to decrease their licensing costs. Torrent clients would sometimes bump up against the 10 half-open limit, and that would cause a scary-looking event to be logged. Many torrenters ended up "patching" the TCPIP.SYS driver in an attempt to knock out the throttling mechanism, and that brought problems of its own in the form of BSODs and similar issues.

In the end, I guess MS decided the level of additional security didn't warrant the additional chaos caused by driver patchers and the flak they were getting in the press, and hence decided to remove the mechanism as of Vista SP2.
 

My Computer My Computer

At a glance

Win7x64
Computer Manufacturer/Model Number
Multiple machines in various stages of decomposition.
OS
Win7x64
thanks H2SO4

that clears up alot now.
 

My Computer My Computer

At a glance

Windows 7 Pro x64Intel Core 2 Quad Q6600 [2.4Ghz] OC speeds 3....Kingston HyperX KHX8500D2K2-4G 1066Mhz 8GB (2...ASUS GeForce GTX 550 Ti
OS
Windows 7 Pro x64
CPU
Intel Core 2 Quad Q6600 [2.4Ghz] OC speeds 3.2Ghz
Motherboard
ASUS P5QL-E
Memory
Kingston HyperX KHX8500D2K2-4G 1066Mhz 8GB (2GB*4)
Graphics Card(s)
ASUS GeForce GTX 550 Ti
Sound Card
OnBoard
Monitor(s) Displays
Samsung SyncMaster T220
Screen Resolution
1680*1050
Hard Drives
Intel SSD 320 Series 80GB
PSU
Corsair TX750W
Case
CM 690 II
Cooling
Cooler Master Hyper 212+
Keyboard
Logitech G510
Mouse
Logitech G400
Internet Speed
50Mb :D

My Computer My Computer

At a glance

Win7x64
Computer Manufacturer/Model Number
Multiple machines in various stages of decomposition.
OS
Win7x64
hmm EnableConnectionRateLimiting isnt in my registry.
 

My Computer My Computer

At a glance

Windows 7 Professional 64-bitIntel E8400 3GHzKingston PC3-10700H 4GbXFX Radeon HD 5850 BlackEd.
Computer Manufacturer/Model Number
self built
OS
Windows 7 Professional 64-bit
CPU
Intel E8400 3GHz
Motherboard
Intel DX48BT2
Memory
Kingston PC3-10700H 4Gb
Graphics Card(s)
XFX Radeon HD 5850 BlackEd.
Sound Card
Asus Xonar DG
Monitor(s) Displays
2x Samsung SM-T220HD 22"
Screen Resolution
1680x1050 on two monitors
Hard Drives
OCZ Vertex 2 120gb 3.5" (OS)
Seagate Momentus XT 500gb
Samsung F3 1Tb (games)
2x Samsung F1 1Tb
PSU
Thermaltake ToughPower 850w
Case
Thermaltake Armor
Cooling
Scythe Mugen II
Keyboard
Microsoft Comfort Curve USB
Mouse
Razer Diamondback 3G
Internet Speed
8128/443
hmm EnableConnectionRateLimiting isnt in my registry.

3: kd> x tcpip!TcpCreateAndConnectTcbRateLimitDepth
fffff880`01b81d3c tcpip!TcpCreateAndConnectTcbRateLimitDepth = <no type information>
3: kd> dd fffff880`01b81d3c l1
fffff880`01b81d3c 00000000


That throttling mechanism is disabled in Win7 and perhaps entirely vestigal in terms of code. Do you actually want to enable it for some purpose?
 

My Computer My Computer

At a glance

Win7x64
Computer Manufacturer/Model Number
Multiple machines in various stages of decomposition.
OS
Win7x64
nah i wanted to make sure it was disabled.
 

My Computer My Computer

At a glance

Windows 7 Professional 64-bitIntel E8400 3GHzKingston PC3-10700H 4GbXFX Radeon HD 5850 BlackEd.
Computer Manufacturer/Model Number
self built
OS
Windows 7 Professional 64-bit
CPU
Intel E8400 3GHz
Motherboard
Intel DX48BT2
Memory
Kingston PC3-10700H 4Gb
Graphics Card(s)
XFX Radeon HD 5850 BlackEd.
Sound Card
Asus Xonar DG
Monitor(s) Displays
2x Samsung SM-T220HD 22"
Screen Resolution
1680x1050 on two monitors
Hard Drives
OCZ Vertex 2 120gb 3.5" (OS)
Seagate Momentus XT 500gb
Samsung F3 1Tb (games)
2x Samsung F1 1Tb
PSU
Thermaltake ToughPower 850w
Case
Thermaltake Armor
Cooling
Scythe Mugen II
Keyboard
Microsoft Comfort Curve USB
Mouse
Razer Diamondback 3G
Internet Speed
8128/443
Back
Top