On slow or congested Internet connections, Windows can time out before a website responds, causing connection timeout errors.
On Windows, one supported way to reduce these timeouts is to increase how long TCP waits before giving up on a data segment. This is done by adding or adjusting the TcpMaxDataRetransmissions registry value.
Important: Editing the registry incorrectly can cause serious system problems. Back up the registry first and only proceed if comfortable with these steps.
- Open Registry Editor
- Press
Windows key, type regedit, and press Enter.
- If prompted by UAC, select Yes.
- Navigate to the TCP/IP parameters key
- In Registry Editor, go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
- Create or modify
TcpMaxDataRetransmissions
- On the Edit menu, select Add Value (or right‑click in the right pane and select New > DWORD (32-bit) Value).
- Name it:
TcpMaxDataRetransmissions.
- Set Value type to
REG_DWORD.
- Set the Value data to
10 (Decimal). The default is 5; increasing to 10 allows more retransmission attempts.
- Restart the computer
- Close Registry Editor.
- Restart Windows so the change takes effect.
If connection timeouts still occur after testing for a while, increase the value again (for example, to 20 Decimal) using the same steps.
Note: This change may only reduce the number of timeout errors. If the website is down, unreachable, or there are issues with the router/ISP, those underlying problems must be fixed separately.
References: