How to Turn Off SMB 2.0 Caching if it is Slowing Down Infor CRM.

I have had some reports of Infor CRM (Saleslogix) users with Windows 10 experience long load times to pull up attachments.  There is a feature Microsoft added in Windows 10 that can, in rare cases, significantly increase the time it takes Infor CRM (Saleslogix) to access attachments on network shares.  This information is pretty well documented here and here, but since I have had some questions I wanted to mention it here. Windows 10 computerscan use SMB 2.0 to access network shares.  Generally, this is a good thing, but sometimes the caching will cause attachments in Infor CRM to be very slow to open.  If this becomes a problem, it is possible to use the Windows Registry to effectively turn off this caching.

Turning off the SMB 2.0 caching can hurt performance in other ways, so this should only be done if CRM attachments are being slow to load.  Use regedit to open the Windows Registry, and go to the folder HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Lanmanworkstation\Parameters. There are three registry keys that might help.

1) Create the DWROD key DiretoryCache Lifetime and give it a value of 0.  Test if this helps with the speed of accessing attachments.  If it does not, either set this key to its default value of 10, or delete it from the registry.

2) If that does not work, create the DWORD key FileNotFoundCacheLifetime and give it a value of 0.  If this one does not help, set it to its default value of 5 (or delete the key).

3) If that does not work, create the DWORD key FileInfoCacheLifetime and give it a value of 0.  Like the others, if it does not help, set its value to 10, or delete it.

Standard Windows Registry warnings apply, don’t change any keys you aren’t sure about, as it is possible to render your computer inoperable if you edit or delete an important key.  These keys are safe to edit as listed.  Keep in mind these cache lifetimes were added in order to prevent Windows from repeatedly sending requests to access the same file, so you don’t want to zero them out if they are not causing issues.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) news and product updates!

You have Successfully Subscribed!