Open In App

Prefetch Files in Windows

Last Updated : 13 Oct, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

These are the temporary files stored in the System folder name as a prefetch. Prefetch is a memory management feature. The log about the frequently running application on your machine is stored in the prefetch folder. The log is encrypted in Hash Format so that no one can easily decrypt the data of the application. These files can be used to extract timestamp and other resources consumed when the file executes.

Feature And Format Of Prefetch Files

  1. These files are all stored in the ROOT/Windows/Prefetch folder and most of the files have PF extension
  2. For eg: PYTHON_3.6.1-AMD64.EXE-6F01AFF6.pf. The prefetch file for PYTHON_3.6.1-AMD64.EXE would appear as PYTHON_3.6.1-AMD64.EXE-6F01AFF6.pf,
  3. 6F01AFF6 is a hash of the path from where the file was executed. This Path is encrypted with different types of Hashing Functions.
  4. Prefetchcount.py script can be used to uncompressed the prefetch files. Decompressed files  can be easily converted into understandable String format
  5. Maximum number of prefetch files
    1. Windows XP to Windows 7 =128
    2. Windows 8 to Windows 10=1024

      6. On reaching the limit it automatically deletes from the folder.                                                        

How To Check Prefetch Files

Step 1: Press the Windows+R button and search prefetch.

Search Prefetch

Press Window+R Search prefetch

                 

Step 2: C:\Windows\PrefetchThis location folder contains all the prefetch files in your local machine.                                                           

Location Folder Pretch Files

These Files are the Prefetch Files

Information Stored In Prefetch Files

Prefetch files stored all the necessary information regarding the executable application. So, that will help to decrease the booting time of the application. Like cache memory in your machine

  1. Run Count: The total number of times application runs on your machine.
  2. Prefetch Hash: Hash Value /log value generated by the Different hash function depends on the prefetch versions.
  3. Resources Loaded: Extra files loaded along with the prefetch files
  4. Version: Version of the prefetch means how encryption to be done while making prefetch files
  5. Timestamp: The Last time when the files were executed on the system.
  6. Volume Device Path: Volume or logical drive is a single accessible storage area where the file was executed.

Prefetch versions 

The main objective behind to introduce different versions of the prefetch files to increase the stability of the prefetch files:

Some versions are :

  1. 17: Windows XP and Windows 2003
  2. 23: Vista and Windows 7
  3. 26: Windows 8.1
  4. 30: Windows 10

Uses Of Prefetch Files

  1. These files are used to study the behavior of the Application means which application executes automatically or not etc
  2. Prefetch files can be used for forensic analysis of the particular Application.
  3. Analysis of the viruses can be studied with the help of prefetch files.

Pros of Prefetch Files:

  1. Being a utility feature of the window there are very few pros of the prefetch files.
  2. There are many Cleanup tools that automatically delete the prefetch files. This makes the System faster but only once then again after prefetch creates again to do there work.
  3. When the capacity limit of prefetch files reached it automatically delete all the information and prefetch files. Capacity depends upon the operating system of the machine.

Cons Of Prefetch Files

  1. Provide encrypted information on the executable application. So that no one can easily access the information.
  2. Processing Power of the CPU increases as well as decrease the disk read and write speed.
  3. We can change the activity of the prefetch easily 
    1. The EnablePrefetcher value can set to be one of the following:
      • 0 = Disabled
      • 1 = Application launch prefetching enabled
      • 2= Boot prefetching enabled
      • 3 = Applaunch and Boot enabled (Optimal and Default

EnablePrefetcher


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads