5/2/07

Optimize Vista for Bitorrent & eMule

Microsoft did an update on Service Pak 2 to limit TCP connections. What this did was slowed down Bitorrent & eMule downloads.
With the new version of Vista it put greater restrictions so that the Vista Ultimate version has only 25 and the Vista Home edition with just 2.
If anyone wanted to speed up the download for Bitorrent & eMule they would have to seek online tutorials to undo the restrictions.

Here are the steps to optimize your downloads.

1. Download patched tcpip.sys: 64-bit tcpip.sys or 32-bit tcpip.sys.
2. Open command prompt, and run the following 2 commands:

takeown /f c:\windows\system32\drivers\tcpip.sys
cacls c:\windows\system32\drivers\tcpip.sys /G “username”:F

Replace username with the actual user name that is currently being used to log on.

3. Disable the TCP/IP Auto-Tuning feature by running the following command in command prompt:

netsh int tcp set global autotuninglevel=disable

4. For 64-bit Windows Vista (x64), the integrity checks need to be disabled as it needs all drivers to be signed. So run the following command in DOS prompt:

bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS

5. Replace the tcpip.sys in C:\windows\system32\drivers folder with the patched tcpip.sys downloaded during step 1 (remember to use the correct x64 or x86 version. Normally this procedure can be done by simply logging into Windows Vista with an administrator account. However, if the process fails, reboot the computer and then press F8 to boot up in Safe Mode, and then copy and paste to overwrite the tcpip.sys.

6. Next, the maximum number of TCP half complete connection limit needs to be set in the registry. Open registry editor (regedit), and navigate to the following registry key:

HKEY_LOCALL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

7. Right click on the right pane, select “New”, then select “DWORD value”. Enter the new value name as “TcpNumConnections” (without quotes).

8. 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 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).

9. Restart computer.

Compliments of TorrentFreak