docs: Add command to quickly fix the SMBv2 cache (#19210)
Running this command is more convenient than manually editing regedit.
This commit is contained in:
Родитель
2ce68df27a
Коммит
d0ece2bc93
|
@ -265,6 +265,12 @@ HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Lanmanworkstation\Parameter
|
|||
|
||||
to 0. More information: https://stackoverflow.com/a/9935126
|
||||
|
||||
This can be set quickly in powershell (ran as administrator):
|
||||
|
||||
```powershell
|
||||
New-ItemProperty -Path "HKLM:\System\CurrentControlSet\Services\Lanmanworkstation\Parameters" -Name DirectoryCacheLifetime -Value 0 -PropertyType DWORD -Force
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Stale locks in the git cache
|
||||
|
|
Загрузка…
Ссылка в новой задаче