December 13, 2007

Improve Windows XP Pro’s NTFS performance by disabling the Accessed timestamp

Date: December 11th, 2007

 

Author: Greg Shultz

 

The New Technology File System (NTFS) is essentially a huge database that keeps track of all the files on your Windows XP Pro hard disk. When you create a file, or edit and then resave that file, the NTFS creates an entry and records the date in the Created or Modified timestamp so you can access the Properties sheet of the file and check the Created or Modified entries later.

 

NTFS also creates and keeps track of another timestamp called Accessed. The timestamp lists the date on which the file was last accessed and whether the file was opened and read or changed and saved. Each time NTFS updates a file’s Properties sheet, an accompanying disk read/write operation occurs. Since the Accessed timestamp does not add much useful information, you may consider the read/write operation incurred to record it wasteful.

 

If you have an application, such as a search tool, that frequently accesses many files for a simple read operation, the operation required to update each file’s Accessed timestamp can drain your system’s performance. Fortunately, you can use disable the Accessed timestamp using the FSUtil command. Here’s how:

 

  1. Open a Command Prompt window.
  2. Type the following command line:

 

FSUTIL behavior set disablelastaccess 1

cialis plus font-family: Verdana” align=”center”> 

If you wish to turn the Accessed attribute back on, simply repeat the command and replace 1 with 0.

 

Note: This tip applies only to Windows XP Professional.

Permalink • Print • 1 Comment • Comment

1 Comment »

December 13, 2007

al said:

XP Home also
It looks like you can do this in XP home version also.

this also works in vista

thanks
thanks very much ,but I didn’t understand the syntax,of
the command , it is different from registry commands.

It isn’t a registry command per se, the syntax is for fsutil only. You can find the Microsoft documentation here: Fsutil subcommands
Enjoy 🙂

It’s even easier with this script — save into notepad and save as .reg
——

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
“NtfsDisableLastAccessUpdate”=dword:00000001

Leave a comment

You must be logged in to post a comment.

Made with WordPress and the Semiologic theme and CMS • Sky Gold skin by Denis de Bernardy