Question: I had Windows 10 on my client machine and just made a fresh new installation. The server is a Linux machine where I did not change anything.
Since I made the fresh installation of Windows 10, I have troubles accessing my network drives. It takes up to 1 minute until the explorer windows loaded the content of the drive. It is not, that the drive just needs to start. I had this before as well and usually takes 3-5 seconds and not only one minute. I can also here it, when it starts ^^
A problem which I identified is, that even the windows of “My computer” is not showing the “used disc space” of the drives. When this is loaded, I can usually access the drives immediately. But after a couple of minutes doing nothing, I need to wait again that long.
The green bar in the explorer showing as well and I always have to wait until it’s done.
Picture 1: “My Computer” while the network drives are not loadedPicture 2: “My Computer” when the network drives are loaded and I can access themDoes anyone know why this is happening? I went fine before I reinstalled the windows.
Answer: Many people point to Windows caching as the problem. ?You can turn off the caching by changing the registry keys below. ?You can create and run a .reg file with the following contents or manually editing the settings in regedit:
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanWorkstationParameters]”DirectoryCacheLifetime”=dword:0″FileInfoCacheLifetime”=dword:0″FileNotFoundCacheLifetime”=dword:0
And FYI the defaults are:
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanWorkstationParameters]”DirectoryCacheLifetime”=dword:10″FileInfoCacheLifetime”=dword:10″FileNotFoundCacheLifetime”=dword:5
From https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-7/ff686200(v=ws.10)