Advertisement
igtztorrero

fix-bloqueo-windows.reg

Jan 30th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
REG 2.80 KB | None | 0 0
  1. REGEDIT4
  2. ; fix_bloqueo_windows.reg
  3. ; =============================
  4. ; Este archivo sirve para reconfigurar el servidor de Windows, para ajustarse al funcionamiento de SAIT
  5. ; ya que las estaciones acceden directamente a las tablas .DBF de SAIT y deben de bloquearlas correctamente
  6. ;
  7. ; Se recomienda ejecutar tanto en el servidor como en las estaciones
  8. ;
  9. ; Referencias:
  10. ; http://www.witzendcs.co.uk/html/nt_networking.html
  11. ; https://support.microsoft.com/en-us/help/2028965/data-corruption-when-multiple-users-perform-read-and-write-operations
  12. ; https://msdn.microsoft.com/en-us/library/windows/hardware/dn567661(v=vs.85).aspx
  13. ; https://blogs.technet.microsoft.com/josebda/2013/10/02/windows-server-2012-r2-which-version-of-the-smb-protocol-smb-1-0-smb-2-0-smb-2-1-smb-3-0-or-smb-3-02-are-you-using/
  14. ;
  15. ;
  16.  
  17.  
  18. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
  19.  
  20. ; This one disables the SMB2 protocol in Vista which causes major file-sharing problems
  21. ; this is taken from http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1259708&SiteID=1
  22. "SMB2" = dword:00000000
  23. "SMB1" = dword:00000001
  24.  
  25. ; The following 2 entries force oplocks off
  26. "EnableOpLockForceClose" = dword:00000001
  27. "EnableOpLocks"          = dword:00000000
  28.  
  29. ; Forces the server to really close a file when instructed
  30. "CachedOpenLimit" = dword:00000000
  31.  
  32.  
  33.  
  34. ; The following 2 entries force the server to immediately report a sharing violation
  35. ; Although this looks wrong, it is actually the best option for Clipper
  36. ; -------
  37. "SharingViolationDelay"  = dword:00000000
  38. "SharingViolationRetries" = dword:00000000
  39.  
  40.  
  41.  
  42. ; Prevent premature workstation disconnection - default is 0000000f (15 minutes)
  43. ; -----
  44. "autodisconnect" = dword:ffffffff
  45. ; This one is for Server 2003 - default is 2 minutes!
  46. "ConnectionNoSessionsTimeout" = dword:ffffffff
  47.  
  48.  
  49. ; This one is for Win2K and later
  50. [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters]
  51. "OplocksDisabled" = dword:00000001
  52.  
  53.  
  54.  
  55. [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Lanmanworkstation\Parameters]
  56. "UseOpportunisticLocking"   = dword:00000000
  57. "EnableOpLocks"             = dword:00000000
  58. "EnableOpLockForceClose"    = dword:00000001
  59.  
  60. ; Disable file caching - effectively forces a commit back to the server
  61. "UtilizeNtCaching" = dword:00000000
  62.  
  63. ; Unlocks data immediately in response to an unlock request (improves performance on W2K)
  64. "UseUnlockBehind"  = dword:00000001
  65.  
  66. ; Allows data to be read even if another station has a lock in place - can prevent "deadly embrace"
  67. "UseLockReadUnlock" = dword:00000000
  68.  
  69. ; Clientes de SaitSqlServer esperan mucho tiempo para ver el archivo respuesta que el servidor genero
  70. "FileInfoCacheLifetime"     = dword:00000000
  71. "FileNotFoundCacheLifetime" = dword:00000000
  72. "DirectoryCacheLifetime"    = dword:00000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement