User Tools

Site Tools


windows:notes:smb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
windows:notes:smb [2026/03/12 11:35] Sean Rhonewindows:notes:smb [2026/04/14 20:40] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Commands ====== 
- 
-  "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -EnableInsecureGuestLogons 0 -Force" 
- 
-  "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -DisableCompression 1 -Force" 
- 
-  "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbServerConfiguration -DisableCompression 1 -Force" 
- 
-  "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -RequireEncryption  0 -Force" 
- 
-  "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -BlockNTLM 1 -Force" 
- 
-  "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbServerConfiguration -Smb2DialectMax "SMB311" -Smb2DialectMin "SMB311" -Force" 
- 
-  "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -Smb2DialectMax "SMB311" -Smb2DialectMin "SMB311" -Force" 
- 
-====== Batch File ====== 
- 
-  "notepad.exe" "%UserProfile%\Downloads\SMB Tweaks.bat" 
- 
-<code> 
-@echo off 
- 
-"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -DisableCompression 1 -Force" 
-"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -Smb2DialectMax "SMB311" -Smb2DialectMin "SMB311" -Force" 
-"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -EnableInsecureGuestLogons 0 -Force" 
-"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -RequireEncryption  0 -Force" 
-"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbClientConfiguration -BlockNTLM 1 -Force" 
- 
-"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbServerConfiguration -DisableCompression 1 -Force" 
-"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -Command "Set-SmbServerConfiguration -Smb2DialectMax "SMB311" -Smb2DialectMin "SMB311" -Force" 
- 
-PAUSE 
- 
-:: End</code> 
- 
-  "%UserProfile%\Downloads\SMB Tweaks.bat" 
  
/var/www/wiki/data/attic/windows/notes/smb.1773329746.txt.gz · 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