Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB296264

Configuring opportunistic locking in Windows

By default, opportunistic locking is enabled for server message block (SMB) clients that run one of the Windows operating systems that is listed in the “Applies to” section. Opportunistic locking lets clients lock files and locally cache information without the risk of another user changing the file. This increases performance for many file operations but may decrease performance in other operations because the server that grants the opportunistic lock must manage the breaking of that lock when another user requests access to the file.

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.

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB296264.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Related Posts