KeepConn

HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters

Data type Range Default value
REG_DWORD 1 - 65,535 seconds 600 (10 minutes)

Description

Specifies the maximum amount of time that an idle connection can remain open. If the idle time for a connection reaches the value of this entry, the connection is closed.

Increase the value of this entry if your application closes and opens UNC files on a server less frequently than every 10 minutes. This decreases the number of reconnections to a server.