` review MS KB Articles Q129202 and Q219022 (Krsitian Hyllestad ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

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, 3:38 am
This article has been viewed 35307 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: