Skip to content

Instantly share code, notes, and snippets.

@ypcrts
Created March 14, 2020 20:31
Show Gist options
  • Save ypcrts/087c8911bf4eb76da88bea6a30fba2cb to your computer and use it in GitHub Desktop.
Save ypcrts/087c8911bf4eb76da88bea6a30fba2cb to your computer and use it in GitHub Desktop.
Windows 10 Hardening - Powershell
# disable smb 1
Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol
# disable smb2 / smb3
Set-SmbServerConfiguration -EnableSMB2Protocol $false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment