User Tools

Site Tools


faq:tcp_ip_timeout_values_windows_server_family

TCP/IP Timeout Value for the Microsoft Windows operating system

See also https://support.windwardsoftware.com/a/solutions/articles/66000485985.

Problems exist where a network dropout or a computer failure will 'lock' a terminal, and the user will not be able to log into System Five until the lock is reset. This is a Windows issue which can be easily resolved.

The default Microsoft Windows timeout value for improperly disconnected TCP/IP connections is two (2) hours. While it is possible to use the Pervasive Monitor Utility to manually delete these sessions, it is generally not recommended as it can be very easy to remove the wrong user or all users.

By changing the TCP/IP timeout value on the server you can reduce the delay from the default two(2) hours to three (3) minutes.

  1. Open the Microsoft Windows Registry Editor ( START / RUN / regedit <enter> )
  2. Browse to the “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters” key
  3. Locate the Value “KeepAliveTime”. If it does not exist, create a new REG_DWORD Value called “KeepAliveTime”
  4. Set the Value “KeepAliveTime” to decimal 180000
  5. Exit the registry editor
  6. Reboot your machine for the changes to take effect

Please be aware that the capitalisation in KeepAliveTime is important!

The “KeepAliveTime” setting affects the whole TCP/IP protocol stack not just Pervasive.SQL. This information is also on the Microsoft Knowledgebase, go to: https://docs.microsoft.com/en-us/troubleshoot/browsers/change-keep-alive-time-out

Registry edit screenshot:

faq/tcp_ip_timeout_values_windows_server_family.txt · Last modified: 2021/04/13 13:17 (3 years ago) by kevin