Wednesday, December 21, 2016

Windows does not keep track of last-access time by default

One might wonder why the last-access time never seems to update when files are opened. After all, a file has to be accessed to open its contents.

The reason is that Windows, as of Vista, no longer updates the last-access time by default because that would involve a write every time a file is opened, even if it was just supposed to be a read. If you really want that updating back, you can run this command:

fsutil behavior set DisableLastAccess 0

Based on my Super User answer.

No comments:

Post a Comment