Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add file an .EXE after it is built?
Message
 
 
To
17/04/2019 14:07:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01668100
Message ID:
01668157
Views:
30
>>>>>Disabling network caching has been the greatest benefit we've given to our apps since the migration to Windows 10.
>>>>
>>>>How do you disable the caching on the client machine?
>>>
>>>https://www.levelextreme.com/Home/ViewPage?Activator=1021&ID=1665186
>>>
>>>
We set these values to these settings (0 or 1 for false or true):
>>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\Smb1
>>>1 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\Smb2
>>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\DirectoryCacheLifetime
>>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\FileInfoCacheLifetime
>>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\FileNotFoundCacheLifetime
>>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\UseOpportunisticLocking
>>>1 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRXSmb\Parameters\OplocksDisabled
>>>0 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\EnableOplocks
>>
>>Thank you. This would be difficult for me to do. Since I try not to get into the customers' PCs register and not to recommend the customer IT to do that. Liability. But I will bookmark this as a possible solution.
>
>We have many customers with IT departments which will not allow us to alter these registry settings as they are machine-wide, and affect other applications using the network. They present the argument that "other systems don't need to do this," and we tell them we use a file system based database, and it requires that caching be disabled and take them through the reasons why.
>
>Some customers have refused to make the changes and constantly have data corruption. Many others have refused to make the change, constantly had data corruptions, tried it one day, and never looked back.
>
>Each customer is different. :-)

Good point. I usually just say (to myself), "please help me to help you" :)
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform