.

.

Friday, February 25, 2011

A Way to Clear Prefetch On Shutdown

A Way to Clear Prefetch On Shutdown


The Prefetch is a feature of Windows that actually speeds up the boot process. When Windows starts up, certain processes and programs must load. The files needed to start these are stored in the Prefetch folder. Windows automatically looks there for those files. If you clean out your Prefetch, it won’t hurt anything. But your next boot up will take longer, as those files are put back. My best advice is to just forget the Prefetch, and leave that folder alone.

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.

0 comments:

Post a Comment