Created
March 14, 2020 20:31
-
-
Save ypcrts/087c8911bf4eb76da88bea6a30fba2cb to your computer and use it in GitHub Desktop.
Windows 10 Hardening - Powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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