Fix: File sharing lock count exceeded error

In Windows, there is certain limit for sharing files concurrently. If this threshold limit is exceeded, the fail sharing operation cannot be performed and you’ve have to give another try. There is a registry element which monitors and takes care of maximum file sharing limit and its called MaxLocksPerFile entry. So when the file sharing limit is reached, you will receive following error:

File sharing lock count exceeded. Increase MaxLocksPerFile registry entry.

File-sharing-lock-count-exceeded

We got this error while sharing business files via Microsoft Access. There is big possibility that you came around this issue with Access specifically, because chances of exceeding file sharing capability remains with this application. Sometimes a reboot of system may help you to overcome this issue while in some cases you need to follow the mandatory steps to increase MaxLocksPerFile registry value as per the suggestion of error message.

Here is how to increase MaxLocksPerFile registry value:

These steps will involve registry manipulation. Making mistakes while manipulating registry could affect your system adversely. So be careful while editing registry entries and create a System Restore point first.

1. Press Windows Key + R combination, type put regedit in Run dialog box and hit Enter to open the Registry Editor.

Registry-Windows-8.1

2. Navigate here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\x.0\Access Connectivity Engine\Engines\ACE (if you’re 32-bit Windows edition)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\x.0\Access Connectivity Engine\Engines\ACE (if you’re 64-bit Windows edition)

Substitute the placeholder x.0 with 15.0 for Outlook 2013, 14.0 for Outlook 2010, 12.0 for Outlook 2007, and 11.0 for Outlook 2003.

File-sharing-lock-count-exceeded-1

3. In the right pane of this registry location, look for the MaxLocksPerFile named registry DWORD (REG_DWORD) whose default value is root cause of this problem. The default value is 9500 in decimal base, so double click on the same DWORD to get this:

File-sharing-lock-count-exceeded-2

4. In the Edit DWORD Value box shown above, increase the Value data from default value as per your need, for example, set it to 15000. Make sure that selected base is Decimal. Click OK. Close Registry Editor and restart Windows/File Explorer to make changes effective. Now try sharing files concurrently, and you won’t have any issues.

Let us know if this helps you!

Posted by on , in Category Office with Tags

An Electrical Engineer by profession, Kapil is a Microsoft MVP and a Microsoft Content Creator. Please read the entire post & the comments first & create a system restore point before making any changes to your system.