Tuesday, August 2, 2011

Disable the automatic updating of file access time

When a file is opened then the last access timestamp for the file is updated. This timestamp can be useful for applications that detects, whether certain files have been used recently. If not using such applications, then one might consider disabling the updating of this timestamp, to make file operations quicker.

Configure the following DWORD registry key (Only affects NTFS partitions):

[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Control \FileSystem]
NtfsDisableLastAccessUpdate=1 (Default = 0, Vista Default = 1)
Note the utility fsutil can also be used to change this value:
fsutil behavior set disablelastaccess 1
More Info MS KB Q150355

http://smallvoid.com/article/winnt-ntfs-last-access.html