Solved

oportunistic locking disabled

Posted on 2011-03-09
4
411 Views
Last Modified: 2012-05-11
recently oportunistic locking became disabled -  windows server 2008
I suspect through a windows update.
does not seem to be a way of enabling it again

anyone else experienced this and is there a registry key or tool to reverse this?
0
Comment
Question by:abelh2011
  • 2
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
Felix Leven earned 500 total points
ID: 35098111
You can also deny the granting of opportunistic locks by setting the following registry entry to 0:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
EnableOplocks REG_DWORD 0 or 1
Default: 1 (enabled)
Note The EnableOplocks entry configures Windows-based servers to allow or to deny opportunistic locks on local files. These servers include workstations that share files.

OR

In later versions of Windows, you can disable opportunistic locking by setting the following registry entry to 1:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters\
OplocksDisabled REG_DWORD 0 or 1
Default: 0 (not disabled)

Full:
http://support.microsoft.com/kb/296264
0
 

Author Comment

by:abelh2011
ID: 35100669
HI
thank you very much for responding
yes I found that article at microsoft too -  it was aimed at windows 2003. -

I will look at the windows2008 server asap -  Wondered whether anyone else had had thisproblem with a windows update removing this ability
0
 
LVL 13

Expert Comment

by:Felix Leven
ID: 35100868
i would try to search my wsus server for hints regarding this
0
 

Author Closing Comment

by:abelh2011
ID: 35134981
this solution confirmed my search of microsoft knowledgebase -

It was a second opinion - but nevertheless happy with the answer
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Know what services you can and cannot, should and should not combine on your server.
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question