Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get-smbclientconfiguration
Message
From
29/08/2019 17:12:36
 
 
To
29/08/2019 15:52:48
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
01670414
Message ID:
01670435
Views:
39
Thank you Rick.

>>In my windows server 2016 I launch powershell and I write
>>
>>get-smbclientconfiguration
>>
>>I'm doing this because I want to see the values for
>>
>>DirectoryCacheLifetime
>>FileInfoCacheLifetime
>>FileNotFoundCacheLifetime
>>
>>I see the values which are not 0
>>
>>I don't understand that I see their values here but there are no entries associated with those keys when I do a regedit and the I look to find those keys in
>>
>>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters
>>
>>Why?
>
>The ones we look for are:
>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\Smb1
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\Smb2
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\EnableOplocks
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRXSmb\Parameters\OplocksDisabled
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\UseOpportunisticLocking
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\parameters\DirectoryCacheLifetime
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\parameters\FileInfoCacheLifetime
>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\parameters\FileNotFoundCacheLifetime
>
>
>If the keys don't exist, Windows uses internal values baked into the DLLs and kernel.
>
>We also gather this information:
>
!MSINFO32.EXE /report sysinfo.txt
>
>You can search sysinfo for some keywords of interest. In any event, it's a good thing to gather that information and use it for later comparison if the machine ever starts having odd issues show up that are unique to the user account / machine.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Reply
Map
View

Click here to load this message in the networking platform