When was a file last accessed in Windows 7

When was a file last accessed in Windows

You should note the below and if you have this enabled then you can find the file properties attribute of Last Accessed:

For improved file system performance, Last Access time update is switched off since Windows Vista by default (also, Windows 2008 / 2008 R2, Windows 7). Thus, Last Access time attribute is set upon creating file and not changed afterwards even if file is modified. However, it is possible to enable Last Access time updates if necessary.

To enable updates, open Registry Editor by typing regedit in Search input on Start Menu, locate HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem path entry and change NtfsDisableLastAccessUpdate value data to 0. After this change, the system has to be restarted. Alternatively, run the following command with administrator rights:

enter image description here

fsutil behavior set disablelastaccess 0

source

Right-click on the file and select Properties

enter image description here

From the General tab you will see the Last Accessed attributes

enter image description here


You can right click on the text file and click on Properties, from there, it will tell you when it was last accessed.

Tags:

Events

Viewer