Oracle‎ > ‎Misc‎ > ‎

Opportunistic Locking Windows 2008

Disable OpLocks win2008

Opportunistic Locking:

  • Disable Opportunistic Locking at the server service level:
    • Add the following Value:
      \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
      Value Name: EnableOplocks
      Data Type: REG_DWORD
      Value (decimal): 0
       
  • Disable Remote File Control Blocks (RFCB) caching
  • Add the following Value:
    \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
    Value Name: CachedOpenLimit
    Data Type: REG_DWORD
    Value (decimal): 0
  • To disable SMB2 on a Windows Server 2008
    • Add the following Registry value: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\ Value Name: SMB2
      Data Type: REG_DWORD
      Value (decimal): 0

Once SMB2 is disabled, SMB1 will be used again.

Comments