Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REGEDIT4
- ; fix_bloqueo_windows.reg
- ; =============================
- ; Este archivo sirve para reconfigurar el servidor de Windows, para ajustarse al funcionamiento de SAIT
- ; ya que las estaciones acceden directamente a las tablas .DBF de SAIT y deben de bloquearlas correctamente
- ;
- ; Se recomienda ejecutar tanto en el servidor como en las estaciones
- ;
- ; Referencias:
- ; http://www.witzendcs.co.uk/html/nt_networking.html
- ; https://support.microsoft.com/en-us/help/2028965/data-corruption-when-multiple-users-perform-read-and-write-operations
- ; https://msdn.microsoft.com/en-us/library/windows/hardware/dn567661(v=vs.85).aspx
- ; 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/
- ;
- ;
- [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
- ; This one disables the SMB2 protocol in Vista which causes major file-sharing problems
- ; this is taken from http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1259708&SiteID=1
- "SMB2" = dword:00000000
- "SMB1" = dword:00000001
- ; The following 2 entries force oplocks off
- "EnableOpLockForceClose" = dword:00000001
- "EnableOpLocks" = dword:00000000
- ; Forces the server to really close a file when instructed
- "CachedOpenLimit" = dword:00000000
- ; The following 2 entries force the server to immediately report a sharing violation
- ; Although this looks wrong, it is actually the best option for Clipper
- ; -------
- "SharingViolationDelay" = dword:00000000
- "SharingViolationRetries" = dword:00000000
- ; Prevent premature workstation disconnection - default is 0000000f (15 minutes)
- ; -----
- "autodisconnect" = dword:ffffffff
- ; This one is for Server 2003 - default is 2 minutes!
- "ConnectionNoSessionsTimeout" = dword:ffffffff
- ; This one is for Win2K and later
- [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters]
- "OplocksDisabled" = dword:00000001
- [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Lanmanworkstation\Parameters]
- "UseOpportunisticLocking" = dword:00000000
- "EnableOpLocks" = dword:00000000
- "EnableOpLockForceClose" = dword:00000001
- ; Disable file caching - effectively forces a commit back to the server
- "UtilizeNtCaching" = dword:00000000
- ; Unlocks data immediately in response to an unlock request (improves performance on W2K)
- "UseUnlockBehind" = dword:00000001
- ; Allows data to be read even if another station has a lock in place - can prevent "deadly embrace"
- "UseLockReadUnlock" = dword:00000000
- ; Clientes de SaitSqlServer esperan mucho tiempo para ver el archivo respuesta que el servidor genero
- "FileInfoCacheLifetime" = dword:00000000
- "FileNotFoundCacheLifetime" = dword:00000000
- "DirectoryCacheLifetime" = dword:00000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement