Enable or Disable NTFS Last Access Time Stamp Updates in Windows 10  

Page 3 of 5 FirstFirst 12345 LastLast

  1. Posts : 68,964
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #20

    Paul Black said:
    Hello @Brink ,

    Good idea. I have amended the code above accordingly.



    Great. If you can post some screenshots for it, I'll get it added to the tut.
      My Computers


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #21

    Brink said:
    Great. If you can post some screenshots for it, I'll get it added to the tut.
    Enable or Disable NTFS Last Access Time Stamp Updates in Windows 10-time-stamp-updates.png

      My Computer


  3. Posts : 68,964
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #22
      My Computers


  4. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #23

    You are VERY welcome.
      My Computer


  5. Posts : 101
    Windows 10 Pro x64 22H2
       #24

    I ran "fsutil behavior set disablelastaccess 1" and rebooted. But now, when I run "fsutil behavior query disablelastaccess", I still get "DisableLastAccess = 1 (User Managed, Enabled)".

    After I run "fsutil behavior set disablelastaccess 0", I get "DisableLastAccess = 0 (User Managed, Disabled)".

    What could be going on here? I don't know whether to trust the 0 / 1 or the "Enabled / Disabled".
      My Computer


  6. Posts : 68,964
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #25

    STRESSED said:
    I ran "fsutil behavior set disablelastaccess 1" and rebooted. But now, when I run "fsutil behavior query disablelastaccess", I still get "DisableLastAccess = 1 (User Managed, Enabled)".

    After I run "fsutil behavior set disablelastaccess 0", I get "DisableLastAccess = 0 (User Managed, Disabled)".

    What could be going on here? I don't know whether to trust the 0 / 1 or the "Enabled / Disabled".
    Hello,

    Just to verify, did you restart the computer after running the command to apply?
      My Computers


  7. Posts : 101
    Windows 10 Pro x64 22H2
       #26

    Yes, I did reboot. When I run "fsutil behavior set disablelastaccess /?" it comes back with:
    Usage: fsutil behavior set disableLastAccess <0-3>

    Values: 0x0 - User Managed, Last Access Updates Enabled
    0x1 - User Managed, Last Access Updates Disabled
    0x2 - System Managed, Last Access Updates Enabled
    0x3 - System Managed, Last Access Updates Disabled

    - When "System Managed" is enabled it allows the system to enable/disable last access time updates based on system policy.
    - If group policy is in effect or this registry key is uninitialized then the "System Managed" state can not be set and is not displayed.
    But when I run "fsutil behavior query disablelastaccess", I still get:
    DisableLastAccess = 0 (User Managed, Disabled)
    0 is supposed to be "User Managed / Enabled" and 1 is supposed to be "User Managed / Disabled", and yet I'm showing a mix of the two.

    My last access date/time stamps are not being updated when I open files, so I guess 0 is the way to disable it--on 20H2, at least.
    Last edited by STRESSED; 01 Jul 2021 at 22:09.
      My Computer


  8. Posts : 68,964
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #27

    STRESSED said:
    Yes, I did reboot. When I run "fsutil behavior set disablelastaccess /?" it comes back with:

    But when I run "fsutil behavior query disablelastaccess", I still get:

    0 is supposed to be "User Managed / Enabled" and 1 is supposed to be "User Managed / Disabled", and yet I'm showing a mix of the two.

    My last access date/time stamps are not being updated when I open files, so I guess 0 is the way to disable it--on 20H2, at least.
    Odd. What does it report if you use option 2 instead to directly change the registry value for it?
      My Computers


  9. Posts : 101
    Windows 10 Pro x64 22H2
       #28

    When I run "fsutil behavior set disablelastaccess 2" I get "DisableLastAccess = 2 (System Managed, Disabled)".
      My Computer


  10. Posts : 68,964
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #29

    STRESSED said:
    When I run "fsutil behavior set disablelastaccess 2" I get "DisableLastAccess = 2 (System Managed, Disabled)".
    At least that is correct and disables it.
      My Computers


 

Tutorial Categories

Enable or Disable NTFS Last Access Time Stamp Updates in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:14.
Find Us




Windows 10 Forums