BlueCarbon

MISC Commands

Mar 13th, 2020
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1.  
  2.  
  3. Disable SMBv3 compression
  4.  
  5. You can disable compression to block unauthenticated attackers from exploiting the vulnerability against an SMBv3 Server with the PowerShell command below.
  6.  
  7. Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 1 -Force
  8. Notes:
  9.  
  10. No reboot is needed after making the change.
  11. This workaround does not prevent exploitation of SMB clients.
Advertisement
Add Comment
Please, Sign In to add comment