keepalive

The value of the parameter (an integer) represents
the number of seconds between keepalive
packets. If this parameter is zero, no keepalive packets will be
sent. Keepalive packets, if sent, allow the server to tell whether
a client is still present and responding.

Keepalives should, in general, not be needed if the socket
has the SO_KEEPALIVE attribute set on it by default. (see ).
Basically you should only use this option if you strike difficulties.

Please note this option only applies to SMB1 client connections, and
has no effect on SMB2 clients.

Example: 600

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family



Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\keepalive
Value Namekeepalive
Value TypeREG_DWORD
Default Value300
Min Value
Max Value

samba.admx

Administrative Templates (Computers)