User Tools

Site Tools


windows:notes:smb

Differences

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

Link to this comparison view

windows:notes:smb [2025/10/02 22:55] – created Sean Rhonewindows:notes:smb [2025/10/02 23:03] (current) Sean Rhone
Line 1: Line 1:
 +====== Commands ======
 +
   "powershell.exe" -Command "Set-SmbClientConfiguration -EnableInsecureGuestLogons 0 -Force"   "powershell.exe" -Command "Set-SmbClientConfiguration -EnableInsecureGuestLogons 0 -Force"
  
Line 12: Line 14:
  
   "powershell.exe" -Command "Set-SmbClientConfiguration -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"
  
/srv/www/wiki/data/attic/windows/notes/smb.1759460110.txt.gz · Last modified: by Sean Rhone