Post

Slow Windows Share

If you are facing delays when accessing documents or accessing files on a Network Share from Windows 10/11, then this post will be able to help you. For a small addition/change in the registry, this improved my access times to SMB shares on a local NAS.

Registry Change

Open RegEdit in Windows

Navigate to the following registry key:

1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters

Identify the DirectoryCacheLifetime entry.

If the entry is not present, right-click on the blank space on the right pane and then select:

New > DWORD (32-bit) Value. Then rename the value name as DirectoryCacheLifetime and hit Enter.

Now, double-click on the entry to edit its properties.

Type 0 in the Value data box and hit Enter to save the change.

You can now exit Registry Editor and restart your PC. The network share delays issue should be resolved now.

This post is licensed under CC BY 4.0 by the author.