| Previous | Next |
| STATUS_DOMAIN_LIMIT_EXCEEDED | STATUS_INVALID_OPLOCK_PROTOCOL |
STATUS_OPLOCK_NOT_GRANTED
The requested caching lease cannot be granted
An oplock allows a client to cache file data, handles, or directory state while the file system can later break that privilege. The request can be denied because existing opens conflict, the handle or target is unsuitable, or the caller is trying to request a local oplock directly on a remote file.
Denial does not make the underlying file unusable. Correct clients continue with less aggressive caching and preserve ordinary share-mode and synchronization rules.
What to inspect
- Record the requested oplock level, handle access, share mode, and open options.
- Determine whether the handle is local; remote oplocks are managed by the network redirector.
- Treat denial as a cache-policy outcome rather than repeatedly reopening the file to force a lease.
References
- Microsoft: FSCTL_REQUEST_OPLOCK
- Microsoft: Types of Opportunistic Locks
- Microsoft: CreateFile
- Microsoft Open Specifications: NTSTATUS values
Looking for a different code? Search another status or error code.