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


We got this error while sharing business files via Microsoft Access. There is a 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 the 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 the 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 the Run dialog box and hit Enter to open the Registry Editor.


2. Navigate here:

If you’re 32-bit Windows edition:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\x.0\Access Connectivity Engine\Engines\ACE 

If you’re 64-bit Windows edition:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\x.0\Access Connectivity Engine\Engines\ACE

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.


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


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 the 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!

Download this VPN to secure all your Windows devices and browse anonymously
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.