vista bt 問題

2008-04-14 10:14 pm
在XP系統中,出於安全原因Windows就限制了TCP連接數目,即並發對外TCP連接數量具有上限,這一優點也被Vista繼承下來.但是,對于P2P程序來說,這種限制也同時限制了傳輸速度.
softpedia提供了一種方法可以修改這個限制.首先需要下載補丁文件:64位 tcpip.sys或 32位(x86) tcpip.sys,然後在命令提示行運行以下命令:


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

裝完要中間補多句:
打完佢自動會有反應..要按多次ENTER..之後按Y再按ENTER..確定多次先會改的!! (如果唔係覆蓋唔到個FILE)

注意:上面的"username"要替換為你的登陸名稱,繼續輸入以下命令可以關閉TCP/IP自動調整功能:


netsh int tcp set global autotuninglevel=disable

對於64為Vista還要運行以下命令讓驅動程序具有合法的簽名:


bcdedit.exe -set loadoptions DDISABLE_INTEGRITY_CHECKS

接下來,將下載到的補丁文件放到C:\windows\system32\drivers文件夾.找到注冊表位置:
HKEY_LOCALL_MACHINE > SYSTEM > CurrentControlSet > Services > Tcpip > Parameters
新建一個"DWORD",名為TcpNumConnections,然後雙擊TcpNumConnections,將其值設為你想要的最大值,重啟機器即可.


請問當我將補丁文件放到C:\windows\system32\drivers果時 佢話我無權限去做 但我己經關左UAC架喇
同埋之後佢果句找到注冊表位置:
HKEY_LOCALL_MACHINE > SYSTEM > CurrentControlSet > Services > Tcpip > Parameters
係邊度做架 我吾係甘明呀 請做過既高手指教下

回答 (1)

2008-04-19 10:21 pm
✔ 最佳答案
Download patched tcpip.sys: Vista TCP/IP and UAC Auto Patcher (patched tcpip.sys is contained inside the archive)



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”:F


Replace 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=disa ble




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_C HECKS


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


收錄日期: 2021-04-13 16:11:04
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20080414000051KK01029

檢視 Wayback Machine 備份