Policy
Disable SMB compression
This policy controls whether the SMB server will disable (completely prevent) traffic compression. If you enable this policy setting, the SMB server will never compress data, irrespective of other policies (such as the 'Use SMB compression by default' policy or per-share property). If you disable or do not configure this policy setting, the SMB server may compress traffic (depending on a combination of other policies and conditions).
01ba76025a20 Pol_DisableCompression Registry
Copy registry mappings
HKLM\Software\Policies\Microsoft\Windows\LanmanServer\DisableCompression (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\LanmanServer\DisableCompression (disabled) = 0 Policy notes
This policy controls whether the SMB server will disable (completely prevent) traffic compression. If you enable this policy setting, the SMB server will never compress data, irrespective of other policies (such as the 'Use SMB compression by default' policy or per-share property). If you disable or do not configure this policy setting, the SMB server may compress traffic (depending on a combination of other policies and conditions).