Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get-smbclientconfiguration
Message
De
29/08/2019 15:52:48
 
 
À
28/08/2019 22:22:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
01670414
Message ID:
01670432
Vues:
44
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform