Windows Vista tcpip.sys Connection Limit Patch for Event ID 4226
Apparently in Windows Vista, Microsoft still enforce and hard-limit (hard coded in tcpip.sys) the maximum simultaneous half-open (incomplete) outbound TCP connection attempts per second that the system can make, as in Windows XP SP2, in order to protect the system from being used by malicious programs, such as viruses and worms, to spread to uninfected computers, or to launch distributed denial of service attack (DDoS). When the limit is hit, in Event Viewer, there will be such an entry:
EventID 4226: TCP/IP has reached the security limit imposed on the number of concurrent TCP connect attempts
Unless Windows XP SP2 which has 10 maximum incomplete concurrent connection attempts limit per second, Windows Vista default limit is based on which edition of Vista users are using. For example, Home Basic has maximum limit of 2, and Vista Ultimate is 25 per second. Normal Windows Vista users should not face any problem or slow network connection with the half-open connections limit. However, heavy P2P (peer-to-peer) applications users such as uTorrent, BitTorrent, BitComet, Azureus, ABC, eMule (eDonkey network), etc, or P2PTV such as TVants, PPLive, PPStream, Sopcast, etc may face some error or slow download and upload speed due to this limit.
Due to enhanced security, to fix or crack the TCP concurrent connection limit in Vista is not as easy as in Windows XP. To remove maximum concurrent half-open connection limits in Windows Vista, apply the patched tcpip.sys with the following steps:
- Download patched tcpip.sys: Vista TCP/IP and UAC Auto Patcher (patched tcpip.sys is contained inside the archive)
64-bit tcpip.sys or 32-bit tcpip.sys. Alternative download link for 32-bit and 64-bit. - Open command prompt, and run the following 2 commands:
1. takeown /f c:\windows\system32\drivers\tcpip.sys
2. cacls c:\windows\system32\drivers\tcpip.sys /G “username”:FReplace username with the actual user name that used to log on to Windows Vista currently.
The second command can also used improved lcacls:
icacls c:\Windows\System32\drivers\tcpip.sys /grant “username”:f
- Disable the TCP/IP Auto-Tuning feature by running the following command in command prompt:
netsh int tcp set global autotuninglevel=disable
- For 64-bit Windows Vista (x64), the integrity checks need to be disabled as it need all drivers to be signed. So run the following command in DOS prompt:
bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS
Note: Above command no longer supported, and users require to press F8 on system startup to bypass driver signing integrity check.
- Replace the tcpip.sys in C:\windows\system32\drivers folder with the patched tcpip.sys downloaded from step 1 (remember the use the correct x64 or x86 version). Normally, this procedure can be done by simply login to Windows Vista with administrator account. However, if the process failed, reboot the computer and then press F8 to boot up in Safe Mode, and then copy and paste overwrite the tcpip.sys.
- Next, the maximum number of TCP half complete connection limits need to be set in registry. Open registry editor (regedit), and navigate to the following registry key:
HKEY_LOCALL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
- Right click on the right pane, select “New”, then select “DWORD value”. Enter the new value name as “TcpNumConnections” (without quotes).
- Double click on TcpNumConnections registry value, and modify the value data to the desired maximum TCP/IP connection limit that you want to allow, in decimal value. For example, enter 500 as the value data for TcpNumConnections. You can use any limit that you prefer. Alternatively, download this registry registration file (another download link) that when executed, will set the TCP simultaneous connection limit to 16777214 (you can always modify the value in the file or in the registry after applied).
- Restart computer.
New: Windows Vista Event ID 4226 Auto Patcher
Windows Vista Event ID 4226 Auto Patcher has been renamed as Vista tcpip.sys and UAC Auto Patcher, which now has more than 6 versions of auto patcher download links for different versions of tcpip.sys with the release of various hotfixes and SP1. Visit here for details.
New: Half-Open Limit Fix (Automated tcpip.sys Patch using Test Self-Signed Certificate)
Also Available – Driver Version: CrackTcpip.sys for Vista SP1 v.668 – a non-patching method to bypass TCP connection limit.
Also available is TCP/IP auto patcher for 64-bit (x64) Windows Vista SP1.
Gui Version: VistaTcpPath TCP Auto Patcher which works for Vista RTM (non-SP1) version of tcpip.sys.
Old Version:
Version 1.0
Version 1.2
Version 1.3
Version 1.4
Version 1.5
With thanks to YaronMaor for batch script.
The TCP connection limit which trigger Event ID 4226 has now increased to 500 (or any other value you set), and will likely fix the error for re-occurring again.
Related Articles
- Windows Half-Open Limit Fix (Patch) Free Download to Remove XP, Vista and Server 2003 (32 and 64-bit) TCP 4226 Connection Attempts Limit
- Windows XP SP2 TCP Connection Limit (Event ID 4226)
- Download Vista tcpip.sys and UAC Auto Patcher to Increase TCP Connection Limit
- Half-Open Outbound TCP Connections Limit Removed in Windows 7 and Vista SP2 (No Patch Required)
- Download TCP-Z V2.4 Build 20090108 to Patch tcpip.sys of Windows 7 (32-bit and 64-bit Support)
- CrackTcpip.sys Driver for Vista SP1 v.668 to Patch tcpip.sys 6.0.6001.17052
- TCP/IP Has Reached the Security Limit Imposed on the Number of Concurrent TCP Connect Attempts Error on Windows Vista
- Universal Tcpip.sys Patch Auto Patcher Free Download (V1.2 Build 20090409)
- VistaTcpPatch Windows Vista TCP Half Open Limit Auto Patcher GUI Version
- How to Enable Concurrent Half-Open TCP Connect Attempts Limit in Windows Server 2008 and Vista SP2 or Windows 7










































July 17th, 2007 15:20
[...] or the AutoPatch (Windows Vista Event ID 4226 Auto Patcher) to turn off Vista TCP connection limit here. Instruction guide available too. With limit removed, the event ID 4226 won’t appear again [...]
July 17th, 2007 13:25
It’s interesting that you guys show differing version numbers (did one of you install a pre-release hotfix?). I wonder which update did it? I’m still on 6.0.6000.16386, and the only update I haven’t installed is the infamous troublemaker Q935807 (see link), which few people seem to be able to actually get installed.
http://www.microsoft.com/technet/security/Bulletin/MS07-038.mspx
While the files that it installs (as shown in “File Information”) include all sorts of TCP/IP-related files, it doesn’t show TCPIP.SYS itself as being one of them.
So if not this update, which one? Or maybe it’s an omission?
I sure miss lvllord’s version of this patch for XP, which 1) Worked completely (with this Vista patch I still get error messages, though a small number) and 2) It was well updated.
July 16th, 2007 14:36
it’s actually version 6.0.6000.20583 of tcpip.sys
well it is on my pc anyway
explains why the patch does not work
stupid microsoft why limit it anyway didn’t do it on pre sp2 xp and not much harm was done
July 13th, 2007 07:31
MS has updated the tcpip.sys file with one of windows update latest patches.
We need another modified tcpip.sys for build 6.0.6000.20582 .
Where we can find it?
July 12th, 2007 14:02
MS ha updated the tcpip.sys file with one of windows update latest patches.
We need another modified tcpip.sys for build 6.0.6000.20582 .
Where we can find it?
July 5th, 2007 17:42
Dear john if you are an idiot, it is normal that do not work! The tile is:Windows Vista tcpip.sys Connection Limit Patch for Event ID 4226.
Windows Vista, you understand?
June 15th, 2007 22:59
This is for windows vista and NOT for xp.
Use System Mechanic or Windows Restore Points to put it back to normal
June 15th, 2007 20:42
yeah thanks a lot! Now my windows xp’s internet connection stopped. windows cannot start the windows firewall/internet connection sharing. Yeah! aint that great? i can’t go online now thx alot!
…………/´¯/)
…………/….// …….^^^^^^^^^^^^^^^^^^^
………../….// ……/……__………..__…….\
…../´¯/…./´¯\…..(-….(.0.)…….(.0.)…..-)
.././…/…./…./.|_…¡………../_…………….
(.(….(….(…./.)..)..\……….____………./
.\…………….\/../ ….\……………………..
..\……………../……..\__________/
….\…………..( ……………\……….\.
……\………….\ …………….\……….\
June 8th, 2007 00:27
Its doesnt work… danm
Somebody help me… i have Vista Home Basic and can have more than 20 conections in torrents… like 15sedders and 5 downloaders
I pacth with version 1.5 didint work… i tryed version 1.6 didint work… can someone help me?????
May 29th, 2007 15:34
Hi Rick!
Without patch:
After an 4226 error uTorrent would continue to download it’s current torrents!
Patched:
If I open more than few pages (in Maxthon of Firefox) and surf a “little” while uTorrent (or etc.) is downloading; I get same network errors (with no error in Event Viewer), but uTorrent still continues to download it’s current torrents!
May 29th, 2007 14:01
How do you know you’re experiencing the connection limit if you’re not getting errors in Event Viewer?
uTorrent still gives me 4226’s in EV even though I can’t be anywhere near hitting the limit (and besides, uTorrent is configured to use less than 100). Never happened in XP with its corresponding patch. So this patch still needs work.
May 29th, 2007 12:33
Hi!
Is this patch really working? I’ve been messing and testing it for a week now; and I’m still experiencing connection limit, but just without error in Event Viewer!
(Vista Ultimate 32bit user)
May 21st, 2007 12:33
Hi all,
May i know what is the default value of ‘concurrent connection attempts limit per second’ for Window Vista Business version.
As i knew, there are 2 for Window Vista Home edition and 25 for Ultimate version.
Thanks
May 19th, 2007 21:22
Have you try version 1.5 instead? If still fail, simply use manual method specify above.
May 19th, 2007 16:59
Thanks for the help. I ran it with an elevated cmd and this is what I got;
Windows Vista Concurrent TCP/IP Connection Attempt Limit Auto Patcher
Event ID 4226 Fix
Version 1.6
(c) My Digital Life (www.mydigitallife.info)
Auto Patcher batch script by http://www.yaronmaor.net
for 32-bit version of Windows Vista
Confirm to apply? (Press Ctrl-C and answer Y to terminate)
Press any key to continue . . .
ERROR: Error opening the file. There may be a disk or file system error.
SUCCESS: The file (or folder): “C:\Windows\System32\drivers\tcpip.sys” now owned
by user “JACKS\Jack”.
processed file: C:\Windows\System32\drivers\tcpip.sys
Successfully processed 1 files; Failed processing 0 files
Ok.
1 file(s) copied.
Original tcpip.sys driver has been renamed to “tcpip.original” in its original f
older.
The system cannot find the file specified.
ERROR: Error opening the file. There may be a disk or file system error.
*** Patch installation is complete. Please RESTART computer!!
Press any key to continue . . .
I don’t understand why I’m getting this error.
May 19th, 2007 15:07
@El Denno
use the script within an “elevated command prompt”, simply press the Win key; type cmd; press Ctrl+Shift+Enter; and then hit Alt+C to confirm
(http://blogs.msdn.com/tims/archive/2006/11/02/windows-vista-secret-10-open-an-elevated-command-prompt-in-six-keystrokes.aspx)
cheers
May 19th, 2007 10:52
Did you run as administrator?
May 19th, 2007 09:18
Doesn’t seem to be working for me I get the following error;
Windows Vista Concurrent TCP/IP Connection Attempt Limit Auto Patcher
Event ID 4226 Fix
Version 1.6
(c) My Digital Life (www.mydigitallife.info)
Auto Patcher batch script by http://www.yaronmaor.net
for 32-bit version of Windows Vista
Confirm to apply? (Press Ctrl-C and answer Y to terminate)
Press any key to continue . . .
ERROR: Not all data was successfully written to the registry.
Some keys are open by the system or other processes.
SUCCESS: The file (or folder): “C:\Windows\System32\drivers\tcpip.sys” now owned
by user “JACKS\Jack”.
processed file: C:\Windows\System32\drivers\tcpip.sys
Successfully processed 1 files; Failed processing 0 files
Set global command failed on IPv4 The requested operation requires elevation.
Access is denied.
0 file(s) copied.
Original tcpip.sys driver has been renamed to “tcpip.original” in its original f
older.
1 file(s) copied.
ERROR: Not all data was successfully written to the registry.
Some keys are open by the system or other processes.
*** Patch installation is complete. Please RESTART computer!!
Press any key to continue . . .
Please help me. My email is el_denno@hotmail.com
Thanks
May 15th, 2007 14:40
Hi All,
I’ve uploaded a new v1.6 which now includes a fix to disable the UAC prompt for those of you still using the UAC protecion.
it also includes a tool to completly disable the UAC protection.
download from: http://www.yaronmaor.net
Cheers,
YaronM
May 15th, 2007 12:16
I set mine to a more reasonable 5000, but uTorrent still triggers several 4226’s — even though uTorrent is only set for 80 half-open connections. Something’s not quite right about this, since 5000 is WAY over what I’d use with this single program or even a fleet of them. I never saw this happen with the equivalent patch in XP.
May 8th, 2007 03:34
I tried v1.5 on Vista, and the batch got as far as the reg import command where it failed to go any further, insisting that either there was a problem with the disk or the filename was bad (it was correct).
Is there a permissions issue with “reg import” for an admin-level user with UAC? Perhaps the batch needs to be elevated with “Run as administrator”
Note: I merged the .REG file manually without incident.
May 3rd, 2007 17:50
[...] for Vista users. removes the in-built concurrent half-open TCP limitations, especially for BTing: Windows Vista tcpip.sys Connection Limit Patch for Event ID 4226
May 2nd, 2007 16:18
[...] 13:21 Hallo nochmal, wer sich die ganze Sache einfacher machen will -> LINK [...]
May 1st, 2007 23:02
Hi everone. I seem to have a problem with the autopatcher. P2PNETSH.DLL cannot be found. How do I fix this error. Thanks.
May 1st, 2007 19:21
[...] nochmal, wer sich die ganze Sache einfacher machen will -> LINK [...]