How to modify the TCP/IP maximum retransmission time-out
The retransmission timer is initialized to three seconds when a TCP connection is established. However, it is adjusted on the fly to match the characteristics of the connection by using Smoothed Round Trip Time (SRTT) calculations as described in RFC793. The timer for a given segment is doubled after each retransmission of that segment. By using this algorithm, TCP tunes itself to the normal delay of a connection. TCP connections that are made over high-delay links take much longer to time out than those that are made over low-delay links.
By default, after the retransmission timer hits 240 seconds, it uses that value for retransmission of any segment that has to be retransmitted. This can cause long delays for a client to time-out on a slow link.
For more information about the latest service pack for Windows 2000, click the following article number to view the article in the Microsoft Knowledge Base:
The TcpMaxDataRetransmissions registry value controls the number of times that TCP retransmits an individual data segment before it aborts the connection. This value is not configured by default, but it can be entered to change the default number of retries.
Change the following subkey in Windows 7, Windows 2008 R2, Windows 2008, Windows 2000, Windows Vista, Windows 2003, and Windows XP:
Value Name: TcpMaxDataRetransmissionsData Type: REG_DWORD - NumberValid Range: 0 - 0xFFFFFFFFDefault: 5
Windows provides a mechanism to control the initial retransmit time, and the retransmit time is then dynamically self-tuned. To change the initial retransmit time, modify the following registry values.
Change the following subkey in Windows 2003, Windows XP, and Windows 2000:
Value Name: TCPInitialRttData Type: REG_DWORDValid Range: 300-65535 (milliseconds in decimal)Default: 0xBB8 (3000 milliseconds expressed in hexadecimal)
NOTE: You can increase the value only for the initial time-out. Decreasing the value is not supported.
Change the following key in Windows NT 4.0:
Value Name: InitialRttData Type: REG_DWORDValid Range: 0-65535 (decimal)Default: 0xBB8 (3000 decimal)
For example, the value data of "5000 decimal" sets the initial retransmit time to five seconds.
The Initial RTO in Windows Server 2008 R2 and Windows 7 is can be controlled by using the NetSH command by initialRTO.
For prerequisites and more information, click the following article number to view the article in the Microsoft Knowledge Base:
For more information about retransmit time, click the following article numbers to view the articles in the Microsoft Knowledge Base:
Article ID: 170359 - Last Review: 09/18/2013 15:35:00 - Revision: 8.1
- kbhotfixserver kbqfe kbinfo kbnetwork kbwin2000sp3fix KB170359