Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ref: https://support.microsoft.com/en-us/help/2696547/how-to-enable-and-disable-smbv1,-smbv2,-and-smbv3-in-windows-vista,-windows-server-2008,-windows-7,-windows-server-2008-r2,-windows-8,-and-windows-server-2012
- Write-Host "This PowerShell script disables the SMB protocols in Windows 8 and Windows Server 2012"
- Set-SmbServerConfiguration -EnableSMB1Protocol $false
- Set-SmbServerConfiguration -EnableSMB2Protocol $false
- Write-Host "You need to restart the system to make changes effective."
Advertisement
Add Comment
Please, Sign In to add comment