Is there a way to change default TCP/IP new connection timeout ?
In earlier Windows, timout value was stored in registry, as said here:
Which is the default TCP connect timeout in Windows?
But this is not true for Windows 7
Is there a way to change default TCP/IP new connection timeout ?
In earlier Windows, timout value was stored in registry, as said here:
Which is the default TCP connect timeout in Windows?
But this is not true for Windows 7
But this is not true for Windows 7
It is. KB 170359 How to modify the TCP/IP maximum retransmission timeout:
Change the following key in Windows (2000, XP, 2003, Vista, 2008, 2008 R2, Windows 7): HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters
Value Name: TcpMaxDataRetransmissions
[...]
Change the following key in Windows (2000, XP, 2003, Vista, 2008, 2008 R2, Windows 7): HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\ID for Adapter
Value Name: TCPInitialRtt
[...]
Article ID: 170359 - Last Review: February 14, 2012 - Revision: 6.0
APPLIES TO
[...]
- Windows 7 Professional
- Windows 7 Ultimate
- Windows 7 Enterprise
[...]
TcpMaxDataRetransmissionsto 32 (0x20), and it still takes only a couple of seconds before active PuTTY connections timeout after I briefly disable routing throughsysctl net.inet.ip.forwarding=0on my router. Doing tcpdump on the router reveals that there are only about 8 packets sent before the connection times out, not the supposed 32. Such brief outages don't affect active connections on OS X. http://superuser.com/questions/529511/why-windows-7-putty-drop-tcp-connections-even-on-very-brief-outages – cnst Jan 08 '13 at 20:52