User Tools

Site Tools


windows:notes:smb

Commands

"powershell.exe" -Command "Set-SmbClientConfiguration -EnableInsecureGuestLogons 0 -Force"
"powershell.exe" -Command "Set-SmbClientConfiguration -DisableCompression 1 -Force"
"powershell.exe" -Command "Set-SmbServerConfiguration -DisableCompression 1 -Force"
"powershell.exe" -Command "Set-SmbClientConfiguration -RequireEncryption  0 -Force"
"powershell.exe" -Command "Set-SmbClientConfiguration -BlockNTLM 1 -Force"
"powershell.exe" -Command "Set-SmbServerConfiguration -Smb2DialectMax "SMB311" -Smb2DialectMin "SMB311" -Force"
"powershell.exe" -Command "Set-SmbClientConfiguration -Smb2DialectMax "SMB311" -Smb2DialectMin "SMB311" -Force"

Batch File

"notepad.exe" "%UserProfile%\Downloads\SMB Tweaks.bat"
@echo off

"powershell.exe" -Command "Set-SmbClientConfiguration -DisableCompression 1 -Force"
"powershell.exe" -Command "Set-SmbClientConfiguration -Smb2DialectMax "SMB311" -Smb2DialectMin "SMB311" -Force"
"powershell.exe" -Command "Set-SmbClientConfiguration -EnableInsecureGuestLogons 0 -Force"
"powershell.exe" -Command "Set-SmbClientConfiguration -RequireEncryption  0 -Force"
"powershell.exe" -Command "Set-SmbClientConfiguration -BlockNTLM 1 -Force"

"powershell.exe" -Command "Set-SmbServerConfiguration -DisableCompression 1 -Force"
"powershell.exe" -Command "Set-SmbServerConfiguration -Smb2DialectMax "SMB311" -Smb2DialectMin "SMB311" -Force"

PAUSE

:: End
"%UserProfile%\Downloads\SMB Tweaks.bat"
/usr/local/www/wiki/data/pages/windows/notes/smb.txt · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki