Thursday, March 5, 2009

Trick for Windows XP Faster

A way to clear prefetch on shutdown

  1. create a new text file in the C:\ directory
  2. type "del c:\windows\prefetch\*.* /q" (without he quotes)
  3. save the file as "prefetch.bat"
  4. From the Start menu, select "Run:
  5. Type in "gpedit.msc"
  6. In the window that appears, under the "computer configuration" heading, expand "windows settings"
  7. under "windows settings", select "Scripts (Startup/Shutdown)"
  8. double click "shutdown" from the right window
  9. click "add"
  10. click browse and locate your "prefetch.bat" file
  11. click "open"
  12. click "OK"
  13. click apply or OK to finalize this process.

Now you are done. Every time you shut down or restart your computer, it will run your shutdown script to delete the prefetch files.

Tips to delete prefetch automatically

  • create a new text file
  • type "del c:\windows\prefetch\*.* /q"
  • save the file as "whateverthename.bat"
  • a batch file for deleting prefetch
  • automatically, now it is really automatic

No comments: