Opportunistic File Locking

  • Thread starter Thread starter Ryan
  • Start date Start date
R

Ryan

If I set the value data for "EnableOpLocks" to 0 on a
2000 server machine, will i also need to add the
key "EnableOpLocks" and set the value data on the
workstation as well.

My understanding is: When using Opportunistic file
locking on the server, it is recommended to use it on the
stations as well so the server doesn't have to handle all
the requests; so in return if the server doesn't have
Op_Locks enabled then I shouldn't have to worry about the
stations.

If someone could please reply and let me know if this is
correct i would really appreciate it.

Thanks
 
Hi, Ryan -

You realize disabling opportunistic locking is liable to
cause a performance hit on the server, right?

That said, it's also my understanding that OpLock
settings must match. Please note that the registry
locations are not the same for servers and workstations.

For servers the keys have to be created in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanma
nServer\Parameters

and for workstations they'd be in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanma
nWorkstation\Parameters

OpLocks are enabled by default in both servers and
workstations. The appropriate registry kepys will need
to be created to disable opportunistic locking.

hth -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Opportunistic Locking...? 1
Opportunistic Locking 1
oplocks 2
Opportunistic Locks 1
Oplocks 5
Oplocks and cluster 3
turn off opportunistic locking? 5
Disabling Opportunistic Locking (oplocks) 1

Back
Top