Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: review MS KB Articles Q129202 and Q219022 1999-12-23 -- Krsitian Hyllestad Below you find code to switch off the OpLock on both NT server and NT
Workstations. The code is presented as both .REG file and .WSE(Wise script).
Concerning Win95/98 clients you can disable the write-behind-cache.
===.REG FILE SERVER=======
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Para
meters]
"EnableOpLocks"=dword:00000000
"EnableOpLockForceClose"=dword:00000001
===.REG FILE SERVER=======
===.WSE SCRIPT SERVER=======
item: Edit Registry
Total Keys=2
item: Key
Key=SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
New Value=0
Value Name=EnableOpLocks
Root=2
Data Type=3
end
item: Key
Key=SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
New Value=1
Value Name=EnableOpLockForceClose
Root=2
Data Type=3
end
end
===.WSE SCRIPT SERVER=======
===.REG FILE WORKSTATION=======
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation
\Parameters]
"UseOpportunisticLocking"=dword:00000000
===.REG FILE WORKSTATION=======
===.WSE SCRIPT WORKSTATION=======
item: Edit Registry
Total Keys=1
Key=SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
New Value=0
Value Name=UseOpportunisticLocking
Root=2
Data Type=3
end
===.WSE SCRIPT WORKSTATION=======
Today is November 21, 2024, 7:35 am This article has been viewed 35308 times.
|
|