Configuring opportunistic locking in Windows
Notes for Windows Vista
- The opportunistic locking registry keys are valid only for traditional SMB (SMB1). You cannot turn off opportunistic locking for SMB2. SMB2 was introduced in Windows Vista to enable faster communication between computer that are running Windows Vista and Windows Server 2008 or Windows Server 2008 R2.
- If you disable opportunistic locking, the offline files feature in Windows Vista fails.
The location of the client registry entry for opportunistic locking has changed from the location in Microsoft Windows NT. In later versions of Windows, you can disable opportunistic locking by setting the following registry entry to 1:
Default: 0 (not disabled)
You can also deny the granting of opportunistic locks by setting the following registry entry to 0:
Default: 1 (enabled)
In addition, you can use the following values to tune opportunistic locking for Windows-based computers that have granted opportunistic locks.
The following value specifies the minimum link throughput that the server allows before it disables raw and opportunistic locks for this connection:
Article ID: 296264 - Last Review: 04/04/2011 05:05:00 - Revision: 11.0
- kbenv kbfilesystems kbinfo w2000fs KB296264