Enable last access time windows 7
The value of the LastAccessTimeUtc property is pre-cached if the current instance of the FileSystemInfo object was returned from any of the following DirectoryInfo methods:. To get the latest value, call the Refresh method. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. File System Info. Please rate your experience Yes No.
Any additional feedback? Namespace: System. IO Assemblies: mscorlib. Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff microsoft. NTFS volumes store a last access timestamp for every file and directory. The NTFS driver automatically updates this timestamp every time a file is accessed, whether for reading or writing.
I also run the cmd "fsutil behavior query DisableLastAccess" and the result is 1 on new version, which means NTFS does not update the last-access timestamp of a file when that file is opened. When review the result of the script above, you can find the "lastaccesstime" is always equal to "CreationTime", which is not true, besides, and "lastaccesstime" is also older than "LastWriteTime".
If there is anything else regarding this issue, please feel free to post back. Sorry, I didn't understand it: "When review the result of the script above, you can find the "lastaccesstime" is always equal to "CreationTime, which is not true ," - why does it NOT true if LastAccessTime does not get updated since Vista as stated in the technet's blog above?
Maybe I have trouble in my statement, in summary, I want to say the lastaccesstime property would not update correctly on the new server like win 8. The second line " and lastaccesstime is also older than "LastWriteTime", if this file is modified, the lastaccesstime should also be updated, it shouldn't older than "LastWriteTime". Office Office Exchange Server. Not an IT pro? Internet Explorer TechCenter. Sign in. United States English. Ask a question. Quick access. Search related threads.
0コメント