当您使用计算机时,您希望它的性能尽可能好。这就是为什么我们喜欢为您提供优化系统性能的技巧。对于这篇文章,我们将禁用和启用NTFS 上次访问(NTFS last access)时间戳。
当您打开NTFS卷上的文件或文件夹的属性时,Windows会向您显示上次在您的计算机上访问此文件或文件夹的时间,如下面的屏幕截图所示。
虽然最后一次访问时间戳是一个简洁的功能,但它可能会占用您的系统资源并导致文件打开速度变慢,尤其是在您使用廉价 PC(budget PC)的情况下。
大多数人从不需要此功能,可能希望禁用它。在接下来的部分中,我将向您展示如何从命令提示符(Command Prompt)禁用上次访问时间戳更新。
启用或禁用NTFS上次访问时间戳更新
按 Windows键并搜索 Command Prompt。从搜索结果中右键单击命令提示符,然后选择(Command Prompt)以管理员身份运行(Run as Administrator)选项。这将以提升的权限启动程序。
我们将探索以下四种在命令提示符(Command Prompt)中管理上次访问时间更新的方法:
- 显示上次时间戳更新的当前状态。
- 启用和禁用用户管理的上次访问时间戳更新。
- 启用和禁用系统管理(System Managed)的上次访问时间戳更新
继续阅读这篇文章,我将解释上述过程并向您展示如何执行它们。
1]显示(Show)上次时间戳更新的当前状态
在禁用或启用上次时间戳更新之前,您需要了解其当前状态。在命令提示符(Command Prompt)窗口中输入以下文本,然后按ENTER键。您也可以复制和粘贴文本。
fsutil behavior query disablelastaccess
上述命令显示了您上次访问时间戳更新的当前状态。
2]启用(Enable)和禁用用户管理的上次访问时间戳更新
检查上次访问时间戳更新的状态后,如果它处于活动状态,您可能希望禁用它,反之亦然。用户管理模式将权力掌握在您手中。
如果您启用或禁用上次访问时间戳更新,它会保持这种状态,并且计算机不会修改设置。
要启用用户管理的上次访问时间戳更新,请使用以下命令:
fsutil behavior query disablelastaccess 0
要禁用用户管理的上次访问时间更新,请运行以下命令:
fsutil behavior query disablelastaccess 1
3]启用(Enable)和禁用系统管理(System Managed)的上次访问时间戳更新
顾名思义,NTFS驱动程序负责在系统管理(System Managed)模式下启用和禁用最后一次访问更新。每次启动计算机时都会安装系统卷(通常是驱动器C )。
在此过程中,如果系统卷的大小小于或等于 128GB , NTFS驱动程序将启用NTFS卷的最后访问更新。(NTFS)或者,如果系统驱动器大于 128GB,系统将禁用上次访问时间戳更新。
要启用系统管理的上次访问时间戳更新,请使用以下命令:
fsutil behavior query disablelastaccess 2
要禁用系统管理的上次访问时间更新,请输入以下命令并运行它:
fsutil behavior query disablelastaccess 3
运行上述任何命令后,退出命令提示符(Command Prompt)并重新启动计算机。
How to Enable or Disable NTFS Last Access Time Stamp Updates
When you use a computer, you want it to perform as wеll as it can get. This is why we lіke to bring you tips for optimizing уour system’s performance. For this post, we’ll disable and enable the NTFS last access time stamp.
When you open the properties of a file or folder on an NTFS volume, Windows shows you the last time this file or folder was accessed on your machine, as you can see from the screenshot below.
While the last access time stamp is a neat feature, it can take a toll on your system resources and cause files to open more slowly, especially if you use a budget PC.
Most people never need this feature and may wish to disable it. In the section that follows, I’ll show you how to disable last access time stamp updates from Command Prompt.
Enable or disable NTFS last access time stamp updates
Press the Windows key and search for Command Prompt. Right-click on Command Prompt from the search results and select the Run as Administrator option. This launches the program with elevated privileges.
We’ll explore the following four ways to manage last access time updates in Command Prompt:
- Show the current status of last time stamp updates.
- Enable and disable User-Managed last access time stamp updates.
- Enable and disable System Managed last access time stamp updates
Continue reading this post as I explain the above processes and show you how to carry them out.
1] Show the current status of last time stamp updates
Before disabling or enabling last time stamp updates, you need to know its current status. Enter the following text into the Command Prompt window and hit the ENTER key. You can also copy and paste the text.
fsutil behavior query disablelastaccess
The above command shows the current status of your last access time stamp updates.
2] Enable and disable User-Managed last access time stamp updates
After checking the status of your last access timestamp updates, you may want to disable it if it’s active and vice versa. The User-Managed mode puts the power in your hands.
If you enable or disable last access timestamp updates, it stays that way, and the computer will not modify the settings.
To enable user-managed last access time stamp updates, use the following command:
fsutil behavior query disablelastaccess 0
To disable user-managed last access time updates, run the command below:
fsutil behavior query disablelastaccess 1
3] Enable and disable System Managed last access time stamp updates
As the name suggests, the NTFS driver is in charge of enabling and disabling the last access updates in the System Managed mode. The system volume (usually drive C) gets mounted whenever you boot your computer.
During this process, the NTFS driver will enable the last access updates for NTFS volumes if the size of your system volume is less than or equal to 128GB. Alternatively, if the system drive is larger than 128GB, the system disables last access time-stamp updates.
To enable System-Managed last access time stamp updates, use the following command:
fsutil behavior query disablelastaccess 2
To disable System-Managed last access time updates, enter the following command, and run it:
fsutil behavior query disablelastaccess 3
After running any of the above commands, exit Command Prompt and restart your machine.