Disable last access time.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 17 Nov 2020 19:44:54 +0200
changeset 2461 1a943cc3f862
parent 2460 d46c13ff4cd9
child 2462 9b3b29e0b467
Disable last access time.
windows-perf.rst
--- a/windows-perf.rst	Sun Nov 15 22:57:57 2020 +0200
+++ b/windows-perf.rst	Tue Nov 17 19:44:54 2020 +0200
@@ -10,30 +10,42 @@
 
 Check status in elevated shell::
 
-  fsutil.exe behavior query disable8dot3
+  fsutil behavior query disable8dot3
 
 Disable 8.3 names on all volumes::
 
-  fsutil.exe 8dot3name set 1
-  fsutil.exe behavior set disable8dot3 1
+  fsutil 8dot3name set 1
+  fsutil behavior set disable8dot3 1
+
+Corresponding registry leaf (1 - disable, 0 - enable)::
+
+  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation
 
 https://support.microsoft.com/en-us/help/121007/how-to-disable-8-3-file-name-creation-on-ntfs-partitions
   How to disable 8.3 file name creation on NTFS partitions.
+https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc959352(v=technet.10)
+  About registry key ``NtfsDisable8dot3NameCreation``.
 
 Disable last access time
 ========================
 
 Check status in elevated shell::
 
-  fsutil.exe behavior query disable8dot3
+  fsutil behavior query disableLastAccess
 
 Disable last access time for all NTFS volumes (``1`` - user setting, ``3`` - system setting)::
 
-  fsutil.exe behavior set disableLastAccess 1
-  fsutil.exe behavior set disableLastAccess 3
+  fsutil behavior set disableLastAccess 1
+  fsutil behavior set disableLastAccess 3
+
+Corresponding registry leaf (1 - disable as user, 3 - disable as system)::
+
+  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisableLastAccessUpdate
 
 https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-behavior
-  Fsutil behavior
+  Docs for ``fsutil behavior``.
+https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc959914(v=technet.10)
+  About registry key ``NtfsDisableLastAccessUpdate``.
 
 Exclude directories for Windows Defender
 ========================================