Registry tweaks related to NT File System (NTFS)
NTFS has few registry entries which depicts how the file system works and what things it keeps in mind every time the file structure is accessed. We can disable few of the features to reduce the ‘overhead’ and hence improving the performance. Where we have hundreds and millions of files to be enumerated, this feature can be an overhead keeping the performance in mind. Few of them are:
NTFSDisableLastAccessUpdate: Disables last accessed timestamp of a file. By default NTFS updates the date and time stamp of the last access on directories whenever it traverses the directory. Go to the following registry and change the value to 1. (DISABLE Last Access Update)
Location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
NValue name: NtfsDisableLastAccessUpdate
Value Type: REG_DWORD
Value Data: 1
InfoCacheLevel: Enables caching for all files if set 10 (hex).
Location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRxSmb\Parameters
Value Name: InfoCacheLevel
Value Data: REG_DWORD
Value Data: 10 (Hexadecimal)
Kaynak
https://www.winplat.net/post/Slow-Enumeration-of-files-and-subfolders-by-Windows-Explorer.aspx