Is This Content Helpful?
We're glad to know this article was helpful.
When performing various workflows within ArcGIS for Desktop, users may experience the error that a lock cannot be acquired. If this data exists on a file share such as a Network Attached Storage (NAS) or other device using Samba, there may be a problem with the Windows SMB2 cache. Users may experience this issue when a program creates a file, such as a lock file, and then verifies the file exists immediately after creation.
This problem is due to an issue within the SMB2 Client Redirector cache. At the Windows Vista and Server 2008 release, three file metadata caches were implemented to speed up the return of the most recently accessed file and directory information. However, by default, at the Windows 7 and Server 2008 R2 releases, these caches are set to refresh every ten seconds. In the case of ArcGIS for Desktop lock creation, this cache regeneration is not fast enough.
For more information, see the following Microsoft TechNet article: SMB2 Client Redirector Caches Explained
To resolve this issue for ArcGIS for Desktop, the registry must be updated to disable the SMB2 caching.