Home » Categories » Solutions by Business Process » System Features

SMB2, SMB3 and Opportunistic Locking

Datafile Software Solutions

SMB2, SMB3 and Opportunistic Locking


Datafile uses an ISAM database which may be affected by the use of Opportunistic Locking and SMB2/3 on later versions of Microsoft clients.

Datafile has several hundred other clients using the same infrastructure – i.e. Windows 7/8 clients with Windows 2008/2012 Server - without issue. However, if you do experience issues, evidence of which would include frequent audit of file messages during updates, it is advised you speak to your hardware support agent with regards disabling these Microsoft protocols.

This Microsoft Knowledge article details the registry key settings for disabling SMB2/3

http://support.microsoft.com/kb/2696547

This Microsoft Knowledge article details the registry key settings for disabling Opportunistic Locking

http://support.microsoft.com/kb/296264

For later versions of Server 2016 and Server 2019 then the SMB2 / Oplocks could still needs disabling but this is done in a slightly different way.

There’s an option Leasing Mode against folder/drive that allows you to set SMBShare – where would set to none.

Windows 10 RS3 and Windows Server 2016 RS3 allow a special oplock override workaround now for these scenarios

SMB3 shares now havean option called "LeasingMode". This allows admins to stop leases & oplocks, like SMB1.

Leasing Mode has three options in Powershell New-SmbShare / Set-SmbShare : None, Shared and Full

Full = default SMB3
Shared = grant read-caching lease but not write or handle-caching
None = no oplocks or leases, like modified SMB1

So, if you're trying to get rid of SMB1 but have an app that requires no oplocks (and therefore SMB1), you can use SMB3 now. If you run ISAM databases in an app, this can help interoperability


It requires Windows Server 2016 or Windows 10 hosting the share, and they must be at least 16215 build.

Link: https://support.microsoft.com/km-kh/help/4034314/smbv1-is-not-installed-windows-10-and-windows-server-version-1709


Custom Fields
  • Release ID: Standard
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Ledger Enquiry Hyperlinks on Application Report Output to Excel
Viewed 10910 times since Mon, Jun 11, 2012
Document Design Manager - Save and Exit
Viewed 3580 times since Wed, Jun 13, 2012
History Database Cross-Links
Viewed 2179 times since Tue, Jun 12, 2012
Landing Pages - Copy Configuration between Users
Viewed 925 times since Thu, Jun 18, 2020
Microsoft Office Links 2018
Viewed 1291 times since Thu, Jun 18, 2020
Ledger Enquiry - Application Panels – Allow Up to Ten Items / Faster Display
Viewed 39 times since Tue, Oct 15, 2024
Record Groups as Items in Discount and Supplier Matrix
Viewed 2507 times since Fri, May 27, 2016
Output to Pivot Tables - Accept and Save Options
Viewed 4616 times since Tue, Jun 12, 2012
Ledger Enquiry – Print Sales / Purchase Account Statement
Viewed 1167 times since Wed, Jun 13, 2012
Automatically Display Linked Files - Allow Items from Lookup Database in History/Details List - Link to BOM Detail Pick List
Viewed 1922 times since Fri, Jul 21, 2017