smb2 max write

This option specifies the protocol value that smbd
8 will return to a client, informing the client of the largest
size that may be sent to the server by a single SMB2 write call.

The maximum is 8388608 bytes (8MiB), which is the same as a Windows Server 2012 r2.
Please note that the default is 8MiB, but it's limit is based on the
smb2 dialect (64KiB for SMB == 2.0, 8MiB for SMB => 2.1 with LargeMTU).
Large MTU is not supported over NBT (tcp port 139).

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



Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\smb2 max write
Value Namesmb2 max write
Value TypeREG_DWORD
Default Value8388608
Min Value
Max Value

samba.admx

Administrative Templates (Computers)