` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please 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!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 May 3, 2024, 2:36 am
This article has been viewed 35116 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: