Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| windows:notes:smb [2025/10/02 23:03] – Sean Rhone | windows:notes:smb [2026/04/14 20:40] (current) – removed Sean Rhone |
|---|
| ====== 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" | |
| |
| <code> | |
| @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</code> | |
| |
| "%UserProfile%\Downloads\SMB Tweaks.bat" | |
| |