id="info"

General discussion

Locked

How to disable opportunistic Locking in

By cooper ·
I would like to know the exaxt entry I need to put in the Windows NT 4.0 Registry to disable opportunistic locking. Here's where it goes in the registry and I've also included the link to Microsoft's support KB that tries to explain it. Thanks!
\HKE_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

http://support.microsoft.com/support/kb/articles/Q129/2/02.asp

This conversation is currently closed to new comments.

13 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How to disable opportunistic Locking in

by bearwitme In reply to How to disable opportunis ...

We created a .Reg file with the following entries..
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTcONTROLsET\SERVICES\LANMANWORKSTATION\PARAMETERS]
"Use OpportunisticLocking"=dword:00000000
"UseNtCaching"=dword:00000000
"UseUnlockBehind":dword:00000001Hopehis helps..

Connie

Collapse -

How to disable opportunistic Locking in

by cooper In reply to How to disable opportunis ...

The question was auto-closed by TechRepublic

Collapse -

How to disable opportunistic Locking in

by joynerm In reply to How to disable opportunis ...

This is what I have been using. Hope this helps.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

EnableOpLocks Type=Reg_Dword Value=0 (Decimal

Microsoft pointed to the same Q article as you did.

Collapse -

How to disable opportunistic Locking in

by cooper In reply to How to disable opportunis ...

The question was auto-closed by TechRepublic

Collapse -

How to disable opportunistic Locking in

by theswede In reply to How to disable opportunis ...

This can also be done through application of a policy. Once you have your policy restriction setup and saved, you can open the registry and stop this locking. If you want more information just email me.

Collapse -

How to disable opportunistic Locking in

by cooper In reply to How to disable opportunis ...

The question was auto-closed by TechRepublic

Collapse -

How to disable opportunistic Locking in

by jmcknight In reply to How to disable opportunis ...

It is very difficult to track these as non Windows NT clients are recorded in the event log of the domain controller that attemps to validate the account and Windows NT logon attempts are recorded locally.
You can install the Netlogon.dll from the checked build of Service Pack 3 on your PDC to create a log file for all attemps.

After downloading the checked build of the service pack, extract (SP_Name.exe /x) the Netlogon.dll.
Navigate to the %SystemRoot%\System32 folder and rename Netlogon.dll to Netlogon.fre.
Copy the checked version of Netlogon.dll to the %SystemRoot%\System32 folder. Edit:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\DBFlag

and change DBFlag to 0x04 to record the logon or to 0x20000004 to recordthe logon and a time stamp.

Shutdown and restart the PDC.

Confirm you have a %SystemRoot%\Debug folder that contains a Netlogon.log file.The error codes in the log file are:

Error Code M e a n i n g
0xC0000234 User logon with Account Loc

Collapse -

How to disable opportunistic Locking in

by cooper In reply to How to disable opportunis ...

The question was auto-closed by TechRepublic

Collapse -

How to disable opportunistic Locking in

by jmcknight In reply to How to disable opportunis ...

If your clients' experience delay when saving a document to a server share, it may be because the client is ignoring the server's oplocks break request. If this is pervasive over many clients, disable opportunistic locking on the server by editing:
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/LanmanServer/Parameters

Add Value EnableOplocks as a REG_DWORD. Set it to 0.

You will need to reboot your server for this change to take effect

Collapse -

How to disable opportunistic Locking in

by cooper In reply to How to disable opportunis ...

The question was auto-closed by TechRepublic

Back to Windows Forum
13 total posts (Page 1 of 2)   01 | 02   Next

Operating Systems Forums