Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- To disable SMBv1 on the SMB server, run the following cmdlet:
- Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 0 -Force
- To disable SMBv2 and SMBv3 on the SMB server, run the following cmdlet:
- Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB2 -Type DWORD -Value 0 -Force
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement